WebApi's {“message”:“an error has occurred”} on IIS7, not in IIS Express

后端 未结 9 1961
滥情空心
滥情空心 2020-12-12 10:36

I\'m working with ASP.NET MVC 4 WebApi and am having a lot of fun with it running it on my local computer on IIS Express. I\'ve configured IIS Express to serve remote machi

9条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-12 11:12

    So i tried all the suggested solutions to no avail. All i did was to set run the app from the server and it displayed the error in full, this should have worked when i set customErrors mode to false but it didn't. The moment i browsed the API form the server i was able to see the problem.

提交回复
热议问题