Deploying website: 500 - Internal server error

后端 未结 22 2227
情深已故
情深已故 2020-11-21 23:30

I am trying to deploy an ASP.NET application. I have deployed the site to IIS, but when visiting it with the browser, it shows me this:

Server Error

22条回答
  •  旧时难觅i
    2020-11-22 00:06

    If you are using IIS 8.5 it may be that you need to change the ApplicationPool ID setting from ApplicationPoolId to NetworkService

    Right click the Application Pool in question, click on "Advanced Settings" and then scroll down to ID - it will probably be set to ApplicationPoolIdentity. Click the button (..) and select NetworkService from the dropdown list instead.

    Also make sure that if it is a .NET 2.0 application that you are not referencing the 4.0 framework in your App Pool.

提交回复
热议问题