<?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>rakkimk : x64</title><link>http://blogs.iis.net/rakkimk/archive/tags/x64/default.aspx</link><description>Tags: x64</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>ASP.NET 2.0 x64 – You may get HTTP 400 Bad Request or Error as mentioned in KB 932552 or 826437</title><link>http://blogs.iis.net/rakkimk/archive/2008/10/10/asp-net-2-0-x64-you-may-get-http-400-bad-request-or-error-as-mentioned-in-kb-932552-or-826437.aspx</link><pubDate>Sat, 11 Oct 2008 02:24:32 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:2676347</guid><dc:creator>rakkimk</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/rakkimk/rsscomments.aspx?PostID=2676347</wfw:commentRss><comments>http://blogs.iis.net/rakkimk/archive/2008/10/10/asp-net-2-0-x64-you-may-get-http-400-bad-request-or-error-as-mentioned-in-kb-932552-or-826437.aspx#comments</comments><description>&lt;p&gt;I’m sure you already know about &lt;a href="http://support.microsoft.com/kb/932552"&gt;this&lt;/a&gt; fix for ASP.NET which fixes an issue of “not a valid path” exception, and &lt;a href="http://support.microsoft.com/kb/826437/en-us"&gt;this&lt;/a&gt; fix for ASP.NET 1.1 for the same reason. If you receive this error now on your application, you might not need to apply the hotfix because your ASP.NET version might be higher than the one available with this hotfix, so verify the DLL versions before even requesting the hotfix from Microsoft. &lt;/p&gt;  &lt;p&gt;So, after installing the hotfix, you should do the below registry changes (not sure if the hotfix does this automatically – I haven’t tested this):&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;DWORD&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\VerificationCompatibility = 1&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;as mentioned in the KB article &lt;a href="http://support.microsoft.com/kb/932552"&gt;932552&lt;/a&gt;. But, you might see that this doesn’t work if you run the application pool under 32-bit mode on a x64 Windows Server 2003 or 2008. That’s just because, the ASP.NET reads this key from a different location as below:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;DWORD&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; HKEY_LOCAL_MACHINE\SOFTWARE\&lt;strong&gt;Wow6432Node&lt;/strong&gt;\Microsoft\ASP.NET\VerificationCompatibility = 1&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;I’m sure you doesn’t want me to explain why ASP.NET reads from this location instead of above. If you want, please drop a note. &lt;/p&gt;  &lt;p&gt;In IIS 7.0, you would get the below error message while running under Integrated mode:&lt;/p&gt;  &lt;blockquote&gt;“HTTP Error 400.0 - Bad Request    &lt;br /&gt;ASP.NET detected invalid characters in the URL” &lt;/blockquote&gt;  &lt;p&gt;Hope this helps!&lt;/p&gt;  &lt;p&gt;.rm&lt;/p&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=2676347" width="1" height="1"&gt;</description><category domain="http://blogs.iis.net/rakkimk/archive/tags/IIS7/default.aspx">IIS7</category><category domain="http://blogs.iis.net/rakkimk/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://blogs.iis.net/rakkimk/archive/tags/x64/default.aspx">x64</category></item></channel></rss>