Registry setting for Sharepoint Configuration Database connection string

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

Share

7 thoughts on “Registry setting for Sharepoint Configuration Database connection string”

  1. 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

  2. Thanks… Namwar… It helped me in Migrating the configuration database without requiring to run the Sharepoint Config wizard

  3. We currently upgraded our Windows 2003 DC’s to Windows 2008 after demoting the Windows 2003 DC’s we are now getting an error with our Windows 2003 SharePoint Server MOSS 2007 “Cannot connect to the configuration database.” Help!!!

  4. We currently upgraded our Windows 2003 DC’s to Windows 2008 after demoting the Windows 2003 DC’s we are now getting an error with our Windows 2003 SharePoint Server MOSS 2007 “Cannot connect to the configuration database.” Help!!!

Comments are closed.