HTTP error 404 when calling ASP page.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Brian Rupert

    HTTP error 404 when calling ASP page.

    I have 2 sites on my Windows Server 2003/ISA/IIS machine.
    One of the sites works fine and has 'default.htm' for the
    default document. The other site returns an 'HTTP error
    404' and has a 'default.asp' for the default document.
    Aside from that they appear to be configured the same.
    Any ideas?

    Thanks,
    Brian
  • Aaron Bertrand [MVP]

    #2
    Re: HTTP error 404 when calling ASP page.

    Turn off 'show friendly http errors' in Tools / Internet Options / Advanced.
    Or, view the page in Netscape / Firebird / Mozilla / Opera.

    --
    Aaron Bertrand
    SQL Server MVP





    "Brian Rupert" <anonymous@disc ussions.microso ft.com> wrote in message
    news:c6ee01c3ee 94$8016e360$a30 1280a@phx.gbl.. .[color=blue]
    > I have 2 sites on my Windows Server 2003/ISA/IIS machine.
    > One of the sites works fine and has 'default.htm' for the
    > default document. The other site returns an 'HTTP error
    > 404' and has a 'default.asp' for the default document.
    > Aside from that they appear to be configured the same.
    > Any ideas?
    >
    > Thanks,
    > Brian[/color]


    Comment

    • Brian Rupert

      #3
      Re: HTTP error 404 when calling ASP page.

      Aaron,
      Thanks for your reply, however, I tried your suggestion
      with no success.
      More specifically, the error reads "File or directory not
      found". However, I can clearly browse to it from Windows
      Explorer.

      Brian


      [color=blue]
      >-----Original Message-----
      >Turn off 'show friendly http errors' in Tools / Internet[/color]
      Options / Advanced.[color=blue]
      >Or, view the page in Netscape / Firebird / Mozilla /[/color]
      Opera.[color=blue]
      >
      >--
      >Aaron Bertrand
      >SQL Server MVP
      >http://www.aspfaq.com/
      >
      >
      >
      >
      >"Brian Rupert" <anonymous@disc ussions.microso ft.com>[/color]
      wrote in message[color=blue]
      >news:c6ee01c3e e94$8016e360$a3 01280a@phx.gbl. ..[color=green]
      >> I have 2 sites on my Windows Server 2003/ISA/IIS[/color][/color]
      machine.[color=blue][color=green]
      >> One of the sites works fine and has 'default.htm' for[/color][/color]
      the[color=blue][color=green]
      >> default document. The other site returns an 'HTTP error
      >> 404' and has a 'default.asp' for the default document.
      >> Aside from that they appear to be configured the same.
      >> Any ideas?
      >>
      >> Thanks,
      >> Brian[/color]
      >
      >
      >.
      >[/color]

      Comment

      • Ray at

        #4
        Re: HTTP error 404 when calling ASP page.

        Do you have ASP enabled? I know that in IIS 6, you have to enable something
        before any ASP pages will execute. As I have yet to experience IIS 6, I
        cannot comment on where this setting is or what it may be called. But, this
        comes up pretty often in m.p.inetserver. iis, I believe, so you may find a
        PAQ in there with the answer.

        --

        Ray at home
        Microsoft ASP MVP


        "Brian Rupert" <anonymous@disc ussions.microso ft.com> wrote in message
        news:d0ee01c3ee a7$7bbf0050$a60 1280a@phx.gbl.. .[color=blue]
        > Aaron,
        > Thanks for your reply, however, I tried your suggestion
        > with no success.
        > More specifically, the error reads "File or directory not
        > found". However, I can clearly browse to it from Windows
        > Explorer.
        >
        > Brian
        >
        >
        >[color=green]
        > >-----Original Message-----
        > >Turn off 'show friendly http errors' in Tools / Internet[/color]
        > Options / Advanced.[color=green]
        > >Or, view the page in Netscape / Firebird / Mozilla /[/color]
        > Opera.[color=green]
        > >
        > >--
        > >Aaron Bertrand
        > >SQL Server MVP
        > >http://www.aspfaq.com/
        > >
        > >
        > >
        > >
        > >"Brian Rupert" <anonymous@disc ussions.microso ft.com>[/color]
        > wrote in message[color=green]
        > >news:c6ee01c3e e94$8016e360$a3 01280a@phx.gbl. ..[color=darkred]
        > >> I have 2 sites on my Windows Server 2003/ISA/IIS[/color][/color]
        > machine.[color=green][color=darkred]
        > >> One of the sites works fine and has 'default.htm' for[/color][/color]
        > the[color=green][color=darkred]
        > >> default document. The other site returns an 'HTTP error
        > >> 404' and has a 'default.asp' for the default document.
        > >> Aside from that they appear to be configured the same.
        > >> Any ideas?
        > >>
        > >> Thanks,
        > >> Brian[/color]
        > >
        > >
        > >.
        > >[/color][/color]


        Comment

        • Aaron Bertrand [MVP]

          #5
          Re: HTTP error 404 when calling ASP page.

          > Thanks for your reply, however, I tried your suggestion[color=blue]
          > with no success.
          > More specifically, the error reads "File or directory not
          > found". However, I can clearly browse to it from Windows
          > Explorer.[/color]

          Oh, ok. Are you typing "C:\path\file.a sp" into your browser? Don't do
          that! http://localhost/file.asp

          If that's not the issue, you're going to have to provide more information
          (unless you want random guesses).

          --
          Aaron Bertrand
          SQL Server MVP



          Comment

          Working...