5

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

3
  • Did you figure this out? Commented Apr 20, 2012 at 0:47
  • Can you post some info from the event viewer?? Also do you have the server with the latest window update? Some weird erros are fixed by them. Commented Aug 6, 2012 at 17:42
  • Web API is part of asp.net 4.5, you sure you have 4.5 installed correctly and it's isapi is registered? Commented Aug 6, 2012 at 18:55

1 Answer 1

0

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

Sign up to request clarification or add additional context in comments.

1 Comment

Actually, the last comment on that page points out that it didn't work.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.