Server Error in '/' Application. Error On Staging and Production Server

Server Error in '/' Application. Error on staging and production server. This error occurs when you are using custom error page with web.config This error recognition for newbie on server.How to remove this ? Read the following article and enjoy. How to remove this headache error this is very owesome for newbie.

Server Error in '/' Application

When I saw this error on the first time informed by testing department then I was very confused because application was running wel on my local server.I resolved,and now sharing all the prospects of this Error.

This Error is very common and I have seen on production and staging server.

This error occurs when you are using custom error page with web.config

There are two cause for this error.

1. Error page like MyError.htm should be in root folder. If this file is in different place then hope it will work on local host but on the server you will get yellow page with above error description.

2. Second prospect of this error is web.config. If you mention wprong file name (typing mistake) which is does not exist then also you can see this error.Your web.config file should be structured in the followig way.Be ensure that "myErrorPage.htm" file which should be exist.

Be ensure that your file myErrorPage.htm is correct with proper html tags.

Hope you will identify and remove this error.


No responses found. Be the first to comment...

  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name: