ASP.Net error: “The identity of application pool is invalid”

前端 未结 16 1513
青春惊慌失措
青春惊慌失措 2021-02-02 06:27

My ASP.Net web service cannot run because the application pool is unable to start due to the identity crisis it\'s experiencing.

The user I\'m using in the app pool is a

16条回答
  •  说谎
    说谎 (楼主)
    2021-02-02 07:14

    Another way this can happen is if you have CGI scripts. By default, CGI scripts run as the Windows user accessing the web site. In order to run your CGI scripts under a specific account, account you need an extra step:

    IIS 7+

    Go to the CGI section in your web site's config in inetmgr.exe. Set impersonation to false.

    IIS 6

    Run these commands as an administrator:

    cd \inetpub\adminscripts
    cscript.exe Adsutil.vbs SET W3Svc/CreateProcessAsUser false
    

    Next step: get your IT department to upgrade all of your WS2003 machines...

提交回复
热议问题