SQLSever2005数据库连接问题
连接远程数据库时提示:
Login failed for user ''. The user is not associated with a trusted SQL Server connection
连接字符串
<add name="MSConn1" connectionString="Data Source=125.67.67.XXX,1234;Integrated
Security=True;database=webnotesms;uid=sa;pwd=s******s; " providerName="System.Data.SqlClient"/>
<add name="SQLConnString1" connectionString="Data Source=125.67.67.XXX,1234;Integrated
Security=True;database=Webnotes;uid=sa;pwd=s******s; " providerName="System.Data.SqlClient"/>
用户名sa和密码是可以用management studio连接并访问的
但放在程序里 就提示上面的错误
Login failed for user ''. The user is not associated with a trusted SQL Server connection
''里面都没有用户名.....