[英]Connecting with SQL Server authentication
通过Sql Server的Management Studio进行连接可以工作,但是不会通过web.config连接字符串进行连接。
<add name="cnString" connectionString="Data Source=(local); Initial Catalog=MyDB; User ID=andrewbb; Password=myPassword;" providerName="System.Data.SqlClient" />
它返回:用户'andrewbb'的登录失败。 原因:密码与提供的登录名不匹配。 [客户:]
密码和用户ID均为小写。 有想法吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.