[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Me.Response.Redirect loads a white screen

Posted on 2008-11-11
3
Medium Priority
?
716 Views
Last Modified: 2012-05-05
Hi everyone,

I am unsure why, but whenever i call Me.Response.Redirect(MyURL) it opens a white page, If i copy the url from MyURL and paste it manually into a browser it works perfectly.

There is definitely nothing wrong with the MyURL so i am absolutely baffled as to why this is not working.

Thanks,

Xavier.
0
Comment
Question by:locdang
  • 2
3 Comments
 
LVL 2

Expert Comment

by:cmajkrzak
ID: 22935901
Hi Iocdang,

Which version of ASP.Net are you using?

Testing with ASP.NET 2 with Visual Studio 2005
Response.ReDirect("http://www.google.com")
Should work without issue.  Also in your debugging are you using the built in web server within visual studio (assuming your using VS) or IIS/Mono?

I've attached a code snip of what I just tested.

Partial Class _Default
    Inherits System.Web.UI.Page
 
    Protected Sub form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles form1.Load
        Response.Redirect("http://www.google.com")
    End Sub
End Class

Open in new window

0
 
LVL 1

Author Comment

by:locdang
ID: 22935968
This project has to run under ASP Net 1.1.4322 and is working fine on another server. And the server it is running on is a clone of the current one. (have to love virtual environments)


0
 
LVL 1

Accepted Solution

by:
locdang earned 0 total points
ID: 23047943
The issue was smart redirection, it was turned on in the page HTML. All is ok now.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Integration Management Part 2
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses
Course of the Month18 days, 12 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question