help with response.redirect

J

john

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
 
G

George Ter-Saakov

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.
 
J

john

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
 
G

George Ter-Saakov

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.
 
J

john

George

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

John
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top