Click here to Skip to main content
13,049,263 members (62,791 online)
Rate this:
Please Sign up or sign in to vote.
See more:

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 3-Aug-12 0:34am
Updated 2-May-17 20:00pm
Peter_in_2780 3-Aug-12 10:01am
There are many many many possible causes. Have a look at the server (IIS) logs.
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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"[^]
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

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.


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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170713.1 | Last Updated 3 May 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100