ASP page can't post to IIS 5.0 Server

H

Hunter Pieper

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
 
R

Ray Costanzo [MVP]

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 "Application Settings," go to the
App Debugging tab, and verify that "Send detailed ASP error messages to
client" radio button is selected.

Ray at work
 
H

Hunter Pieper

It only says:

HTTP 404 - File not found
Internet Information Services

Which really narrows it down.

Regards

Hunter
 
R

Ray Costanzo [MVP]

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
 
J

Jeff Cochran

It only says:

HTTP 404 - File not found
Internet Information Services

Which really narrows it down.

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


 
H

Hunter Pieper

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top