« Previous Next »

Thread: IIS 7.5 404 error when redirecting from ASP.NET to Classic ASP

Last post 11-10-2009 1:54 PM by SpaceCowboy74. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 11-06-2009, 10:27 AM

    IIS 7.5 404 error when redirecting from ASP.NET to Classic ASP

    I have Windows 7 x64 Ultimate installed on my development box.  I've done everything needed to get Classic ASP as well as .NET running on my system.  I'm developing in Visual Studio 2008 SP1.  Me web site has a default page that has a frameset on it.  In the frameset, after authorization, one frame redirects from an ASP.NET page to a Classic ASP page.  This returns a 404 error to the screen.  If I copy and paste the URL shown in the error page, I can get to the page just fine.  Of course, since it expects to be in a frameset, it doesn't work quite right.  I do have parameters on the URL (in the query string) but i don't think that's causing the problem.

     Has anyone heard of this or have any suggestions?

  • 11-06-2009, 7:01 PM In reply to

    • lextm
    • Top 10 Contributor
    • Joined on 10-22-2008, 4:18 AM
    • Shanghai, PRC
    • Posts 1,402

    Re: IIS 7.5 404 error when redirecting from ASP.NET to Classic ASP

    404 is a large category for IIS 7 and upper, so please check out IIS logs to see its sub status and then decide what to do,

    http://support.microsoft.com/kb/943891

    Lex Li
    Support Engineer at Microsoft
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • 11-10-2009, 1:54 PM In reply to

    Re: IIS 7.5 404 error when redirecting from ASP.NET to Classic ASP

     I solved the problem.  It turned out a Junior Developer was attempting to use the XSSProtection dlls from Microsoft.  They were running the URL (with parameters) through URLEncode.  So the 404 error screen showed a correct (decoded) URL, but the ASPX code was not seeing the querystring correctly and redirecting to a page that didn't exist.

Page 1 of 1 (3 items)
Microsoft Communities