I wrote REST service using ASP.NET Web API
I’ve also set “copy local” property of the below libraries to true.
System.Web.Mvc System.Web.Routing System.Web.Abstractions
I deployed it using visual studio publish tool through FTP to my hosting account.
However, when I open this service in 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.
Module AspNetInitializationExceptionModule
Notification BeginRequest
Handler StaticFile
Error Code 0x00000000**
Would you have any suggestions what may be wrong? I cannot solve it on my own so far and it really blocks me.
Greetings
http://forums.iis.net/t/1159785.aspx seems to suggest you need to run aspnet_regiis -i as an administrator to fix this.
User contributions licensed under CC BY-SA 3.0