aspx files giving 404 - another solution

Discussion in 'ASP .Net' started by Andrew Morton, Jan 13, 2009.

  1. JFTR, if you find your web site is giving 404 errors for aspx pages, make
    sure that web.config does *not* have an entry in <system.web> saying
    <httpRuntime enable="false" />.

    I know I didn't put it in, as the file was a copy from another working web
    site on the same computer, maybe VS2008 did it or (perhaps more likely) I
    clicked on something wrong in IIS Manager.

    Andrew
     
    Andrew Morton, Jan 13, 2009
    #1
    1. Advertising

  2. I would imagine this is most common with the newer versions of IIS, where
    config files do control settings.

    --
    Gregory A. Beamer
    MVP: MCP: +I, SE, SD, DBA

    Blog:
    http://feeds.feedburner.com/GregoryBeamer

    ********************************************
    | Think Outside the Box! |
    ********************************************
    "Andrew Morton" <> wrote in message
    news:...
    > JFTR, if you find your web site is giving 404 errors for aspx pages, make
    > sure that web.config does *not* have an entry in <system.web> saying
    > <httpRuntime enable="false" />.
    >
    > I know I didn't put it in, as the file was a copy from another working web
    > site on the same computer, maybe VS2008 did it or (perhaps more likely) I
    > clicked on something wrong in IIS Manager.
    >
    > Andrew
    >
     
    Gregory A. Beamer, Jan 13, 2009
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. sandeep pandit via .NET 247
    Replies:
    0
    Views:
    902
    sandeep pandit via .NET 247
    Apr 28, 2004
  2. Jonathan Folland
    Replies:
    2
    Views:
    1,637
    Jonathan Folland
    Mar 17, 2005
  3. frekster
    Replies:
    1
    Views:
    943
    frekster
    Sep 14, 2005
  4. =?Utf-8?B?cGF0cmljaWE=?=

    Http 404 error after move aspx files to another location

    =?Utf-8?B?cGF0cmljaWE=?=, Nov 5, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    657
    =?Utf-8?B?cGF0cmljaWE=?=
    Nov 5, 2005
  5. sixteenmillion

    The giving that keeps on giving

    sixteenmillion, Nov 19, 2007, in forum: C Programming
    Replies:
    0
    Views:
    431
    sixteenmillion
    Nov 19, 2007
Loading...

Share This Page