Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi................


I am trying to host web application in windows 7.i got following error while brows directory.

This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem which prevented the webpage from displaying.provide soln
Posted
Updated 2-May-17 20:00pm
Comments
Peter_in_2780 3-Aug-12 10:01am    
There are many many many possible causes. Have a look at the server (IIS) logs.

When the error is 500, that means it's an internal error, meaning internal to the service - the service threw an exception that was not caught.
Look in the Windows event logs on the server to see what went wrong.

Also, try:
- Go to menu Tools/Internet Options in your IE.
- Click on the Advanced tab, uncheck "Show friendly HTTP error messages" option and click Ok.
- Try accessing your web page again. Now you will see much more meaningful error message which will help you to troubleshoot the problem.

Other few possibilities:
There might be an issue in the way you have hosted your app. May be multiple config files?
Do make sure, you have hosted your application correctly. Published the application as website and setting up the virtual directory.

See details here: Microsoft Support: Error message when you visit a Web site that is hosted on IIS 7.0: "HTTP Error 500.0 – Internal Server Error"[^]
 
Share this answer
 
Please make sure that your application web.config or app.config file has not any issue or perfect in config sections. If you changed the config for HTTPS configuration or something else, please verify config is perfectly updated.

Thanks
Dushmantha
 
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