Response.Redirect & IIS 6 Problems

M

Matt MacDonald

Hi everyone,
I'm seeing this problem more and more often. Not sure if it's me or IIS
or both. Here's the general scenario:

I have an ASP.net app that is running and I try to navigate to another page
using a response.redirect(some page), all I get is a blank page. The url in
the browser hasn't changed at all and none of the page validation takes
place. The site works fine when hosted locally (WinXP IIS5) but when I move
it to the web server (Win 2003 IIS 6) I get the aforementioned problems.
The fact that the page validation doesn't work either makes me think that
something may have happened to the page already prior to trying to navigate
away (possibly from a previous response.redirect?) Any thoughts on the
issue would be appreciated.

Thanks,
Matt
 
P

Peter Rilling

Do you have SmartNavigation turned on? When you get the blank page, view
the source and see what the contents are.
 
M

Matt MacDonald

Yeah I do, does IIS 6 not support that? Here is the source from the blank
page.

<BODY><ASP_SMARTNAV_RDIR
url="/error.aspx?aspxerrorpath=/pages/mc5bem-form.aspx"></ASP_SMARTNAV_RDIR></BODY>
 
P

Peter Rilling

Make sure that you have the aspnet_client script folder at the root of your
site.

I experienced this some time ago but cannot remember what the exact cause
is. It might have been that the aspnet_client folder was not at the root.
 

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

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top