Web.config
<add key= "sdn " value= "server=192.168.0.14;database=youcai01;uid=sa;pwd= "> </add>
问题:
我采用VSS2005想在主机上共用一个数据,可是总是联系统不上数据!!
系统为:WINDOW2003 数据库为:SQL2000
WHY!!!!!!!
------解决方案--------------------------------------------------------
参考:
<add key= "data " value= "data source=192.168.0.14;initial catalog=youcai01;persist security info=False;password=;user id=sa;workstation id=localhost;packet size=4096 "> </add>
------解决方案--------------------------------------------------------
如果是SQL2000
您试试把server换成Data Source
database换成Initial Catalog
------解决方案--------------------------------------------------------
除了上面的,检查SQL2000sp4\防火墙