我将我的应用程序部署到iis.Its工作正常时,我给出了本地数据库的连接字符串
<add name="WPSConnectionString" connectionString="server=UXTSRV001\SQL2008;
database=SupportPortal;Max Pool Size=10;uid=sa;pwd=password@123;"
providerName="System.Data.SqlClient" /
但是当我给出远程服务器的连接字符串时,我收到了错误
System.ComponentModel.Win32Exception: The network path was not found
连接字符串如下
<add name="WPSConnectionString" connectionString="server=MYSERVER;
database=UISupportPortal;Max Pool Size=10;uid=MYUSER;pwd=PASSWORD;"
providerName="System.Data.SqlClient" />