473,811 Members | 2,771 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Redirect Hangs with Linked Files

I have an ASP script that is called from a PDF form to process form data. On
the last line of the script I have a Response.Redire ct "webpage.as p" that
leads to another target page with actual HTML. However when I start this
process (by submitting form data) even when I comment out the processing
code, the address bar shows the desired page, but the page never appears and
the flag keeps spinning indefinitely (and doesn't stop even after 15
minutes). When I finally press Escape to stop it and then I press Refresh
the page appears immediately.

I've found that if I remove all the HTML code that has links to other files
(images, javascript, stylesheets) that the target page loads promptly from
the same Redirect method.

Does anyone know what could be causing this? It seems IE (or IIS) gets lost
looking those other files.

Thanks for any tips.
Jul 19 '05 #1
8 3292
My guesses are that you're redirecting a page to itself, have an endless
loop in a page, or are using the FSO and suffering from
http://www.aspfaq.com/search.asp?q=n...cript+blocking

Ray at work

"Don Miller" <no****@nospam. com> wrote in message
news:uR******** ******@TK2MSFTN GP12.phx.gbl...
I have an ASP script that is called from a PDF form to process form data. On the last line of the script I have a Response.Redire ct "webpage.as p" that
leads to another target page with actual HTML. However when I start this
process (by submitting form data) even when I comment out the processing
code, the address bar shows the desired page, but the page never appears and the flag keeps spinning indefinitely (and doesn't stop even after 15
minutes). When I finally press Escape to stop it and then I press Refresh
the page appears immediately.

I've found that if I remove all the HTML code that has links to other files (images, javascript, stylesheets) that the target page loads promptly from
the same Redirect method.

Does anyone know what could be causing this? It seems IE (or IIS) gets lost looking those other files.

Thanks for any tips.

Jul 19 '05 #2
I do have Norton but with Script Blocking OFF, no FSO code. The same thing
(hanging) happens when I redirect to a simple HTML file like:

<html>
<body>
Here's the page
<img border="0" src="images/picture.gif">
</body>
</html>

When I take out the <IMG> section it works fine.

Something to do with the header, or buffer, or ??????
"Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
My guesses are that you're redirecting a page to itself, have an endless
loop in a page, or are using the FSO and suffering from
http://www.aspfaq.com/search.asp?q=n...cript+blocking

Ray at work

"Don Miller" <no****@nospam. com> wrote in message
news:uR******** ******@TK2MSFTN GP12.phx.gbl...
I have an ASP script that is called from a PDF form to process form data.
On
the last line of the script I have a Response.Redire ct "webpage.as p"

that leads to another target page with actual HTML. However when I start this
process (by submitting form data) even when I comment out the processing
code, the address bar shows the desired page, but the page never appears

and
the flag keeps spinning indefinitely (and doesn't stop even after 15
minutes). When I finally press Escape to stop it and then I press Refresh the page appears immediately.

I've found that if I remove all the HTML code that has links to other

files
(images, javascript, stylesheets) that the target page loads promptly from the same Redirect method.

Does anyone know what could be causing this? It seems IE (or IIS) gets

lost
looking those other files.

Thanks for any tips.


Jul 19 '05 #3
What happens if you rename the file to a .htm file?

Ray at work

"Don Miller" <no****@nospam. com> wrote in message
news:ea******** *****@TK2MSFTNG P11.phx.gbl...
I do have Norton but with Script Blocking OFF, no FSO code. The same thing
(hanging) happens when I redirect to a simple HTML file like:

<html>
<body>
Here's the page
<img border="0" src="images/picture.gif">
</body>
</html>

When I take out the <IMG> section it works fine.

Something to do with the header, or buffer, or ??????
"Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
My guesses are that you're redirecting a page to itself, have an endless
loop in a page, or are using the FSO and suffering from
http://www.aspfaq.com/search.asp?q=n...cript+blocking

Ray at work

"Don Miller" <no****@nospam. com> wrote in message
news:uR******** ******@TK2MSFTN GP12.phx.gbl...
I have an ASP script that is called from a PDF form to process form data.
On
the last line of the script I have a Response.Redire ct "webpage.as p" that leads to another target page with actual HTML. However when I start this process (by submitting form data) even when I comment out the processing code, the address bar shows the desired page, but the page never
appears and
the flag keeps spinning indefinitely (and doesn't stop even after 15
minutes). When I finally press Escape to stop it and then I press

