ASP page can't post to IIS 5.0 Server

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Hunter Pieper

    ASP page can't post to IIS 5.0 Server

    Hello,

    We are trying to get an .asp page to post to an access
    database. the page is viewable, and the form boxes can be
    filled in. Upon submission of the data a confirmation
    page is then to show.

    What happens is the data is inserted into the page, but
    upon submission an HTTP 500 Internal server error appears.

    if we uncheck show friendly http errors in IE there is
    still no more info to go on.

    My question is then, where to begin?

    I suspect perhaps a security setting, but which?

    How to get more error info?

    Any ideas are appreciated.

    Regards

    Hunter
  • Ray Costanzo [MVP]

    #2
    Re: ASP page can't post to IIS 5.0 Server

    After unchecking friendly errors, what exactly do you see in your browser?
    If you're truly seeing nothing of use, go into the IIS management console,
    pull up the properties of your site or application, go to the Home Directory
    tab, click the Configuration button under "Applicatio n Settings," go to the
    App Debugging tab, and verify that "Send detailed ASP error messages to
    client" radio button is selected.

    Ray at work

    "Hunter Pieper" <hunter_pieper@ yahoo.com> wrote in message
    news:306d01c48e d5$60890ff0$a30 1280a@phx.gbl.. .[color=blue]
    > Hello,
    >
    > We are trying to get an .asp page to post to an access
    > database. the page is viewable, and the form boxes can be
    > filled in. Upon submission of the data a confirmation
    > page is then to show.
    >
    > What happens is the data is inserted into the page, but
    > upon submission an HTTP 500 Internal server error appears.
    >
    > if we uncheck show friendly http errors in IE there is
    > still no more info to go on.
    >
    > My question is then, where to begin?
    >
    > I suspect perhaps a security setting, but which?
    >
    > How to get more error info?
    >
    > Any ideas are appreciated.
    >
    > Regards
    >
    > Hunter[/color]


    Comment

    • Hunter Pieper

      #3
      Re: ASP page can't post to IIS 5.0 Server

      It only says:

      HTTP 404 - File not found
      Internet Information Services

      Which really narrows it down.

      Regards

      Hunter

      [color=blue]
      >-----Original Message-----
      >After unchecking friendly errors, what exactly do you see[/color]
      in your browser?[color=blue]
      >If you're truly seeing nothing of use, go into the IIS[/color]
      management console,[color=blue]
      >pull up the properties of your site or application, go to[/color]
      the Home Directory[color=blue]
      >tab, click the Configuration button under "Applicatio n[/color]
      Settings," go to the[color=blue]
      >App Debugging tab, and verify that "Send detailed ASP[/color]
      error messages to[color=blue]
      >client" radio button is selected.
      >
      >Ray at work
      >
      >"Hunter Pieper" <hunter_pieper@ yahoo.com> wrote in[/color]
      message[color=blue]
      >news:306d01c48 ed5$60890ff0$a3 01280a@phx.gbl. ..[color=green]
      >> Hello,
      >>
      >> We are trying to get an .asp page to post to an access
      >> database. the page is viewable, and the form boxes can[/color][/color]
      be[color=blue][color=green]
      >> filled in. Upon submission of the data a confirmation
      >> page is then to show.
      >>
      >> What happens is the data is inserted into the page, but
      >> upon submission an HTTP 500 Internal server error[/color][/color]
      appears.[color=blue][color=green]
      >>
      >> if we uncheck show friendly http errors in IE there is
      >> still no more info to go on.
      >>
      >> My question is then, where to begin?
      >>
      >> I suspect perhaps a security setting, but which?
      >>
      >> How to get more error info?
      >>
      >> Any ideas are appreciated.
      >>
      >> Regards
      >>
      >> Hunter[/color]
      >
      >
      >.
      >[/color]

      Comment

      • Ray Costanzo [MVP]

        #4
        Re: ASP page can't post to IIS 5.0 Server

        Your 500 error turns into a 404 after unchecking friendly errors? :| Are
        you sure you have the URL right? What about a static .htm page in the same
        directory? Create test.htm and test.asp in the same directory, with these
        contents:

        test.htm:
        <html><body>I 'm in test.htm</body></html>

        test.asp:
        Response.Write "<html><body>I' m in test.asp</body></html>"


        Can you load either page?

        Ray at work

        "Hunter Pieper" <hunter_pieper@ yahoo.com> wrote in message
        news:2fc101c48e dd$a31b04b0$a50 1280a@phx.gbl.. .[color=blue]
        > It only says:
        >
        > HTTP 404 - File not found
        > Internet Information Services
        >
        > Which really narrows it down.
        >
        > Regards
        >
        > Hunter
        >
        >[color=green]
        >>-----Original Message-----
        >>After unchecking friendly errors, what exactly do you see[/color]
        > in your browser?[color=green]
        >>If you're truly seeing nothing of use, go into the IIS[/color]
        > management console,[color=green]
        >>pull up the properties of your site or application, go to[/color]
        > the Home Directory[color=green]
        >>tab, click the Configuration button under "Applicatio n[/color]
        > Settings," go to the[color=green]
        >>App Debugging tab, and verify that "Send detailed ASP[/color]
        > error messages to[color=green]
        >>client" radio button is selected.
        >>
        >>Ray at work
        >>
        >>"Hunter Pieper" <hunter_pieper@ yahoo.com> wrote in[/color]
        > message[color=green]
        >>news:306d01c4 8ed5$60890ff0$a 301280a@phx.gbl ...[color=darkred]
        >>> Hello,
        >>>
        >>> We are trying to get an .asp page to post to an access
        >>> database. the page is viewable, and the form boxes can[/color][/color]
        > be[color=green][color=darkred]
        >>> filled in. Upon submission of the data a confirmation
        >>> page is then to show.
        >>>
        >>> What happens is the data is inserted into the page, but
        >>> upon submission an HTTP 500 Internal server error[/color][/color]
        > appears.[color=green][color=darkred]
        >>>
        >>> if we uncheck show friendly http errors in IE there is
        >>> still no more info to go on.
        >>>
        >>> My question is then, where to begin?
        >>>
        >>> I suspect perhaps a security setting, but which?
        >>>
        >>> How to get more error info?
        >>>
        >>> Any ideas are appreciated.
        >>>
        >>> Regards
        >>>
        >>> Hunter[/color]
        >>
        >>
        >>.
        >>[/color][/color]


        Comment

        • Jeff Cochran

          #5
          Re: ASP page can't post to IIS 5.0 Server

          On Mon, 30 Aug 2004 15:06:44 -0700, "Hunter Pieper"
          <hunter_pieper@ yahoo.com> wrote:
          [color=blue]
          >It only says:
          >
          >HTTP 404 - File not found
          >Internet Information Services
          >
          >Which really narrows it down.[/color]

          It actually does. Since you had a 500 error and now it's a 404, then
          the probl;em is now different. Check and see if the file is actually
          there to be found by the account accessing it.

          Then, when you get that fixed, repost the full error for the 500
          error.

          Jeff


          [color=blue][color=green]
          >>-----Original Message-----
          >>After unchecking friendly errors, what exactly do you see[/color]
          >in your browser?[color=green]
          >>If you're truly seeing nothing of use, go into the IIS[/color]
          >management console,[color=green]
          >>pull up the properties of your site or application, go to[/color]
          >the Home Directory[color=green]
          >>tab, click the Configuration button under "Applicatio n[/color]
          >Settings," go to the[color=green]
          >>App Debugging tab, and verify that "Send detailed ASP[/color]
          >error messages to[color=green]
          >>client" radio button is selected.
          >>
          >>Ray at work
          >>
          >>"Hunter Pieper" <hunter_pieper@ yahoo.com> wrote in[/color]
          >message[color=green]
          >>news:306d01c4 8ed5$60890ff0$a 301280a@phx.gbl ...[color=darkred]
          >>> Hello,
          >>>
          >>> We are trying to get an .asp page to post to an access
          >>> database. the page is viewable, and the form boxes can[/color][/color]
          >be[color=green][color=darkred]
          >>> filled in. Upon submission of the data a confirmation
          >>> page is then to show.
          >>>
          >>> What happens is the data is inserted into the page, but
          >>> upon submission an HTTP 500 Internal server error[/color][/color]
          >appears.[color=green][color=darkred]
          >>>
          >>> if we uncheck show friendly http errors in IE there is
          >>> still no more info to go on.
          >>>
          >>> My question is then, where to begin?
          >>>
          >>> I suspect perhaps a security setting, but which?
          >>>
          >>> How to get more error info?
          >>>
          >>> Any ideas are appreciated.
          >>>
          >>> Regards
          >>>
          >>> Hunter[/color]
          >>
          >>
          >>.
          >>[/color][/color]

          Comment

          • Hunter Pieper

            #6
            Re: ASP page can't post to IIS 5.0 Server

            I figured it out.

            I had the URLScan asapi filter running. I had removed it
            earlier in the day, but I had forgotten to restart the IIS
            server.

            It took a while for my brains to start working; so it was
            later in the day when I finally remembered, to recheck the
            URLScan log. At which time I noticed it was denying
            access, and that a restart was necessary to get the
            desired effect.

            Damn.

            Thanks for the help though, and sorry for the trouble.

            Hunter




            [color=blue]
            >-----Original Message-----
            >Your 500 error turns into a 404 after unchecking friendly[/color]
            errors? :| Are[color=blue]
            >you sure you have the URL right? What about a[/color]
            static .htm page in the same[color=blue]
            >directory? Create test.htm and test.asp in the same[/color]
            directory, with these[color=blue]
            >contents:
            >
            >test.htm:
            ><html><body>I' m in test.htm</body></html>
            >
            >test.asp:
            >Response.Wri te "<html><body>I' m in test.asp</body></html>"
            >
            >
            >Can you load either page?
            >
            >Ray at work
            >
            >"Hunter Pieper" <hunter_pieper@ yahoo.com> wrote in[/color]
            message[color=blue]
            >news:2fc101c48 edd$a31b04b0$a5 01280a@phx.gbl. ..[color=green]
            >> It only says:
            >>
            >> HTTP 404 - File not found
            >> Internet Information Services
            >>
            >> Which really narrows it down.
            >>
            >> Regards
            >>
            >> Hunter
            >>
            >>[color=darkred]
            >>>-----Original Message-----
            >>>After unchecking friendly errors, what exactly do you[/color][/color][/color]
            see[color=blue][color=green]
            >> in your browser?[color=darkred]
            >>>If you're truly seeing nothing of use, go into the IIS[/color]
            >> management console,[color=darkred]
            >>>pull up the properties of your site or application, go[/color][/color][/color]
            to[color=blue][color=green]
            >> the Home Directory[color=darkred]
            >>>tab, click the Configuration button under "Applicatio n[/color]
            >> Settings," go to the[color=darkred]
            >>>App Debugging tab, and verify that "Send detailed ASP[/color]
            >> error messages to[color=darkred]
            >>>client" radio button is selected.
            >>>
            >>>Ray at work
            >>>
            >>>"Hunter Pieper" <hunter_pieper@ yahoo.com> wrote in[/color]
            >> message[color=darkred]
            >>>news:306d01c 48ed5$60890ff0$ a301280a@phx.gb l...
            >>>> Hello,
            >>>>
            >>>> We are trying to get an .asp page to post to an access
            >>>> database. the page is viewable, and the form boxes[/color][/color][/color]
            can[color=blue][color=green]
            >> be[color=darkred]
            >>>> filled in. Upon submission of the data a confirmation
            >>>> page is then to show.
            >>>>
            >>>> What happens is the data is inserted into the page,[/color][/color][/color]
            but[color=blue][color=green][color=darkred]
            >>>> upon submission an HTTP 500 Internal server error[/color]
            >> appears.[color=darkred]
            >>>>
            >>>> if we uncheck show friendly http errors in IE there is
            >>>> still no more info to go on.
            >>>>
            >>>> My question is then, where to begin?
            >>>>
            >>>> I suspect perhaps a security setting, but which?
            >>>>
            >>>> How to get more error info?
            >>>>
            >>>> Any ideas are appreciated.
            >>>>
            >>>> Regards
            >>>>
            >>>> Hunter
            >>>
            >>>
            >>>.
            >>>[/color][/color]
            >
            >
            >.
            >[/color]

            Comment

            Working...