【问题标题】:Integrated Security Connection Issue集成安全连接问题
【发布时间】:2012-11-28 15:59:28
【问题描述】:

我有一个已部署到生产环境的 asp.net 应用程序。我正在使用集成安全作为我的连接的一部分,它在生产中超时。超时是由于无法连接到数据库。我登录失败。我正在使用 Windows 身份验证,我们正在使用 IIS6。但是,在我的开发机器上它运行良好。

这是我的连接字符串:add name="blah" connectionString"Data Source=serverName; Initial Catalog=Blah;Integrated Security=True;" providerName="System.Data.SqlClient"

非常感谢任何反馈。谢谢。

【问题讨论】:

  • 你不是说Integrated Security吗?
  • 是的,集成安全性。谢谢。

标签: asp.net sql iis


【解决方案1】:

您需要检查 IIS 中的 AppPool 是以哪个用户身份运行的。该用户需要 SQL Server 中的权限。出于安全原因,我建议创建特定用户。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-08-03
    • 1970-01-01
    • 2012-02-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-03-22
    相关资源
    最近更新 更多