I deployed my MVC-3 application on windows Azure. But now when I am requesting it through staging url
it shows me (Sorry, an error occurred while processing your request.). Now I want to see the full error message, by default it is hiding that because of some security reasons. I know that we can do this through web.config file. But how?
Details: To enable the details of this specific error message to be viewable on remote >machines, please create a tag within a "web. config" configuration file >located in the root directory of the current web application. This tag >should then have its "mode" attribute set to "Off".
To Enable detailed IIS Error messages:Open Internet Information Services (IIS) Manager. Select "Error Pages" Select "Edit Feature Settings" Select "Detailed Errors"
Not sure if it'll work in your scenario, but try adding the following to your web.config
under <system.web>
:
<system.web> <customErrors mode="Off" /> ... </system.web>
works in my instance.
also see:
CustomErrors mode="Off"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With