By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,987 Members | 1,607 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,987 IT Pros & Developers. It's quick & easy.

Stumped...

P: n/a
I hope someone can help me figure this out... I have two different pages in
my web app that use this line:

Response.Redirect("review.aspx");

This line is executed in response to a button click, and after I save some
data to session variables. On my local machine, both pages work just fine.
When I uploaded the pages to test at my web host, only one of them works.
On the page that doesn't work, the browser window just goes blank, as if
waiting for the data from the server. The browser address bar still has the
original address in it, not the "redirect" address.

If I comment out this line, then it works fine (except, of course, that the
page just reloads, and doesn't do the redirect). But it doesn't hang. But
as soon as I put this line back in, the page hangs. I've copied the line
from the "working" page, just to make sure there weren't any funky
characters that I couldn't see - although it was compiling just fine, so
that wasn't likely a problem.

Any ideas for what to try? I put in some trace statements, but as I'm not
getting anything from the server, as I said before, the browser window just
goes blank and I don't get to see any trace statements. Since it doesn't
hang with this line commented out, I have to assume this is the problem
spot.

Is there another technique I can use to move the visitor to the next page?

Thanks in advance,
Sheryl
Nov 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
can you check if it happens for Server.Transfer also?

Av.
"shland" <sh****@comcast.net> wrote in message
news:OW**************@TK2MSFTNGP12.phx.gbl...
I hope someone can help me figure this out... I have two different pages
in
my web app that use this line:

Response.Redirect("review.aspx");

This line is executed in response to a button click, and after I save some
data to session variables. On my local machine, both pages work just
fine.
When I uploaded the pages to test at my web host, only one of them works.
On the page that doesn't work, the browser window just goes blank, as if
waiting for the data from the server. The browser address bar still has
the
original address in it, not the "redirect" address.

If I comment out this line, then it works fine (except, of course, that
the
page just reloads, and doesn't do the redirect). But it doesn't hang.
But
as soon as I put this line back in, the page hangs. I've copied the line
from the "working" page, just to make sure there weren't any funky
characters that I couldn't see - although it was compiling just fine, so
that wasn't likely a problem.

Any ideas for what to try? I put in some trace statements, but as I'm not
getting anything from the server, as I said before, the browser window
just
goes blank and I don't get to see any trace statements. Since it doesn't
hang with this line commented out, I have to assume this is the problem
spot.

Is there another technique I can use to move the visitor to the next page?

Thanks in advance,
Sheryl

Nov 18 '05 #2

P: n/a
Hi shland,

how did u deployed those pages on the webhost ?
try copying the dlls from the projects bin folder to your webhost as well
along with the pages.

Regards
Ashish M Bhonkiya

"shland" <sh****@comcast.net> wrote in message
news:OW**************@TK2MSFTNGP12.phx.gbl...
I hope someone can help me figure this out... I have two different pages in my web app that use this line:

Response.Redirect("review.aspx");

This line is executed in response to a button click, and after I save some
data to session variables. On my local machine, both pages work just fine. When I uploaded the pages to test at my web host, only one of them works.
On the page that doesn't work, the browser window just goes blank, as if
waiting for the data from the server. The browser address bar still has the original address in it, not the "redirect" address.

If I comment out this line, then it works fine (except, of course, that the page just reloads, and doesn't do the redirect). But it doesn't hang. But as soon as I put this line back in, the page hangs. I've copied the line
from the "working" page, just to make sure there weren't any funky
characters that I couldn't see - although it was compiling just fine, so
that wasn't likely a problem.

Any ideas for what to try? I put in some trace statements, but as I'm not
getting anything from the server, as I said before, the browser window just goes blank and I don't get to see any trace statements. Since it doesn't
hang with this line commented out, I have to assume this is the problem
spot.

Is there another technique I can use to move the visitor to the next page?

Thanks in advance,
Sheryl

Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.