Skip to main content


 

Symptoms


In dev and staging I get this error.

************** Exception Text **************
System.Data.SqlClient.SqlException: 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)

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
 

Diagnoses


Service broker is unable to connect to the DB
 

Resolution

Used Microsoft ODBC tool to verify the connection to the DB and the test was successful. When looking at BrokerManagement.exe there is a connectionString="Data Source=(host server name)"... Changed the connectionString to the correct host server name and resolved the issue.




 
Be the first to reply!

Reply