Mindless Philosophy






HTTP Error 500.19 - Internal Server Error...FIXED

by Darren Street

Created on: Thursday January 9, 2014

Comment on this post

I was in the process of moving a website from my production IIS server to my dev IIS server for some design integration testing. Both IIS servers had .net4.0 installed. When I copied my main site over to dev for re-work and started up the site I got a: HTTP Error 500.19 - Internal Server Error Error Code: 0x8007000d.

New Picture (1)

So I did what any reasonable person would do and google it. Unfortunately I got a lot of valid but incorrect responses. SO I thought I do a round-up of fixes

Fix 1: Manually add configSection groups


Nope...That was fixed in a service pack so that didn’t work

Fix 2: Re-register .NET 4 with IIS.


This could be it for many. The problem is that for devs using a standard pc with say Windows 7 installed won’t have IIS installed by default. You need to go to Add-Remove Windows Components thingy to install IIS. Problem is .NET4 is already installed so you can either re-install .NET4 or re-register it.

"c:\Windows\Microsoft.NET\Framework\v4.0.30319>aspnet_regiis.exe –ir"

for 32 bit systems

"c:\Windows\Microsoft.NET\Framework64\v4.0.30319>aspnet_regiis.exe –ir"

for 64bit systems

Alas for me that didn’t fix it either.

Fix 3: It worked for me


I was looking through the web.config for any signs of syntax error, general gaff or buffoonery and then it hit me. I had rules declared in the web.config. I was using the MS Rewrite IIS extension on the production server. DOH! MS Rewrite wasn’t installed locally so couldn’t parse the section.

Downloaded code from here:

http://www.iis.net/downloads/microsoft/url-rewrite

Installed and website appeared.

Job done.

0 comments





Have your say


Sorry this post is no longer accepting comments.