.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Cannot connect to a configuration database after renaming Windows 7 computer

Posted By:      Posted Date: September 29, 2010    Points: 0   Category :SharePoint

I have just recently installed a standalone instance of SharePoint 2010 on Windows 7 64-bit.  Everything was working fine, however, as part of joining my computer to the domain, my computer was renamed.  Now that the computer has been renamed, I am no longer able to connect to my locally installed SharePoint instance.  I receive an error message stating "Cannot connect to the configuration database."

I found this article on renaming a server for SharePoint Foundation: http://technet.microsoft.com/en-us/library/cc288510.aspx.  However, it seems like the article is assuming that the rename operation occurred while SharePoint was still running.  However, I am running SharePoint Portal Server 2010 and now that I cannot connect to the configuration database, I cannot make any alterations to the SharePoint instance at all.

In addition, my instance of SQL Server as well as the standalone SharePoint instance was installed prior to the computer rename.  What are the steps that are required to address this situation?


View Complete Post

More Related Resource Links

Cannot connect to the configuration database.



when i open my central administation i get this error:

Cannot connect to the configuration database


plz help?

cannot connect to the configuration database


Hi All,

Recently I have migrated my SharePoint BackEnd (Database) Server to new hard drive. The reason of migration was to deploy and configure real time database replication by Symantec Veritas. After migration activity I was getting following error message

" cannot connect to the configuration database ".

But when I execute following steps, this errors message gone and everything got fine

1. Enable Named Pipe from SQL Server Configuration Manager > Protocols for MSSQLSERVER

2. Restart  SQL Server (MSSQLSERVER) service (Note: This service was already running and status was set to automatic ) and

3. Start SharePoint Configuration Wizard  

Now I need to know why every time I have to restart this service? When I turned on my sharepoint server machines in the moring I have to restart this service ( SQL Server (MSSQLSERVER) otherwise same error message appears (cannot connect to the configuration database). After restarting this service everything gets normal.

Any help in this regard will be greatly appreciated.


Cannot connect to the configuration database

After Installing Sharepoint 2010 i get "Cannot Connect to the Config Database" error. Im guessing this is a account access issue but i cant find anything detailing about it or what access is required? Anyone seen this? Cheers, Todd

Cannot connect to the configuration database after updating SQL SP3

hi, We're using WSS 3.0 with SQLExpress 2005. Because Symantec Backup Exec 2010 also install on this server, so I have to update to SQL Service Pack 3. But after updated to sql service pack 3 and installed Backup Exec 2010, I cannot connect to sharepoint. When I access to Central Administration, an error appears: "Cannot connect to the configuration database" I followed this instruction: http://support.microsoft.com/kb/823287 but the problem still persists. Does anyone know how to solve this problem? Thanks

failed to create configuration database on Sharepoint 2010 beta install under Windows 7

sharepoint configuration wizard at final step issued message as follows:

failed to create the configuration database.

an exception of type system.io.filenotfoundexception ws thrown.  additional exception informaion. could not load file or assemble 'microsoft.identity.model. version=,culture=neutral, publickeytoken=31bf3856ad364e35' or one of it's dependencies. the system cannot find the file specified.

the only option was to 'finish' the wizard and exit without a successful install.

can anyone help me with diagnosing this problem.

i am running windows 7 on a dell machine and installed all the software requirements for sharepoint install. with the exception of a hotfix for sql server which when i followed the lin appeared to be updated to a more recently posted hotfix.  i downloaded this and installed successfully.


503 Service Error and Cannot connect to configuration database.


We have a brand new installation of Windows Server 2008 R2, SQL Server 2008 R2, and SharePoint 2010, and configuration of SharePoint 2010 at end of installation.

So far after all of this was installed the only thing we've accomplished so far is this:

Accessing the website:  503 Service Unavailable.
Accessing admin site:  503 Service Unavailable and/or Cannot connect to configuation database.

I've installed teh recommended hotfixes.  I've rebooted.  I've reconfigured to ensure it was hitting the right database and everything else.  Googled and searched here, ALL to no avail.

Suggestions?  I'm at my wits end and won't spend another second on what, but all appearances, is turning out to be a crappy product that our company spent thousands on.  I've had better luck (100% success) running just the services.


Sharepoint 3.0 "Cannot connect to configuration database"

Hey guys, I am getting an error when i try and hit our sharepoint site. I get "cannot connect to configuration database" Can anyone please help me with this?

Dreaded "Cannot connect to the configuration database" error in WSS 3.0 after MS updates yesterday (


I know this has been a common issue in the past after updates, patches, SPs etc. Tried several of the online "cures" no luck. I've got a standalone instance of WSS 3.0. Anyone else with this issue after yesterday's updates? If so, any luck?


Update: ran WSS 3.0 configuration wizard, held my breath, and voila it worked!

Cannot connect to the configuration database - after IIS reset or machine reboot


After an IIS reset or rebooting the machine.  If I then open up a sharepoint website the message is Cannot connect to the configuration database. as detailed below


Server Error in '/' Application.

Cannot connect to the configuration database.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: Microsoft.SharePoint.WebPartPages.WebPartPageUserException: Cannot connect to the configuration database.

Source Error:

WSS 3.0 Error "Cannot Connect to the Configuration Database"


I tried re-running the configuration Wizard to no avail.  I can't even get to the Central Admin page.  When running the config wizard it tells me that it can't connect to the farm (it's a standalone install) and to disconnect from the farm to continue.  I disconnected from the farm and now it says that it can't get to the config database. 

Running psconfig -cmd upgrade -inplace b2b  and I get this error message:

No connection string to a WSS configuration database detected. 

I'm at a loss. 

Adding an SP 2010 server to an existing farm. "Failed to connect to the configuration database." dur


I have an existing sp 2010 enterprise server hosting websites and central administration.  I have a seperate sql 2008 r2 server holding the databases.  My goal is to setup another sp 2010 enterprise server to provide redundancy for the websites and central admin.  I believe I am able to accomplish this by adding another web front end to the farm.  On the second server, I install sp 2010, run the config wizard and connect to the config database located on the sql server, however, I am interrupted at step 3 when I am notified of the following:

Failed to connect to the configuration database.
An exception of type System.InvalidOperationException was thrown.  Additional exception information: There was an error encrypting or decrypting credentials. Either a credential update is currently being performed, or you must update the farm account credentials on this server before you can perform this task.
System.InvalidOperationException: There was an error encrypting or decrypting credentials. Either a credential update is currently being performed, or you must update the farm account credentials on this server before you can perform this task.
   at Microsoft.SharePoint.Administration.SPEncryptedString.CheckCredentialLock()
   at Microsoft.SharePoint.Administration.SPManagedAccount.Deploy(SPApplicat

Cannot Connect To Server From XP Computer To Windows 7 Computer


I have a development machine that is Windows 7 x64. I have a client computer that is Windows XP SP3. I have deployed a ClickOnce .NET application that uses SQL Server 2008 (installed on development machine) as it's data access. No matter what I try I cannot get the Windows XP computer to connect to the SQL Server.

Relevant information:

  • Firewall is completely shut off on the Windows 7 machine
  • The SQL Server instance is a named instance
  • I have modified the instance to accept TCP Connections via SQL Server Configuration Manager > Protocols For [named instance] > TCP/IP > Enabled
  • I have created a secure login using SQL Server authentication for the connection string
  • The SQL Server instance is set up for "SQL Server and Windows Authentication Mode"
  • Development computer is setup to allow network discovery
  • SQL Server is not installed on client computer (because it doesn't need to be - correct?)
  • Instance is configured to allow remote connections

Despite this I get a "Error: 26 - Error Locating Server/Instance Specified." I can't figure this out...

What do I need to do so that my development computer can host a named SQL Server instance that other computers on the network can connect to?

cannot connect to configuration database



  i installed sharepoint 2010 foundation on a vm but i later realized that the admin login to the VM had expired so i reset it.


On logging in , i got an error which had something to do with 'cannot connect to configuration database'.

could my admin password change have anything to do with it and how can i rectify it?

Error 26 while trying to Connect to a SQLExpress 2005 database on a remote computer


I have installed SQL Express 2005 on two computers networked and running windows XP.  I've copied the database from the first computer to the second and run queries on both to show that both computers have an active database that is up and running.  Now I am trying to use the Sql Server Management Studio Express (SSMSE) on the first machine to establish contact with the second machine.  In order to have the two machines communicate I've configured the SQL Server on the second machine as follows:

Under the protocols for the SQL Server 2005 Network Configuration I've enabled the TCP/IP pipes and set the TCP/Dynamic ports to 1032 (when I ran netstat -a it indicated that this was an active connection which I think this means it is available - though it says that the port has a Foreign Address and it State is listening).  As an aside the port 1433 was not among the active connections.

Both the SQLServer and the SQLServer browser are running (which presumably means they are both enabled).

I've run the surface Area Configuration For Services and Connections Tool to Set the SQLExpress Remote connections for Local and remote connections using TCP/IP and named pipes.

The Client Protocols for the SQL Native Client Configuration is stillset so that the default port is 1433. 

When I look at the most recent

Not possible to connect to SQL Server CE 3.5 SP2 database from Windows 7 64bit SP1


I have an add-in (.dll), build in VB 2008 express, with a connection to an .sdf file.

I have installed SQL Server CE 3.5 SP2. The connection to the database works fine on my 32bit system (Windows XP). At work I have installed the same on my 64bit Windows 7 system (incl. the 64bit SSCE) and it works fine too.

Now my problem: I have installed the same on another computer with Windows 7 64 bit and the connection fails!

The difference between the both computers that I've found is that the computer that gives problems has windows 7 with SP1 and framework 4 is installed.

Who knows how I can solve this problem?


Reading and Writing Images From a Windows Mobile Database using UltraLite 10(C#)

Periodically I get a request for information on how to read and write binary data to a database running on Windows Mobile. If you search the Internet you can typically find examples that are available on Windows Desktops or allow you to read and write to a local file system. The problem is that it can take a bit of work to get this code to work on Windows Mobile accessing a database.

Ultimately you might be asking, why would I want to store and image in a database? Well in an environment where you synchronizing data between a local mobile database and a consolidated (central) database this can be extremely useful. Imagine if an insurance adjuster went to an accident scene, took a picture of a damaged car, loaded it into his Windows Mobile database and then replicated that image up to the Insurance headquarters for approval. All of this could be done in a very short period of time when using images in the database. Another good example might be a doctor who was waiting for a patient chart to become available. If you could store the image in a database this chart could be sent down to the doctor's device once it became available.

For this article I am not going to get into how to synchronize the images to and from a remote and central database as this is typically fairly straightforward when using a data synchronization technologies like MobiLink

How to backup SMS from windows mobile Pocket PC to computer

How to backup SMS from windows mobile Pocket PC to computer

Many Windows Mobile Pocket PC Phone users could not backup their SMS to txt file or view on computer. I found this software offers a SMS Messages backup solution to Backup all SMS messages for Windows Mobile Phones onto computer and keep them safe. Here is the user's guide:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend