My .NET application keeps displaying: Server Error in ''/'' Application.

There are many different things that can cause this error: "Server Error in '/' Application."

  • If your application is in a sub-directory, make sure you have create a virtual directory application for this sub-directory in the control panel.
  • make sure you do not have this statement in your web.config:  <identity impersonate="true" />   remove this statement as it is not needed on our servers.
  • You might have an xml parsing error with your web.config, simplify your web.config down to the most basic form (see below), and then add additional items one at a time until you find your error.



Basic web.config example:

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

        <customErrors mode="Off"/>