Problem connecting to SQL Server# DotNet - 窗口里的风景
y*o
1 楼
我用这个connection string, 不能从我的web application连到SQL Server.
"Data Source=localhost;Initial Catalog=MyWebAPPdb; User Id=usrnm; Password=w
odemima;";
但是可以用usrnm和wodemima从Management Studio用SQL Server Authentication模式成
功登录并浏览MyWebAPPdb数据库的表格,以及做其他操作。
我已经启用了SQL Server Authentication和Windows Authentication两种模式了,缘何
从web application里面还是不能连接成功?
"Data Source=localhost;Initial Catalog=MyWebAPPdb; User Id=usrnm; Password=w
odemima;";
但是可以用usrnm和wodemima从Management Studio用SQL Server Authentication模式成
功登录并浏览MyWebAPPdb数据库的表格,以及做其他操作。
我已经启用了SQL Server Authentication和Windows Authentication两种模式了,缘何
从web application里面还是不能连接成功?