【发布时间】:2014-12-23 22:06:09
【问题描述】:
我正在关注http://msdn.microsoft.com/en-us/library/ff647294.aspx 向 WCF 添加身份验证。我的 SQL Server 与开发服务器位于不同的机器上。在第 1 步中,我没有使用 SQLExpress,而是使用 SQL Server 2012。当我进入第 8 步:在用户存储中创建用户时,在 ASP.net 网站管理工具的安全选项卡下,我看到以下消息:
There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store.
The following message may help in diagnosing the problem: Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.
所以看起来设置 Windows 身份验证是问题所在。我不确定在多步骤过程中我必须修改哪些内容才能将身份验证添加到我的 WCF。任何帮助将不胜感激。
【问题讨论】:
标签: sql-server wcf authentication