I run into Error 500 quite often while deploying web applications to web host server. While it’s good to provide a clean, nicely layout page to address the visitors upon error, but this page does not help developer in solving the problem.
To dive into the root of the problem and view the source of the error, we need turn on the “scriptErrorSentToBrowser". Paste the web.config code below to show the details of Error 500 and find out the root cause of your error. In case your web application is hosted in sub-domain or not in the root directory, paste also the web.config code above in the root directory.
1 <system.webServer> 2 <asp scriptErrorSentToBrowser="true"/> 3 <httpErrors errorMode="Detailed"/> 4 </system.webServer>
Happy debugging and Good Luck!
I don’t get paid for writing blog posts. Your “Votes” and “Like” is my only motivation, so please “Like” it if you found this information useful. Cheers!!! Check out what other says about this post by clicking at the title of this post. Wondering what I’m up to recently? Check out mySoftinn.com
Tagged: Details error in ASP.NET, Error 500, GoDaddy



Make sure the CustomError is turned off to avoid overrride.Below is the code to turn off CustomError.
[...] Older » [...]
godaddy support is very bad, their hosting is fullish. very bad company
Hello Johni,
I’m looking for other good options as well, any suggestions?
Thanks.
I have followed your suggestion by adding the information to the web.config file; however, I am still getting a generic 500 error from Godady – I have placed the web.config file in both the root and the subdirectory for DotNetNuke. Also, any suggestions on putting DotNetNuke in the root folder for a Godaddy hosting account?
Thanks
Hello Bart,
If you are using multiple domains in GoDaddy, you need to configure the same at the ‘root’ (I mean root of where you divide your domain directory) as well.
You can now host DNN at the root folder with the latest release of DNN. Download the installer from DNN website. Haven’t tried it myself, but I saw the Release Notes claiming they have fix this.
All the best.
Thank you so much. It really helped.
Best Regards,
Amit Tiwari
You are the BEST BEST BEST! This has been driving me crazy for WEEKS! Thanks so much!
I don’t get it. It doesn’t work for me.
THANK YOU!!!
I am having the exact same problem with GoDaddy shared Windows hosting on IIS7. They’ve told me that this web.config code will turn off the custom 500 error screen, but it isn’t working. Is there something in this code that isn’t right? This is driving me nuts and they’re completely useless when it comes to providing support on their own systems. Seems that they just tell you over and over what’s wrong instead of what you need to do to fix it.
my code didn’t appear in my post above….here’s the link to the code they pointed me to: http://community.godaddy.com/help/article/3430?locale=en&ci=46061
@cory. May i know what you wanted to do exactly? you wanted to turn the custom error on or off? The code sample i post above help turn on the custom error. Hope this heps. Thanks.
I have godaddy hosting plan in which multiple domains can be created. In one such domain (not primary) I have hosting my .net app. I am getting error 500
In the web.config file I have included
@sankari, assuming yuu are using the unlimited windows plan. You need to make the above changes at your root directory too (the root that host your primary domain).
have godaddy hosting plan in which multiple domains can be created. In one such domain (not primary) I have hosting my .net app. I am getting error 500
In the web.config file I have included
but still i get error 500
@sankiri, you need to update 2 web.config files – one at your current app doamin and another one at the root. You should be able to get the error details.
I placed web.config file in primary domain folder.
I removed the web.config file and tried with a simple aspx file. It works out. Then I added web.config file, now error 500 pops up.
I placed the config file in root folder. that domain turns error 500
so i had to remove it.
@sankari, try compare your working web.config file with the non-working. Check for difference. You should be able to identify the culprit.
The code above is only meant to show the details of the error but not to remove the error.
THANK YOU!!!!!
[...] How to show the details of Error 500 on web server. Compartelo en tus redes Sociales TweetEntradas relacionadas:4 enero 2010 — Como [...]
I did not see it and I did not feel it because I was looking for my cigarette and lighter.
One of the problems is that there are vested financial interests.
There is yet to have any conclusive evidence that cell phones damage the human brain cells, but the research suggests there was good reason to believe that they could have the same effect on
humans.
Hey there would you mind stating which blog platform you’re using? I’m going to start my own blog in the near future but I’m having a hard time making a decision between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your layout seems different then most blogs and I’m
looking for something completely unique. P.S My apologies for getting
off-topic but I had to ask!