View Complete Thread
  • Re: Server Error in '/' Application - The resource cannot be found.

    Nov 19, 2009 04:05 PM|tomkmvp|LINK

    What's interesting is that it's ASP.NET and not IIS that is reporting the 404.

    simonalexander2005

    Server Error in '/' Application

    Furthermore, the IIS log indicates a sub-status of "0" for the 404, meaning it really can't find the file.

    simonalexander2005

    GET /Home.aspx ... 404 0 

    Can you browse to http://yourserver/home.aspx?  Why bother with a redirect from default.aspx? Just set home.aspx as default document in IIS. 

    You could also try just Response.Redirect("/Home.aspx") - without the ~.

     

    Tom Kaminski (former IIS MVP 2002-2010)
    http://mvp.support.microsoft.com/