Monday, June 11, 2007

FIX: "HttpException (0x80004005): '/HandlerTest/WebForm1.aspx/a:b' is not a valid virtual path"

FIX: Error message when you try to visit an ASP.NET 2.0-based Web page: "HttpException (0x80004005): '/HandlerTest/WebForm1.aspx/a:b' is not a valid virtual path"

When you try to visit a Microsoft ASP.NET 2.0-based Web page, you may receive an error message that resembles the following:
HttpException (0x80004005): '/HandlerTest/WebForm1.aspx/a:b' is not a valid virtual path.
This problem occurs if the virtual path in the URL contains one of the following symbols:
• Colon (:)
• Asterisk (*)

For example, this problem occurs when you try to visit one of the following URLs:
• http://www.adventure:works.com/test.aspx
• http://www.adventure*works.com/test.aspx

Note This problem occurs even if you use the method that is described in Microsoft Knowledge Base article 826437 to set the value of the following registry subkey to 1:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET VerificationCompatibility


Get the HotFix here: http://support.microsoft.com/kb/932552/en-us?spid=8940&sid=global

No comments: