How to show the details of Error 500 on web server.

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


  1. 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?

  2. 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. 🙂

  3. 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.

  4. 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

  5. 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

  6. @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.

  7. 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

  8. 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!

  9. Simply want to say your article is as surprising.

    The clarity for your submit is simply excellent and i can think you’re a professional in this subject. Fine with your permission let me to seize your RSS feed to keep up to date with drawing close post. Thank you a million and please keep up the rewarding work.

  10. Hello There. I discovered your weblog the use of msn.
    This is a really smartly written article. I’ll make sure to bookmark it and return to
    learn extra of your helpful info. Thanks for the post.
    I’ll definitely comeback.

  11. An interesting discussion is worth comment. I
    do believe that you ought to write more about this subject matter, it might not be a
    taboo matter but typically folks don’t talk about such issues.
    To the next! Cheers!!

  12. Have you ever thought about adding a little bit more than just your
    articles? I mean, what you say is important and
    all. Nevertheless just imagine if you added some great pictures or videos to give your
    posts more, “pop”! Your content is excellent but with images and video clips, this website could definitely be one of the greatest in its field.
    Great blog!

  13. buy albendazole online consultation us
    no prescription desyrel online moneygram no rx alaska
    silagra codeine caffeine.
    where to buy prednisone in internet store without script hawaii
    comprar seroflo fiar donde
    buy topiramate online american express without script wisconsin
    silagra fed ex cod
    where to buy estrace vaginal cream online store saturday delivery austria
    low price atomoxetine online check without prescription california
    buy nitrazepam alprazolam
    Strep throat treatment how much silagra
    cheap lortab without prescription
    no script retin-a tretinoin medicine tablets
    betachron-er 20mg buy inderal 60mg from mexico study zu kaufen
    topiramate 50mg order online arkansas sulfa price topiramato
    desyrel rezeptfrei legal otc armor buy t4
    clavamel 625mg mrsa augmentin resistant
    fedex bactrim
    celexa side affects memory loss
    uno bestellen triamterene 50
    order cheap albendazole very buy without prescription
    low cost fucidin fucithalmic priority mail germany
    without prescription retin-a american express visa
    i want stromectol mastercard store uk
    without prescription stendra-priligy in internet cost
    to buy paracetamol in internet tabs saturday shipping usa
    want to buy renova discount mastercard
    buy gerneric estrace
    low price topamac topiramate wire transfer paypal
    abuse of atomoxetine rx overnight international
    co pays augmentin pharmacy denver sales global clavamox 375mg
    purchase inderal 60mg store free shipping
    buy amoxil singapore
    manager levofloxacin sales tts-1 price cost for 600mg esophagitis
    need finpecia online wire transfer no doctors minnesota
    nucynta ibuprofen interactions
    buy finpecia online diners club fast maine
    best price lipothin in internet check without prescription massachusetts
    can i buy proventil in internet pill no doctors delaware
    how to get augmentin online rx fast delivery alabama

  14. Write more, thats all I have to say. Literally, it seems as though you relied on the video
    to make your point. You clearly know what youre talking about, why
    throw away your intelligence on just posting videos to your blog
    when you could be giving us something enlightening to read?

Leave a Reply