Refresh the page appears immediately.

I've found that if I remove all the HTML code that has links to other

files
(images, javascript, stylesheets) that the target page loads promptly from the same Redirect method.

Does anyone know what could be causing this? It seems IE (or IIS) gets

lost
looking those other files.

Thanks for any tips.



Jul 19 '05 #4
The snippet below was named test.htm and the ASP code redirected to that
file..

"Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message
news:Or******** ******@TK2MSFTN GP11.phx.gbl...
What happens if you rename the file to a .htm file?

Ray at work

"Don Miller" <no****@nospam. com> wrote in message
news:ea******** *****@TK2MSFTNG P11.phx.gbl...
I do have Norton but with Script Blocking OFF, no FSO code. The same thing
(hanging) happens when I redirect to a simple HTML file like:

<html>
<body>
Here's the page
<img border="0" src="images/picture.gif">
</body>
</html>

When I take out the <IMG> section it works fine.

Something to do with the header, or buffer, or ??????
"Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
My guesses are that you're redirecting a page to itself, have an endless loop in a page, or are using the FSO and suffering from
http://www.aspfaq.com/search.asp?q=n...cript+blocking

Ray at work

"Don Miller" <no****@nospam. com> wrote in message
news:uR******** ******@TK2MSFTN GP12.phx.gbl...
> I have an ASP script that is called from a PDF form to process form

data.
On
> the last line of the script I have a Response.Redire ct "webpage.as p"

that
> leads to another target page with actual HTML. However when I start this > process (by submitting form data) even when I comment out the processing > code, the address bar shows the desired page, but the page never appears and
> the flag keeps spinning indefinitely (and doesn't stop even after 15
> minutes). When I finally press Escape to stop it and then I press

Refresh
> the page appears immediately.
>
> I've found that if I remove all the HTML code that has links to other files
> (images, javascript, stylesheets) that the target page loads promptly from
> the same Redirect method.
>
> Does anyone know what could be causing this? It seems IE (or IIS)

gets lost
> looking those other files.
>
> Thanks for any tips.
>
>



Jul 19 '05 #5
So, if you have these two files:

test.asp:

<% Response.Redire ct "test.htm" %>
test.htm:

<html>
<body>
Here's the page
<img border="0" src="images/picture.gif">
</body>
</html>
and load test.asp, IE hangs on the redirect?

Ray at work

"Don Miller" <no****@nospam. com> wrote in message
news:OJ******** ********@TK2MSF TNGP09.phx.gbl. ..
The snippet below was named test.htm and the ASP code redirected to that
file..

"Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message
news:Or******** ******@TK2MSFTN GP11.phx.gbl...
What happens if you rename the file to a .htm file?

Ray at work

"Don Miller" <no****@nospam. com> wrote in message
news:ea******** *****@TK2MSFTNG P11.phx.gbl...
I do have Norton but with Script Blocking OFF, no FSO code. The same thing (hanging) happens when I redirect to a simple HTML file like:

<html>
<body>
Here's the page
<img border="0" src="images/picture.gif">
</body>
</html>

When I take out the <IMG> section it works fine.

Something to do with the header, or buffer, or ??????
"Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
> My guesses are that you're redirecting a page to itself, have an endless > loop in a page, or are using the FSO and suffering from
> http://www.aspfaq.com/search.asp?q=n...cript+blocking
>
> Ray at work
>
> "Don Miller" <no****@nospam. com> wrote in message
> news:uR******** ******@TK2MSFTN GP12.phx.gbl...
> > I have an ASP script that is called from a PDF form to process form data.
> On
> > the last line of the script I have a Response.Redire ct "webpage.as p" that
> > leads to another target page with actual HTML. However when I start
this
> > process (by submitting form data) even when I comment out the

processing
> > code, the address bar shows the desired page, but the page never

appears
> and
> > the flag keeps spinning indefinitely (and doesn't stop even after
15 > > minutes). When I finally press Escape to stop it and then I press
Refresh
> > the page appears immediately.
> >
> > I've found that if I remove all the HTML code that has links to

other > files
> > (images, javascript, stylesheets) that the target page loads promptly from
> > the same Redirect method.
> >
> > Does anyone know what could be causing this? It seems IE (or IIS) gets > lost
> > looking those other files.
> >
> > Thanks for any tips.
> >
> >
>
>



