I have a Provider Hosted App in SharePoint online, and the app website is hosted Azure. When I'm browsing the site getting the below run time error.

enter image description here

enter image description here

I made the custom error mode off in web.config but still I'm unable to see the detailed error. Can any one help me on how to see the detailed error?

1 Answer 1


Try to add the following to the web.config for your site:


You could also enable web server logging in the Azure portal for any clues:


  • Thanks for your response. As suggested added <compilation debug="true" /> and also enable web server logging. Still not getting any detailed error info. It's working intermittently, some time page loads and some time server/error coming. Any further input on this kind of issue?
    – taruki_MS
    Dec 3, 2020 at 9:40

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.