I'm new to Azure. Does anybody know how get detailed error message on website deployed to Azure web?
I added SimpleMembership
to website and now Registration and Login (Post) are showing
Sorry, an error occurred while processing your request.
I'm connecting to DB on my home computer (no problem with connection).
LogFiles
folder on azure ftp server has some files but I don't see how to use this information. I wish I can get YellowScreen on azure...
That's pretty much it. Now you can simply visit your application using the URL you can see on your Azure dashboard. On the portal, click on “Log Stream” immediately below “App Services log” and you'll see the log messages in real time.
Diagnostic logs provide insights on the operations that were performed within a resource. With Microsoft Azure's diagnostic logs, you can export basic usage metrics from content delivery network (CDN) endpoints to a variety of sources.
You have two options:
First, you can turn off custom errors in your web config. This is the quick-and-dirty approach but it will at least get you the information you are looking for. Just be sure to turn custom errors back on when you are done. NOTE: This method will display your stacktrace to the entire world.
<configuration> <system.web> <customErrors mode="Off" /> </system.web> </configuration>
Second, you can remote desktop into your deployed machine, go to IIS Manager, and Browse to your site. Once you are there, reproduce the error and you will get the yellow screen of death you are looking for. For this to work, you will have to Enable Detailed Errors
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