本文介绍了出现错误:用户未与受信任的SQL Server连接相关联的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,
我已经在IIS上上传了我的网站.我已取消选中属性"->目录服务"中的异常访问.
我在另一台服务器上有数据库,在该服务器上我创建了一个用户"WEUSER"并获得了权限.
我已将此用户名和密码添加到我的连接字符串中.
但我遇到类似
的错误
Hello,
I have upload my web site on IIS. I have unchecked the anoynomous access from the Property->Directory Service.
I have database on the other server, on which i have created one user "WEUSER" and also given the permission.
I have added this username and password into my connection string.
But I m getting error like
System.Data.SqlClient.SqlException: Login failed for user : The user is not associated with a trusted SQL Server connection.
我也尝试过使用NT/NETWORK SERVICE.
请帮忙.
在此先谢谢您.
I have tried using NT/NETWORK SERVICE also.
Please help.
Thanks in advance.
推荐答案
这篇关于出现错误:用户未与受信任的SQL Server连接相关联的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!