Jul 19 '05 #6
Yes. When the PDF form is submitted to test.asp (exactly as below), it tries
unsuccesfully to completely load test.htm. When I hit Escape it stops trying
and when I press F5(refresh) the page loads immediately, image and all.

When I remove the <img> element from test.htm, and submit the PDF form to
test.asp, test.htm appears immediately. Go figure.

"Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message
news:uH******** ******@TK2MSFTN GP11.phx.gbl...
So, if you have these two files:

test.asp:

<% Response.Redire ct "test.htm" %>
test.htm:

<html>
<body>
Here's the page
<img border="0" src="images/picture.gif">
</body>
</html>
and load test.asp, IE hangs on the redirect?

Ray at work

"Don Miller" <no****@nospam. com> wrote in message
news:OJ******** ********@TK2MSF TNGP09.phx.gbl. ..
The snippet below was named test.htm and the ASP code redirected to that
file..

"Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message
news:Or******** ******@TK2MSFTN GP11.phx.gbl...
What happens if you rename the file to a .htm file?

Ray at work

"Don Miller" <no****@nospam. com> wrote in message
news:ea******** *****@TK2MSFTNG P11.phx.gbl...
> I do have Norton but with Script Blocking OFF, no FSO code. The same thing
> (hanging) happens when I redirect to a simple HTML file like:
>
> <html>
> <body>
> Here's the page
> <img border="0" src="images/picture.gif">
> </body>
> </html>
>
> When I take out the <IMG> section it works fine.
>
> Something to do with the header, or buffer, or ??????
>
>
> "Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message > news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
> > My guesses are that you're redirecting a page to itself, have an

endless
> > loop in a page, or are using the FSO and suffering from
> > http://www.aspfaq.com/search.asp?q=n...cript+blocking
> >
> > Ray at work
> >
> > "Don Miller" <no****@nospam. com> wrote in message
> > news:uR******** ******@TK2MSFTN GP12.phx.gbl...
> > > I have an ASP script that is called from a PDF form to process form > data.
> > On
> > > the last line of the script I have a Response.Redire ct "webpage.as p" > that
> > > leads to another target page with actual HTML. However when I start this
> > > process (by submitting form data) even when I comment out the
processing
> > > code, the address bar shows the desired page, but the page never
appears
> > and
> > > the flag keeps spinning indefinitely (and doesn't stop even after 15
> > > minutes). When I finally press Escape to stop it and then I
press > Refresh
> > > the page appears immediately.
> > >
> > > I've found that if I remove all the HTML code that has links to

other
> > files
> > > (images, javascript, stylesheets) that the target page loads

promptly
> from
> > > the same Redirect method.
> > >
> > > Does anyone know what could be causing this? It seems IE (or

IIS) gets
> > lost
> > > looking those other files.
> > >
> > > Thanks for any tips.
> > >
> > >
> >
> >
>
>



Jul 19 '05 #7
You're right. That makes no sense. You actually see the .htm URL in your
browser? What is it that made you think to remove the <IMG> tag to debug
this as opposed to trying other things? That seems like an odd first step
or even twentieth step. If you do a view-source while the .htm page is
supposedly loading in IE, do you get a source?

Ray at work

"Don Miller" <no****@nospam. com> wrote in message
news:OQ******** ******@TK2MSFTN GP10.phx.gbl...
Yes. When the PDF form is submitted to test.asp (exactly as below), it tries unsuccesfully to completely load test.htm. When I hit Escape it stops trying and when I press F5(refresh) the page loads immediately, image and all.

When I remove the <img> element from test.htm, and submit the PDF form to
test.asp, test.htm appears immediately. Go figure.

Jul 19 '05 #8
> You actually see the .htm URL in your
browser?
Yes, in the address window. And I see "Opening page
http://website/test.htm... in the lower left window.
If you do a view-source while the .htm page is
supposedly loading in IE, do you get a source?
Yes. It's the exactly the same as the .htm code.
What is it that made you think to remove the <IMG> tag to debug
this as opposed to trying other things? That seems like an odd first step
or even twentieth step.
I'm on my 1000th step : (

Early on I created simple test target pages that worked (without graphics or
stylesheets or javascript files), then when I put real pages in, it hanged
(or hung?) Then, I just deleted chunks of HTML code (in a binary fashion)
till I got a page that worked.

