473,289 Members | 1,866 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,289 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 1774
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Stephen | last post by:
I was wondering if someone can help me with an web application design problem. I have a aspx page which builds up an arraylist called addresses and outputs the values in the arraylist items to a...
6
by: \A_Michigan_User\ | last post by:
Ok, I give up... why do 1-4 work fine... but 5-6 give "can't find" errors? 1. Client-side VBscript code: call navigate("\\209.11.22.33\MyDir") 2. Client-side VBscript code: location.href...
3
by: Justin | last post by:
Hi, Im confused here over the usage of Response.Redirect and Server.Transfer. I used frameset for my work, what are the proper usages of the two methods that seems working similar.. The...
4
by: Harsh Thakur | last post by:
Hi, I'd like to know the performance related differences between Response.Redirect and Server.Transfer. I'd like to redirect the user to a different page. I can either do a...
3
by: Alan Silver | last post by:
Hello, Sorry if this is a stupid question, but I can't really see much difference between these tow methods according to the scant info in the SDK. Could anyone enlighten me? TIA -- Alan...
5
by: DougS | last post by:
I have this code behind a button that does not work: Dim sQuote As String = txtQuoteNum.Text Dim iQuote As Int32 = CType(sQuote, Int32) Dim sUrl As String = "Demographics.aspx?Quote=" &...
10
by: Bill | last post by:
In file FIRST.ASP, I've got <% Response.Redirect "SECOND.ASP" %> The redirect is happening, and I'm seeing the content from SECOND.ASP in the browser, but the URL in the browser is still...
2
by: Nathan Sokalski | last post by:
The last two lines of code in the Click event of a Button Control on my page are: Me.WelcomeEmail() Response.Redirect("mainmenu.aspx") The last line of code in Me.WelcomeEmail() is:
9
by: RN1 | last post by:
When a server encounters the line Response.Redirect("abcd.asp") in a ASP script, the server tells the browser that it has to be redirected to another page (which is abcd.asp, in this case)....
3
by: jasonheath.net | last post by:
I apologize in advance for the length of this post. I wanted to get as much detail as possible in here. We have 1 web app that contains the functionality to do some single sign-on logic. The...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

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.