provider: SQL Network Interfaces, error: 26 - 定位指定的服务器/实例时出错
sql2008r2运行时出错这是链接服务器的代码。。。<addname="ConnectionString"connectionString="DataSource=.\...
sql 2008 r2 运行时出错
这是链接服务器的代码。。。
<add name="ConnectionString" connectionString="Data Source=.\sql2008;Initial Catalog=wangshangyinxiangdian;Integrated Security=SSPI;Persist Security Info=False;"/>
<add name="wangshangyinxiangdianConnectionString1" connectionString="Data Source=.\sql2008;Initial Catalog=wangshangyinxiangdian;Integrated Security=SSPI;Persist Security Info=False;" providerName="System.Data.SqlClient"/>
<add name="wangshangyinxiangdianConnectionString2" connectionString="Data Source=.\sql2008;Initial Catalog=wangshangyinxiangdian;Integrated Security=SSPI;Persist Security Info=False;" providerName="System.Data.SqlClient"/>
改成连接本机服务器的代码怎么改?? 展开
这是链接服务器的代码。。。
<add name="ConnectionString" connectionString="Data Source=.\sql2008;Initial Catalog=wangshangyinxiangdian;Integrated Security=SSPI;Persist Security Info=False;"/>
<add name="wangshangyinxiangdianConnectionString1" connectionString="Data Source=.\sql2008;Initial Catalog=wangshangyinxiangdian;Integrated Security=SSPI;Persist Security Info=False;" providerName="System.Data.SqlClient"/>
<add name="wangshangyinxiangdianConnectionString2" connectionString="Data Source=.\sql2008;Initial Catalog=wangshangyinxiangdian;Integrated Security=SSPI;Persist Security Info=False;" providerName="System.Data.SqlClient"/>
改成连接本机服务器的代码怎么改?? 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询