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

后端 未结 30 4738
天命终不由人
天命终不由人 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-22 16:08

    I did exactly as @JeffOgata said but I got the error:

    Windows NT user or group 'IIS APPPOOL\ASP.NET v4.0' not found. Check the name again. (Microsoft SQL Server, Error: 15401)
    

    I looked at my error message again and it said Login failed for user 'IIS APPPOOL\DefaultAppPool'.

    After adding a user named IIS APPPOOL\DefaultAppPool everything worked.

提交回复
热议问题