Urgent, huh?
Well it sounds like the loop isn't advancing. There are lots of reasons why a loop might not advance, the most likely is that there is an error that is negating the advancing mechanism. An error would normally cause the page to stop, but if you use an "on error" line that may keep the loop cycling continuously.
A second reason the loop may not advance is if you re-used a variable between the two pages and as the variable is called, it cancels the loop's advance.
So I suggest trying two things: first comment out your error handlers. (this might point out the problem by itself) Second, put in a line that displays the loop index each time the loop executes (this just lets you observe the looping, allows you to verify that it goes correctly):
-
for x = 1 to 30
-
response.write "<!-- x: " & x & " -->" & vbNewLine
-
next
-
Jared