ASP.NET Web API - Getting AspNetInitializationExceptionModule after deployment

4

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

c#
asp.net
deployment
asp.net-web-api
asked on Stack Overflow Mar 16, 2012 by Bart

1 Answer

0

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

answered on Stack Overflow Aug 14, 2012 by Adam Baxter

User contributions licensed under CC BY-SA 3.0