473,383 Members | 1,859 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,383 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 1022
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.