Issue With Sql Aliases attaching to IISExpress
billrob458
Posts: 5 Bronze 2
I have connected to ASP.NET/ IIS Express Web Application and am unable to connect to my sql server using alias. I have confirmed starting the website from inside studio works as expected.
I have also used "osql -S localdb -E" to confirm I can connect to the server.
Here is the error:
[Win32Exception (0x80004005): The network path was not found]
[SqlException (0x80131904): 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)]
Any ideas?
I have also used "osql -S localdb -E" to confirm I can connect to the server.
Here is the error:
[Win32Exception (0x80004005): The network path was not found]
[SqlException (0x80131904): 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)]
Any ideas?