473,468 Members | 1,538 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Response.Redirect opens blank page on new server

I have a working ASP.Net application that behaves oddly only on the new
production server. The vast majority of code runs behind web user controls
that sit on aspx pages. On my Login_Page.aspx page, user enters user name,
password, etc into controls on the contained Login_Control.ascx and clicks a
button that redirects them to another page (i.e.
Response.Redirect("Main_Menu_Page.aspx").) Instead of redirecting, the
browser window is completely blank and the URL remains at the
Login_Page.aspx page. If you view the source for the blank page in the
browser, it looks like this:

<BODY><ASP_SMARTNAV_RDIR url="/Index.aspx"></ASP_SMARTNAV_RDIR></BODY>

The new production server is a fairly stock installation of Windows Server
2003

--
Paul Turley, MCSD, MCDBA, MCAD, MSF, MCT, Project+, A+
paul@scout-master.(com - remove parentheses)
www.scout-master.com
Nov 18 '05 #1
1 8207
Paul, this will throw an error if you continue to omit the second,
optional parameter for Response.Redirect. This is a boolean value that
tells asp.net whether or not to continue processing the page (and then
get on to the redirect). I have gotten into a habit of specifying true
or false for this everytime that I use it. Things work much better
now!

"Paul Turley" <paul@createsolutions.(what you use to catch a butterfly)> wrote in message news:<#$**************@TK2MSFTNGP09.phx.gbl>...
I have a working ASP.Net application that behaves oddly only on the new
production server. The vast majority of code runs behind web user controls
that sit on aspx pages. On my Login_Page.aspx page, user enters user name,
password, etc into controls on the contained Login_Control.ascx and clicks a
button that redirects them to another page (i.e.
Response.Redirect("Main_Menu_Page.aspx").) Instead of redirecting, the
browser window is completely blank and the URL remains at the
Login_Page.aspx page. If you view the source for the blank page in the
browser, it looks like this:

<BODY><ASP_SMARTNAV_RDIR url="/Index.aspx"></ASP_SMARTNAV_RDIR></BODY>

The new production server is a fairly stock installation of Windows Server
2003

Nov 18 '05 #2

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

Similar topics

13
by: TinyTim | last post by:
I'm a newbie at ASP & HTML. It seems that when you use server side code and you're going to return a customized HTML form with several fields and labels, you have to do an extensive amount of...
4
by: Max Dupenois | last post by:
I've seen numerous articles with similair (similar sp?) titles to this in my search.. unfortunately none of them seem to contain what i want, (or if they do i need someone to point out my stupidity...
3
by: Sehboo | last post by:
On my ASP page, when I click a button, I want to do three things: 1. Check for some values. 2. Open a new window and pass some values as query string. 3. Redirect to some other page Here...
3
by: Grant | last post by:
What is the difference between server.transfer(page.aspx) and redirect.response(page.aspx)? Some of the users get a blank page if I use redirect.response. I changed it to server.transfer because it...
5
by: john | last post by:
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...
2
by: Tmez | last post by:
FYI Problem: Response.redirect redirects to the same page and the page is blank. Solution: set the page's smartnavitation to false before redirecting. There seems to be a connection between...
4
by: Matt MacDonald | last post by:
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...
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:
5
by: =?Utf-8?B?d2ViZ3V5QGNvbW11bml0eS5ub3NwYW0=?= | last post by:
We have been running into some problems where using Response.Redirect causes the page to hang and it never actually redirects. Here's the scenario: User opens the page, selects an item from the...
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.