ASP.NET Web API - Getting AspNetInitializationExceptionModule after Deployment

I wrote a REST service using the ASP.NET Web API

Ive also sets the copy local property for libraries below true.

System.Web.Mvc System.Web.Routing System.Web.Abstractions

I deployed it using the Visual Studio visualization tool via FTP to my hosting account.

However, when I open this service in a browser, I get the following error:

** HTTP Error 500.0 - Internal Server Error The page cannot be displayed because an internal server error has occurred.

AspNetInitializationExceptionModule Module

BeginRequest Notification

StaticFile Handler

Error Code 0x00000000 **

Do you have any suggestions on what might be wrong? I can’t solve it myself yet, and it really blocks me.

Hi

+4
source share
1 answer

http://forums.iis.net/t/1159785.aspx it seems that you need to run aspnet_regiis -i as administrator to fix this.

0
source

Source: https://habr.com/ru/post/1401887/


All Articles