Friday, 15 February 2013

Can applications hosted in IIS Express utilize SQL Server aliases? -


I have a web-API project that is configured with a connection string that contains data for the alias defined in SQL Server The source set configures the manager. The server is running fine when it launches through Visual Studio 2013, but when it launches as a separate process by using% PROGRAMFILES% \ IIS Express \ iisexpress.exe, it fails to connect and Eventually with error:

System ComponentModel.Win32Exception (0x80004005): Network path not found

The procedure works as expected if the connection string was modified to specify the actual server go (Eg local host)

I searched the question asked on a redgate forum, which indicates that at least one other person has also met with this issue.

No comments:

Post a Comment