Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 09:55 AM
Don Miller
Guest
 
Posts: n/a
Default 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.


  #2  
Old July 19th, 2005, 09:55 AM
Tom Kaminski [MVP]
Guest
 
Posts: n/a
Default Re: HTTP Status Code 400 w Redirect

"Don Miller" <nospam@nospam.com> wrote in message
news:eJ59xsbuDHA.1596@TK2MSFTNGP10.phx.gbl...[color=blue]
> 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)[/color]
in[color=blue]
> 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[/color]
how[color=blue]
> could the submit from the PDF form have anything to do with this since[/color]
other[color=blue]
> HTML forms directed to an ASP page with images, etc. works fine?)[/color]

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/



  #3  
Old July 19th, 2005, 09:55 AM
Aaron Bertrand - MVP
Guest
 
Posts: n/a
Default Re: HTTP Status Code 400 w Redirect

http://www.aspfaq.com/search.asp?q=http+1.1+400

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




"Don Miller" <nospam@nospam.com> wrote in message
news:eJ59xsbuDHA.1596@TK2MSFTNGP10.phx.gbl...[color=blue]
> 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)[/color]
in[color=blue]
> 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[/color]
how[color=blue]
> could the submit from the PDF form have anything to do with this since[/color]
other[color=blue]
> HTML forms directed to an ASP page with images, etc. works fine?)
>
> Thanks.
>
>[/color]


  #4  
Old July 19th, 2005, 09:55 AM
Don Miller
Guest
 
Posts: n/a
Default Re: HTTP Status Code 400 w Redirect

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:bql3u3$q3d18@kcweb01.netnews.att.com...[color=blue]
> "Don Miller" <nospam@nospam.com> wrote in message
> news:eJ59xsbuDHA.1596@TK2MSFTNGP10.phx.gbl...[color=green]
> > I used a Response.Redirect "page.asp" as the last command in ASP code[/color][/color]
that[color=blue][color=green]
> > processes a submitted form from an Adobe PDF form (using HTML format).[/color][/color]
For[color=blue][color=green]
> > some reason, if there is any linked file (image, stylesheet, javascript)[/color]
> in[color=green]
> > 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[/color][/color]
the[color=blue][color=green]
> > files I mentioned above all show 400. The description for this status[/color][/color]
code[color=blue][color=green]
> > is pretty generic and not much help (a syntax error in the request and[/color][/color]
the[color=blue][color=green]
> > 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[/color]
> how[color=green]
> > could the submit from the PDF form have anything to do with this since[/color]
> other[color=green]
> > HTML forms directed to an ASP page with images, etc. works fine?)[/color]
>
> http://www.aspfaq.com/show.asp?id=2011
>
> --
> Tom Kaminski IIS MVP
> http://www.iistoolshed.com/ - tools, scripts, and utilities for running[/color]
IIS[color=blue]
> http://mvp.support.microsoft.com/
> http://www.microsoft.com/windowsserv...y/centers/iis/
>
>
>[/color]


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles