Login failed for user 'IIS APPPOOL\ASP.NET v4.0'

后端 未结 30 4775
天命终不由人
天命终不由人 2020-11-22 15:52

I have a web project (C# Asp.Net, EF 4, MS SQL 2008 and IIS 7) and I need to migrate it to IIS 7 locally (at the moment works fine with CASSINI).

Locally in IIS I ha

30条回答
  •  误落风尘
    2020-11-22 16:29

    I hate the ApplicationPoolIdentity. I always set a Windows User Account as the account on AppPools.

    As adrift says, it does sound like a database security issue. So create an NT user account, assign it to the ASP.NET v4.0 AppPool and then grant it permission on the website folder and to the relevant table(s) in SQL.

提交回复
热议问题