473,387 Members | 1,515 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,387 software developers and data experts.

help with response.redirect

Hello,

One our thrid page for some reason the response.redirect isn't working
on the live server. It works fine on the development machine but when we
move the code to the live server it doesn't work. The first page is a login
page and the response.redirect does work there but not on the third page.
Any ideas? Thanks in advance.

John
Nov 18 '05 #1
5 2133
What do you mean by saying Response.Redirect isn't working?
Are you getting an error message?
Or nothing is happening?

If nothing is happening most likely your page does not go through validation
phase and it did not execute the Redirect.

Do you have any custom validator(s) on the page. If yes make sure that
Client Validation is set to false if you do not provide Javascript function
for client validation. (It just hapened to me recently).

George.

"john" <jo*********@hotmail.com> wrote in message
news:uy**************@TK2MSFTNGP09.phx.gbl...
Hello,

One our thrid page for some reason the response.redirect isn't working
on the live server. It works fine on the development machine but when we
move the code to the live server it doesn't work. The first page is a login page and the response.redirect does work there but not on the third page.
Any ideas? Thanks in advance.

John

Nov 18 '05 #2
George,

Thanks for the quick response. After clicking the continue button it
just displays a blank page. When we view source it shows the redirect
script. We are not using any custom validator's only the
Requiredfieldvalidator's and the validation summary objects. I disabled and
set client validation = false and am still getting the blank screen. Any
other ideas?

John

"George Ter-Saakov" <no****@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
What do you mean by saying Response.Redirect isn't working?
Are you getting an error message?
Or nothing is happening?

If nothing is happening most likely your page does not go through validation phase and it did not execute the Redirect.

Do you have any custom validator(s) on the page. If yes make sure that
Client Validation is set to false if you do not provide Javascript function for client validation. (It just hapened to me recently).

George.

"john" <jo*********@hotmail.com> wrote in message
news:uy**************@TK2MSFTNGP09.phx.gbl...
Hello,

One our thrid page for some reason the response.redirect isn't working on the live server. It works fine on the development machine but when we
move the code to the live server it doesn't work. The first page is a

login
page and the response.redirect does work there but not on the third page. Any ideas? Thanks in advance.

John


Nov 18 '05 #3
Are you saying that page where you redirect it too is not executed but shows
up as is in the browser "View Source"?

What is the extension of the file you are redirecting too? aspx?
Look like that folder is not configured to run aspx.
Also make sure that you are not redirecting to the local path name (like
c:\intepub\wwwroot\...).

George.

"john" <jo*********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
George,

Thanks for the quick response. After clicking the continue button it just displays a blank page. When we view source it shows the redirect
script. We are not using any custom validator's only the
Requiredfieldvalidator's and the validation summary objects. I disabled and set client validation = false and am still getting the blank screen. Any
other ideas?

John

"George Ter-Saakov" <no****@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
What do you mean by saying Response.Redirect isn't working?
Are you getting an error message?
Or nothing is happening?

If nothing is happening most likely your page does not go through

validation
phase and it did not execute the Redirect.

Do you have any custom validator(s) on the page. If yes make sure that
Client Validation is set to false if you do not provide Javascript

function
for client validation. (It just hapened to me recently).

George.

"john" <jo*********@hotmail.com> wrote in message
news:uy**************@TK2MSFTNGP09.phx.gbl...
Hello,

One our thrid page for some reason the response.redirect isn't working on the live server. It works fine on the development machine but when we move the code to the live server it doesn't work. The first page is a

login
page and the response.redirect does work there but not on the third page. Any ideas? Thanks in advance.

John



Nov 18 '05 #4
George

We have to run regiis.exe -c to fix something. Doing this fix the issue.

John

"George Ter-Saakov" <no****@hotmail.com> wrote in message
news:u$**************@TK2MSFTNGP11.phx.gbl...
Are you saying that page where you redirect it too is not executed but shows up as is in the browser "View Source"?

What is the extension of the file you are redirecting too? aspx?
Look like that folder is not configured to run aspx.
Also make sure that you are not redirecting to the local path name (like
c:\intepub\wwwroot\...).

George.

"john" <jo*********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
George,

Thanks for the quick response. After clicking the continue button
it
just displays a blank page. When we view source it shows the redirect
script. We are not using any custom validator's only the
Requiredfieldvalidator's and the validation summary objects. I disabled and
set client validation = false and am still getting the blank screen. Any
other ideas?

John

"George Ter-Saakov" <no****@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
What do you mean by saying Response.Redirect isn't working?
Are you getting an error message?
Or nothing is happening?

If nothing is happening most likely your page does not go through

validation
phase and it did not execute the Redirect.

Do you have any custom validator(s) on the page. If yes make sure that Client Validation is set to false if you do not provide Javascript

function
for client validation. (It just hapened to me recently).

George.

"john" <jo*********@hotmail.com> wrote in message
news:uy**************@TK2MSFTNGP09.phx.gbl...
> Hello,
>
> One our thrid page for some reason the response.redirect isn't

working
> on the live server. It works fine on the development machine but when we > move the code to the live server it doesn't work. The first page is

a login
> page and the response.redirect does work there but not on the third

page.
> Any ideas? Thanks in advance.
>
> John
>
>



Nov 18 '05 #5
Joe
I am experiencing a similar problem. I am able to redirect from page A to page B to Page C, but when I redirect to D it fails. I get a blank page. In the browser "view source" it shows the redirect script
The application works fine on the development machine but fails on a live server. It seems to be a server problem. Did running regiis.exe -c fix the problem for you. I don't have direct access the server so I need to know what to say to the people hosting the server

Thanks, Jo

Nov 18 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: MikeM | last post by:
We are getting a behavior on a Response.Redirect("SomeUrl", True) that I'm hoping someone can explain. This all refers to the code snip at the end. By the way, this is all VB ASP.NET v1.0 code. ...
9
by: Denise | last post by:
I have posted a similar message in 2 other forums but got no response. I have spent more hours than I can count researching this. Can anyone provide some insight...? Our ASP.Net application...
9
by: Sandy | last post by:
Any help anyone can give me will be appreciated!!!! This is driving me c-r-a-z-y! All I can get from both of the above redirections is a redirect to a page named default.aspx. How do I make...
10
by: isaac2004 | last post by:
hello i am trying to use a response redirect statment to show a message upon deletion of a record from a database. my database is ran though a page with a table with a delete option on the side....
1
by: treelife | last post by:
I'm getting and internal server error when | run the following mod_python script. I am actually trying to run Django. Script: from mod_python import apache def handler(req):...
5
by: ODAN | last post by:
We are testing a ASP.NET application in Visual Studion 2003 and written in C#. One of the pages that register new users on this application fails to redirect to another page when the button is...
3
by: Learner | last post by:
Hello, I have two buttons on one of my VehicleDetails.aspx page. Obiviously these two buttons takes the user to two different pages. Now my client is interested in having a linkbutton instead of...
5
by: venner | last post by:
I'm having an issue with an ASP.NET website after upgrading to ASP.NET 2.0. The website makes use of a central authentication service (CAS) provided at the university I work for. Each page checks...
0
by: hudhuhandhu | last post by:
have got an error which says Input string was not in a correct format. as follows.. Description: An unhandled exception occurred during the execution of the current web request. Please review the...
6
by: AppleBag | last post by:
I'm having the worst time trying to login to myspace through code. Can someone tell me how to do this? Please try it yourself before replying, only because I have asked this a couple of times in...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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?
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.