Fixing HTTP Error 500.19 when setting up IIS in Windows 7
I was preparing my development environment on my Windows 7 yesterday. I loaded Visual Studio 2008, enabled IIS, and pointed it to my apps directory. All look good until I converted one app I coded before to application and tested it through my web browser.
Zoom it out to see the detail errors if you can’t read it clearly.
I then also tested a fresh built web app with default settings. It still happened the same. The link at bottom of the page points to a Microsoft KB that also didn’t seem to help.
Without any luck trying on myself, I went to Google for help. Typing in the keywords “This happens when the section is locked at a parent level” pointed this link from asp.net forum to me. Most of the stuff still didn’t fix this thing for me, until I saw one guy who did the following and fixed the same problem.
I was able to resolve this issue in my own Windows 7 webserver using the Microsoft Web Installer Platform (http://www.microsoft.com/web/downloads/platform.aspx).
- From the GUI or finding it in the IIS MMC manager, Click on the Web Platform tab
- Then click on the Customize link below the Frameworks and Runtimes options.
- Select ASP.NET and ASP.NET MVC 1.0 (if necessary)
- and then click install.
It actually worked for me too. I launched the Web Installer Platform and selected ASP.net under Web Server section from Web Platform tab.
Once the installation was finished, everything started working again. The mystery “Internal Server Error” was disappeared right after.
I believe when IIS was enabled on my Windows 7. Some certain things, especially things related to .Net framework were missing during the installation. And this web platform installer tool installed things that were missing and put everything back together in a working condition.
The Web Platform Installer, currently at 2.0, is a new free tool that makes the process of getting your development environment up and running much easier with putting all necessary components in one signal package, including IIS, SQL Server Express, .Net Framework, etc. It also includes the most popular free web applications that run on ASP.net.
I will definitely take more closer look those content management and eCommerce applications.