472,122 Members | 1,521 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Issue with Response.Redirect / Server.Transfer

Hi,

I have a problem with getting a redirect to work on our server.

It's worked fine on our server for months, but suddenly won't work and I
can't figure out why.

codewise, It's nothing special:

Response.Redirect("indexThankYou.htm");

instead of redirecting the browser to this page, an JavaScript-alert-style
message comes up with the text:

Cannot Find 'file://E:\wwwroot\mdc00152-learnproengine2_00\index.htm'. Make
sure the path or Internet address is correct.

(No page exists, nor was there ever any mention of it in the code)

I've examined the output with fiddler to find:

<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a
href='E:\wwwroot\mdc00152-learnProEnginev2_00\index.htm'>here</a>.</h2>
</body></html>

I've checked that the aspnet client folder, and it's there and loads with a
code 200 (from fiddler)

Has anyone any ideas why this might have suddenly stopped working? Does
this sound like a cache-ing problem? The code has worked fine previously.

It would be preferable if I could get this working again without rebuilding
the application.

Thanks in advance.

Craig
Nov 8 '06 #1
1 1738
Do you have any third party controls in use with this application?
Perhaps an evaluation or license period has ended and this is a
misguided way to alert you of the expiration.

I would also check if anyone has installed something new onto the
server or modified the Machine.config. This looks like very strange
behavior.

Brennan Stehling
http://brennan.offwhite.net/blog/

Craig Douglas wrote:
Hi,

I have a problem with getting a redirect to work on our server.

It's worked fine on our server for months, but suddenly won't work and I
can't figure out why.

codewise, It's nothing special:

Response.Redirect("indexThankYou.htm");

instead of redirecting the browser to this page, an JavaScript-alert-style
message comes up with the text:

Cannot Find 'file://E:\wwwroot\mdc00152-learnproengine2_00\index.htm'. Make
sure the path or Internet address is correct.

(No page exists, nor was there ever any mention of it in the code)

I've examined the output with fiddler to find:

<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a
href='E:\wwwroot\mdc00152-learnProEnginev2_00\index.htm'>here</a>.</h2>
</body></html>

I've checked that the aspnet client folder, and it's there and loads with a
code 200 (from fiddler)

Has anyone any ideas why this might have suddenly stopped working? Does
this sound like a cache-ing problem? The code has worked fine previously.

It would be preferable if I could get this working again without rebuilding
the application.

Thanks in advance.

Craig
Nov 18 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Justin | last post: by
4 posts views Thread by Harsh Thakur | last post: by
5 posts views Thread by DougS | last post: by
2 posts views Thread by Nathan Sokalski | last post: by
3 posts views Thread by jasonheath.net | last post: by

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.