how to fix sharepoint 2010 stop working after changing the server name. After changed sharepoint server name and SQL instance name changed my SP not running. Showing the error."Cannot connect to the configuration database"

how to resolve these issues? Please guide me or share any reference link. Thanks in advance.

2 Answers 2


To troubleshoot the issue, check things below:

  1. Check if you have run the powershell command below:

    Rename-SPServer -Identity OriginalServerName -Name NewServerName


stsadm -o renameserver -oldservername <oldServerName> -newservername <newServerName>  
#putting in the actual name of your old SQL server and new SQL server
  1. Reset IIS.

More reference:


And if you want to rename the SQL server name, you could refer to the article below.

Rename a Computer that Hosts a Stand-Alone Instance of SQL Server.

There is a similar post:



Can you try these steps

1) Go to Services windows using services.msc

2) Select your service to start

3) Right-click->Properties->LogOn and then check "local system account"

4) Start or Restart your service

and hope it will works

If it didn't work please refer these links once



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.