Click here to Skip to main content
15,936,633 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
hi to all.,

i have a problem with a website that it showing 500 - Internal server error. It is working fine in local server but showing this error after uploading to domain.

Prerak Patel 19-Aug-11 2:38am    
Not clear. Elaborate more.

Not much to go on, but...
Check the error logs on the server.
Check to be sure the Application Pool for that app is started.
Share this answer
Any application that is written should implement some sort of logging process which catches and writes unhandled exceptions to a file or database. In order to debug what is going wrong on the server, you should look into doing this using a logging system like nlog or log4net.

As a quick starter, do you have a connection string that will only work on your local?
Do you have any hardcoded file paths in your system?
Is your app pool running in the correct dotNet version and under valid credentials?
Are the credentials on your site set up correctly?

These are only a fraction of the questions I could ask. That is why you need to provide more information and why logging is imperative on a web application and highly advisable on any application.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900