Results 1 to 2 of 2

Thread: Remove: "Server Error in '/' Application" Custom error

  1. #1
    eUK-Martin's Avatar
    eUK-Martin is offline Windows System Administrator
    Join Date
    Nov 2005

    Default Remove: "Server Error in '/' Application" Custom error


    There are so many clients who see the ASP .NET custom error below and don't know how to get the exact error:
    Server Error in '/' Application.
    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 -->
            <customErrors mode="Off"/>
    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 -->
            <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    To remove this custom error and get the exact error just follow the steps below:

    1. Open your web.config and find the line "</system.web>".
    2. Add the link below just above it:
    "<customErrors mode="Off" />"
    to make look as:
    <customErrors mode="Off" /> 
    4. Save the config file and refresh the page and you will see the exact error on the screen.

    If you already have a line uncommented:
    <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    then change it to:
    <customErrors mode="Off" defaultRedirect="mycustompage.htm"/>

  2. #2
    blvravis is offline Forum Member
    Join Date
    Dec 2009

    Default "Server Error in '/' Application"

    Hi Martin,

    I am getting same problem even my config file is having <customErrors mode = "Off" />
    And in IIS my application/virtual directory is pointing to ASP.NET version 1.1.4322 only. But still the same problme i am facing.
    My application was developed on .net framework 1.1 and it got deployed on dev server. When i tried to run the application remotely i am getting this error message.

    Please help me out.

    Thanks in advance

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
About eUKhost
We're a Leeds-based web hosting provider specialising in Linux- and Windows-based hosting solutions now serving over 35,000 customers worldwide. Across our network, we host over 2 million websites in our state-of-the-art data centres in Reading, Maidenhead and Milton Keynes. Find out more.
we're social

Copyright © 2014, 2015. eUKhost Ltd. All rights are reserved.

The opinions or views of users on the forum are those of the author and not of eUKhost Ltd.