API web server get error: {"message":"an error has occurred"}

in web.config, add:

<system.web>
   <customErrors mode="Off"></customErrors>
</system.web>
and 
<system.webServer>
  <httpErrors errorMode="Detailed" existingResponse="PassThrough"></httpErrors>
</system.webServer>

Comments

Popular posts from this blog

ASP Net API pass parameter frombody

avoid Caching in asp net mvc