Ever wondered where does Sharepoint saves its configuration database connection information? Sharepoint 2007 saves its connection string for configuration database in registry and you can change it easily if you have moved your configuration database from one server to another. Following is the registry path
My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Secure\ConfigDb
and our required key is dsn

I think you mean that it’s stored in:
My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Secure\ConfigDB
Comment by Dan Usher — August 1, 2008 @ 4:55 am |
You are right Dan. Thanks for spotting the mistake.
Comment by namwar — August 1, 2008 @ 7:59 am |
Thanks… Rizvi… It helped me a lot.
Comment by Habeeb — July 16, 2009 @ 6:33 pm |