473,322 Members | 1,806 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

HTTP Status Code 400 w Redirect

I used a Response.Redirect "page.asp" as the last command in ASP code that
processes a submitted form from an Adobe PDF form (using HTML format). For
some reason, if there is any linked file (image, stylesheet, javascript) in
the target "page.asp" IE hangs until you press Escape. With Refresh, the
page loads completely.

I checked the web log and the entry for "page.asp" is 200 (OK) but all the
files I mentioned above all show 400. The description for this status code
is pretty generic and not much help (a syntax error in the request and the
server doesn't understand it).

Does anyone know what 400 actually means?

I can't control the syntax of the request so how can this be fixed? (and how
could the submit from the PDF form have anything to do with this since other
HTML forms directed to an ASP page with images, etc. works fine?)

Thanks.
Jul 19 '05 #1
3 5905
"Don Miller" <no****@nospam.com> wrote in message
news:eJ**************@TK2MSFTNGP10.phx.gbl...
I used a Response.Redirect "page.asp" as the last command in ASP code that
processes a submitted form from an Adobe PDF form (using HTML format). For
some reason, if there is any linked file (image, stylesheet, javascript) in the target "page.asp" IE hangs until you press Escape. With Refresh, the
page loads completely.

I checked the web log and the entry for "page.asp" is 200 (OK) but all the
files I mentioned above all show 400. The description for this status code
is pretty generic and not much help (a syntax error in the request and the
server doesn't understand it).

Does anyone know what 400 actually means?

I can't control the syntax of the request so how can this be fixed? (and how could the submit from the PDF form have anything to do with this since other HTML forms directed to an ASP page with images, etc. works fine?)


http://www.aspfaq.com/show.asp?id=2011

--
Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserv...y/centers/iis/

Jul 19 '05 #2
http://www.aspfaq.com/search.asp?q=http+1.1+400

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"Don Miller" <no****@nospam.com> wrote in message
news:eJ**************@TK2MSFTNGP10.phx.gbl...
I used a Response.Redirect "page.asp" as the last command in ASP code that
processes a submitted form from an Adobe PDF form (using HTML format). For
some reason, if there is any linked file (image, stylesheet, javascript) in the target "page.asp" IE hangs until you press Escape. With Refresh, the
page loads completely.

I checked the web log and the entry for "page.asp" is 200 (OK) but all the
files I mentioned above all show 400. The description for this status code
is pretty generic and not much help (a syntax error in the request and the
server doesn't understand it).

Does anyone know what 400 actually means?

I can't control the syntax of the request so how can this be fixed? (and how could the submit from the PDF form have anything to do with this since other HTML forms directed to an ASP page with images, etc. works fine?)

Thanks.

Jul 19 '05 #3
Never did get any of those errors cited in that FAQ. Did try setting the
properties before the redirect with the same result (IE or IIS hangs).

In the meantime, I hacked a work-around that does an inelegant redirect
(that works in this situation though). I'd really like to do a standard
redirect.

<% 'asp code to process PDF form data %>
<html>
<body onload="parent.location.href='target.asp'">
</body>
</html>

"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
news:bq**********@kcweb01.netnews.att.com...
"Don Miller" <no****@nospam.com> wrote in message
news:eJ**************@TK2MSFTNGP10.phx.gbl...
I used a Response.Redirect "page.asp" as the last command in ASP code that processes a submitted form from an Adobe PDF form (using HTML format). For some reason, if there is any linked file (image, stylesheet, javascript) in
the target "page.asp" IE hangs until you press Escape. With Refresh, the
page loads completely.

I checked the web log and the entry for "page.asp" is 200 (OK) but all the files I mentioned above all show 400. The description for this status code is pretty generic and not much help (a syntax error in the request and the server doesn't understand it).

Does anyone know what 400 actually means?

I can't control the syntax of the request so how can this be fixed? (and

how
could the submit from the PDF form have anything to do with this since

other
HTML forms directed to an ASP page with images, etc. works fine?)


http://www.aspfaq.com/show.asp?id=2011

--
Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - tools, scripts, and utilities for running

IIS http://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserv...y/centers/iis/

Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Nige | last post by:
I've got an old web site that comes up before its replacement in Google listings. I've read the document on Google about sending a "301" code from the server:...
3
by: probashi | last post by:
Hi, I have an ASP page that inserts a record into database. Some times I find that multiple records are being inserted (with same data) in to database. I checked IIS log and found the following:...
6
by: Nick Horrocks | last post by:
I have set up a custom error page for 404 errors. However the HTTP status code returned is 302 followed by 200, this causes search engines not to remove old pages from their index. How can I...
3
by: Marlon | last post by:
I have a site that is now SSL secured. User not still using the http:// to get to the site. How can I redirect the user the the visited page using https:// ?
7
by: Pat Carden | last post by:
I'm trying to provide a better user experience by redirecting my users to a "Page Not Found" page, using a Custom Errors directive in Web.Config. The problem is I need to return a 404 error code...
2
by: JThomas | last post by:
Hello! I'm having trouble with a page apparently causing my client's Safari browser to time out. I don't actually have access to a Mac & Safari, and haven't been able to physically see this...
2
by: pbd22 | last post by:
Hi. I feel like i should know this but i dont. How do I get the server to send a specific HTTP response to the browser? I want to tell the browser that there is no content coming back from...
7
by: =?Utf-8?B?YzY3NjIyOA==?= | last post by:
Hi all, I am trying to set this up using asp code and IIS configuration. But it seems not working. Here it is the way I am doing. In IIS I set up a virtual directory with secure communication, I...
2
by: Khai Doan | last post by:
I am using Selenium, a javascript framework for automated testing of web application. The problem occurs when there is a server side HTTP redirect. Selenium would detect that a new page is...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.