I think that the Adobe submit form data code is doing something as I have
other ASP applications that don't have this redirection problem at all.

I thought someone might understand the nuts and bolts of web pages,
downloading images, etc. might know a way to fix whatever Adobe screwed
up????


"Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message
news:ef******** ******@TK2MSFTN GP12.phx.gbl... You're right. That makes no sense. You actually see the .htm URL in your
browser? What is it that made you think to remove the <IMG> tag to debug
this as opposed to trying other things? That seems like an odd first step
or even twentieth step. If you do a view-source while the .htm page is
supposedly loading in IE, do you get a source?

Ray at work

"Don Miller" <no****@nospam. com> wrote in message
news:OQ******** ******@TK2MSFTN GP10.phx.gbl...
Yes. When the PDF form is submitted to test.asp (exactly as below), it

tries
unsuccesfully to completely load test.htm. When I hit Escape it stops

trying
and when I press F5(refresh) the page loads immediately, image and all.

When I remove the <img> element from test.htm, and submit the PDF form to test.asp, test.htm appears immediately. Go figure.


Jul 19 '05 #9

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

Similar topics

1
2714
by: Jarrod | last post by:
Hi all, Just wondering if you would be able to help me out with a bit of a problem I am having. I am apparently running IIS 5.1 on my computer (win xp pro) and all of a sudden ASP pages won't load (that is, they worked last week). They just hang. htm files load fine. The thing is that they sometimes work (some pages) for a little while after
3
5923
by: Don Miller | last post by:
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...
0
2583
by: iqbal | last post by:
Hi, I have 2 sql servers (A and B) and have established a link between them using sp_addlinkedserver. I have created a table (test) on sql server A. I have created a view (test) on sql server B that selects from the table (test) on sql server A. When I select from the view on sql server B I am able to retrieve rows from the view(on B)/table(on A) with the following query: Query on sql server B (where test is the view)
2
1880
by: Brian Salentine | last post by:
Hi - We have two SQL 2000 Servers. We have the linked server setup and we can perform updates and inserts between the databases. But when we add a trigger and insert something into a table, the database hangs. There are NO processes blocking or being block in either database. This ONLY occurs when we have one OS as Windows 2000 Server and the other OS as Windows 2003 Server. This problem does not occur when both servers are Windows...
9
3254
by: Klem | last post by:
Hi I am expiriancing a very,very strange problem. I have an asp.net application that hangs (sometimes) when trying to execute Response.Redirect("page.aspx",true) command. What is very strange is that it behaives differently when accessed from different locations even where IE browsers are the same version. It works without any problems on localhost. It also works without any
5
4878
by: =?Utf-8?B?d2ViZ3V5QGNvbW11bml0eS5ub3NwYW0=?= | last post by:
We have been running into some problems where using Response.Redirect causes the page to hang and it never actually redirects. Here's the scenario: User opens the page, selects an item from the drop down list and then clicks one of a couple of buttons to send them off to another page. We do a little bit of validation in the Event Handler and then do a Response.Redirect off to the next page. Then the page just sits there and never...
0
1662
by: Arno Stienen | last post by:
Perhaps I should be a bit more specific. When using this code to connect to a remote XML-RPC server (C++, xmlrpc++0.7 library): import xmlrpclib server = xmlrpclib.Server("http://10.10.101.62:29500") print server.Connection_Request("roberto") the Python command line 'hangs' until I kill the server. Then, the correct output is suddenly displayed:
3
2740
by: =?Utf-8?B?UGF0UA==?= | last post by:
We have a site that gets many requests for nonexistent pages, files and folders. We want those requests redirected to the index page. However, for static files (i.e. images and some other extensions) we do not want to redirect and in that case want to return nothing. We had been using the 404 error page to redirect but need to discriminate the type of file being requested so that we do not return a page when an image is required. We'd...
2
5528
by: Patrick Finnegan | last post by:
Running db2 8.2 ON aIX 5.3. We have a third party USEREXIT program that periodically hangs for some unknown reason. Db2 generates error message to the diag log. MESSAGE : Successfully archived log file S0011930.LOG to USEREXIT from
0
9728
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9605
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10648
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10135
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9205
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7670
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5554
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5692
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4339
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.