Created a page to update db. ASP executes the update but errors out on the redirect. Only if redirect address is relative.
Woz
2:50 pm on Nov 28, 2001 (gmt 0)
What error message are you getting?
onya Woz
dabrisz
2:59 pm on Nov 28, 2001 (gmt 0)
a generic
HTTP 500 - Internal server error Internet Explorer
dabrisz
3:09 pm on Nov 28, 2001 (gmt 0)
Working with ASP(vbscript), ACCESS, IIS 5.0 Windows 2000. update page is vbscript no html to send to browser. specified buffer to true even though it's the default in WD2k. ???? Is it a setting in IIS or WD2k.
Xoc
5:23 pm on Nov 28, 2001 (gmt 0)
Welcome to WebmasterWorld.
Yes. Under Home Directory/Configuration/App Options in IIS manager.
It sounds like you have a syntax error in the Response.Redirect line, but I'm just guessing.
dabrisz
5:32 pm on Nov 28, 2001 (gmt 0)
Thanks for the help!! Dim n_location n_location = "/edit.asp?proj_id=" & varproj & "&sponsor_id=" & varsponsor Response.Clear Response.Redirect n_location If n_location is an absolute address to any other server it will work???
dabrisz
8:49 pm on Nov 28, 2001 (gmt 0)
Finally got better error info
Microsoft JET Database Engine error '80004005'
Operation must use an updateable query.
/ugxp/update_actions.asp, line 31
bmcgee
3:43 am on Nov 29, 2001 (gmt 0)
This error is occuring during the database update, not during the response.redirect.
msdn.microsoft.com has plenty of help on this error if you search for the error message text you are getting.
Probably either bad directory settings on your server, or you are updating a read only recordset.
dabrisz
2:41 pm on Nov 29, 2001 (gmt 0)
Thanks for the help bmcgee, I am new to asp and web programming. I had changed my code so many times that I created the last posted error. With that error corrected I still have a 500 Internal Server Error when I redirect as a relative. I do not want to use an absolute link. Has anyone ever encountered this before or, am I missing the obvious?
Quantum
9:10 pm on Jan 19, 2002 (gmt 0)
Try using Server.Transfer instead of Response.Redirect - under IIS5 for me Response.Redirect doesn't work if I'm transfering to another ASP page (at least while using a global.asa file, don't know about otherwise). But Server.Transfer is specifically built to handle such a transition. You can find more documentation about it here: