Win32Exception: The network path was not found while establishing a connection to SQL Server

If you receive the errors "The network path was not found" and "A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible", the Microsoft SQL Server connection string may be incorrect. Check the web.config file and ensure that the server name does not have curly-brackets around it. Also, specify the instance like so:


Additionally, the User Id and password should not have curly braces around them. Instead, they should appear like so:

User Id=user; Password=mypassword1;
Comments are closed