Runtime Error

Discussion in 'ASP.NET / ASP.NET Core' started by garrydawkins, Jan 30, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Ladies & Gents,
    I have a runtime error that come up only in production. It appears to be the same error for a number of items that were loaded to production yesterday. :rolleyes:
    Now for the the real 411, the test environment and production are not identical. The test evironment is used to modify & test application code. Once it works I implement it on production. Granted I'm new to this area and new to this technology. Under normal circumstances I would attemp to duplication the production and the testing environment. [8D]

    GDawkins
     
  2. Runtime Error
    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

    Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


    <!-- Web.Config Configuration File -->

    <configuration>
    <system.web>
    <customErrors mode="Off"/>
    </system.web>
    </configuration>


    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


    <!-- Web.Config Configuration File -->

    <configuration>
    <system.web>
    <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
    </configuration>




    GDawkins
     
  3. Takeshi Eto

    Takeshi Eto DiscountASP.NET Staff

    To see the detailed error turn CustomErrors Off in your web.config.
     
  4. quote:Originally posted by garrydawkins

    Is this the web config file on the Server that need to be changed?

    GDawkins
    </blockquote id="quote"></font id="quote">
    yep, that's the one

    --
    Steurm
    www.steurm.net/steurm
     
  5. Is this the web config file on the Server that need to be changed?

    GDawkins
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page