Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8220533
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T13:33:06+00:00 2026-06-07T13:33:06+00:00

If you publish an ASP.NET app that has an error in the web.config file,

  • 0

If you publish an ASP.NET app that has an error in the web.config file, ASP.NET won’t give you a detailed error message because the app hasn’t loaded yet. IIS gives a generic yellow ASP.NET error message, again because the app hasn’t loaded, so the debug=”true” stuff hasn’t been parsed correctly. How can I tell IIS to send the details of the configuration error? As it stands, the only way for me to figure out the problem is to look at the event log on the server itself.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T13:33:08+00:00Added an answer on June 7, 2026 at 1:33 pm

    How can I tell IIS to send the details of the configuration error?

     <customErrors defaultRedirect="url" mode="Off">
         <error. . ./>
    </customErrors>
    

    http://msdn.microsoft.com/en-us/library/h0hfz6fc.aspx


    Update after comments

    Note, changing this section in the machine.config will be the new default for all web applications on the server. To override simply supply this section on your applications’ web.config.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on an ASP.NET MVC web app that allows people to publish
My ASP.NET MVC web app has a weird issue. In VS debugging mode it
We have an ASP.NET MVC web app which allows users to publish messages onto
I am working on an asp.net web application project that has around 7 –
I have a web site built using ASP.NET MVC4 that I can publish fine
I've been dealing with a legacy asp.net 2.0 web site that was originally setup
I have an ASP.NET MVC 3 app that is using SQL Server CE 4.0
I have built an ASP.NET MVC 3 web application (with exlusively Razor/cshtml pages) that
I'm working on an ASP.NET webforms app that will serve as a simple intake
Possible Duplicate: How do I publish a Asp.net web application using MSBuild? I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.