<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>Sunday Morning Musings on IIS : 500.19</title><link>http://blogs.iis.net/lprete/archive/tags/500.19/default.aspx</link><description>Tags: 500.19</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Why Does IIS 6.0 Return an HTTP 500.19 Error</title><link>http://blogs.iis.net/lprete/archive/2007/10/07/why-does-iis-6-0-return-an-http-500-19-error.aspx</link><pubDate>Sun, 07 Oct 2007 15:32:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1983543</guid><dc:creator>lprete</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/lprete/rsscomments.aspx?PostID=1983543</wfw:commentRss><comments>http://blogs.iis.net/lprete/archive/2007/10/07/why-does-iis-6-0-return-an-http-500-19-error.aspx#comments</comments><description>&lt;P mce_keep="true"&gt;&lt;STRONG&gt;&lt;U&gt;&lt;FONT size=3&gt;Problem &lt;/FONT&gt;&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;When Browsing to IIS content in IE we see the following error message:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P mce_keep="true"&gt;&lt;FONT face="times new roman,times" color=#ff0000&gt;The data is invalid.&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P mce_keep="true"&gt;Reviewing the IIS web logs we see&amp;nbsp; that IIS has sent an HTTP Status Code&amp;nbsp;of &lt;STRONG&gt;500&lt;/STRONG&gt; with a sub-status code of &lt;STRONG&gt;19&lt;/STRONG&gt;.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P mce_keep="true"&gt;&lt;FONT face="courier new,courier" size=1&gt;#Software: Microsoft Internet Information Services 6.0&lt;BR&gt;#Version: 1.0&lt;BR&gt;#Date: 2006-10-31 16:49:56&lt;BR&gt;#Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status &lt;BR&gt;2006-10-31 16:49:56 W3SVC1 127.0.0.1 GET / - 80 - 127.0.0.1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.2;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.04506.30) &lt;FONT color=#ff0000&gt;500 19&lt;/FONT&gt; 13&lt;BR&gt;2006-10-31 16:50:07 W3SVC1 127.0.0.1 GET /test.asp - 80 - 127.0.0.1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.2;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.04506.30) &lt;FONT color=#ff0000&gt;500 19&lt;/FONT&gt; 13&lt;BR&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P mce_keep="true"&gt;This can occur for both ASP and HTML content.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;&lt;U&gt;&lt;FONT size=3&gt;Cause&lt;/FONT&gt;&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;At least one section of the metabase is un-readable.&amp;nbsp; This could mean there is invalid XML in the metabase but more likely there is invalid data set for one or more metabase keys.&amp;nbsp; The most common metabase key to contain this invalide data is the &lt;STRONG&gt;ScriptMaps&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P mce_keep="true"&gt;The explanation given for the 500.19 error is&amp;nbsp;that if we do not have valid metadata for a node, we cannot serve URLs from that node, even if the data is sufficient for a certain subset of the node. &lt;/P&gt;
&lt;P mce_keep="true"&gt;If you receive a 500.19 after making any changes to the metabase, it is probable that the changes made to the metabase make it impossible to parse at least a section of the metabase. &lt;/P&gt;
&lt;P mce_keep="true"&gt;This typically happens when &lt;STRONG&gt;Enable Direct Meabase Edit (EnableEditWhileRunning)&lt;/STRONG&gt; is allowed.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;U&gt;&lt;STRONG&gt;&lt;FONT size=3&gt;Resolution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;Since this typically indicates a problem with the &lt;STRONG&gt;ScriptMaps&amp;nbsp;&lt;/STRONG&gt;you should focus there first.&amp;nbsp;A typical script mapping should look similar to this:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P mce_keep="true"&gt;&lt;FONT face="courier new,courier"&gt;.asp,C:\WINNT\system32\inetsrv\asp.dll,5,GET,HEAD,POST,TRACE&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;Note: &lt;/STRONG&gt;There are no spaces in a script map.&amp;nbsp;If a space is present please remove it.&amp;nbsp; Aditionally there should be no random strings of characters.&lt;/P&gt;
&lt;P mce_keep="true"&gt;If all else fails restoring a know good copy of the metabase should resolve the issue.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;U&gt;&lt;STRONG&gt;&lt;FONT size=3&gt;More Information&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;It is important to back up the metabase&amp;nbsp;frequently.&amp;nbsp; Please refer to the following KBs for more infomation:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P mce_keep="true"&gt;&lt;A class="" href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;324277" mce_href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;324277"&gt;&lt;STRONG&gt;324277&amp;nbsp;- How To Create a Metabase Backup by Using IIS 6.0 in Windows Server 2003&lt;/STRONG&gt;&lt;BR&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P mce_keep="true"&gt;IIS 7.0 will also return 500.19 but the reasons are different.&amp;nbsp; Please refer to the following KBs for more infomation:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;&lt;A class="" href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;942055" mce_href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;942055"&gt;&lt;STRONG&gt;942055&amp;nbsp;- Error message when you visit a Web site that is hosted on IIS 7.0: "HTTP Error 500.19 – Internal Server Error"&lt;/STRONG&gt;&lt;/A&gt;&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;&lt;A class="" href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;934515" mce_href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;934515"&gt;&lt;STRONG&gt;934515 -&amp;nbsp;You receive an error message when you try to view a Web page from a Web site that uses pass-through authentication in Internet Information Services 7.0&lt;/STRONG&gt;&lt;/A&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=1983543" width="1" height="1"&gt;</description><category domain="http://blogs.iis.net/lprete/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.iis.net/lprete/archive/tags/HTTP+Status/default.aspx">HTTP Status</category><category domain="http://blogs.iis.net/lprete/archive/tags/500.19/default.aspx">500.19</category></item></channel></rss>