SQL server was not found or not accessible

 after restarting all my form server i am unable to connect site. before is working fine, i wonder and i check Event Viewer then i find below log.
 
"Unknown SQL Exception xxx occurred. Additional error information from SQL Server is included below.

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
"

 i realize and assume sql server service was stopped or machine not in network, but all are enabled. then i ping db machine ip in command prompt, is running. then after i ping server db machine name but i can't able to connect. then again i check all my form servers and i find domain control server was not in network[unfortunately] then i add domain control server to network and now site works fine.

Comments

Popular posts from this blog

PAGE NOT FOUND ERROR PAGE IN SHAREPOINT 2013

Send Mails in SharePoint Event Receiver

Get Host site list items in SharePoint Hosted App.