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

Invalid URI

Here is my line of code

Page.Response.Redirect("http://about:blank")

Here is the error I am gettin

Invalid URI: The hostname could not be parsed.

Could someone please explain?
Nov 16 '05 #1
4 5753
I think you just want to put:

Page.Response.Redirect("about:blank");

That's an internal page and doesn't use HTTP.

"Chris McIlvoy" <cm******@yahoo.com> wrote in message
news:64**********************************@microsof t.com...
Here is my line of code:

Page.Response.Redirect("http://about:blank");

Here is the error I am getting

Invalid URI: The hostname could not be parsed.

Could someone please explain?

Nov 16 '05 #2
yes i tried that earlier and it doesnt actually redirect the response. it just leaves the current page. thanks for your hel

Nov 16 '05 #3
Actually, to be precise, "about" is a separate protocol. Having
http://about: is the same as saying http://ftp:, it just doesn't make sense.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"John Wood" <j@ro.com> wrote in message
news:OM**************@tk2msftngp13.phx.gbl...
I think you just want to put:

Page.Response.Redirect("about:blank");

That's an internal page and doesn't use HTTP.

"Chris McIlvoy" <cm******@yahoo.com> wrote in message
news:64**********************************@microsof t.com...
Here is my line of code:

Page.Response.Redirect("http://about:blank");

Here is the error I am getting

Invalid URI: The hostname could not be parsed.

Could someone please explain?


Nov 16 '05 #4
Another option is to use view state, and dynamically create a javascript
onLoad event in the client response page that opens 'about:blank'... that's
got more chance of working.

"chris" <cm******@yahoo.com> wrote in message
news:E9**********************************@microsof t.com...
yes i tried that earlier and it doesnt actually redirect the response. it just leaves the current page. thanks for your help

Nov 16 '05 #5

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

Similar topics

4
by: Gerson Kurz | last post by:
I stumbled across this (while using my homebrewn enum class): class test: pass instance = test() setattr(instance, "THIS :*2+~# IS OBVIOUSLY INVALID", 123) I would've expected some kind of...
0
by: James Thornton | last post by:
I'm running PG 7.2.3, and I am getting these notices when running vacuum analzye: spower=# vacuum analyze; NOTICE: Rel sec_browser_properties: TID 935/15: OID IS INVALID. TUPGONE 0. NOTICE: ...
8
by: Glenn A. Harlan | last post by:
Why am I receiving the below error when calling - Path.GetTempFileName() The directory name is invalid. Description: An unhandled exception occurred during the execution of the current web...
30
by: Tim Johansson | last post by:
I'm new to C++, and tried to start making a script that will shuffle an array. Can someone please tell me what's wrong? #include <iostream.h> #include <string.h> int main () {...
5
by: Nick Flandry | last post by:
I'm running into an Invalid Cast Exception on an ASP.NET application that runs fine in my development environment (Win2K server running IIS 5) and a test environment (also Win2K server running IIS...
11
by: Nad | last post by:
Hello, I have a page with two link buttons. When I click on the first one I call server.execute("target.aspx") to view target.aspx on the original page. Then I click on the second link button...
9
by: MR | last post by:
I get the following Exception "The data at the root level is invalid. Line 1, position 642" whenever I try to deserialize an incoming SOAP message. The incoming message is formed well and its...
2
by: none | last post by:
Hi, I'm opening a popup window with JavaScript. It has a command button. This is from the primary source (opener) window: ###################################################################...
3
by: fazulu deen | last post by:
Hi all, For the following code : file_ptr = fopen("pass_fail.txt", "a"); // error line 393 fdisplay(file_ptr, "Test Passed"); fclose(file_ptr);
4
by: robert | last post by:
On a server the binary (red hat) installed python2.4 and also a fresh compiled python2.5 spits "sem_post: Invalid argument". What is this and how can this solved? Robert ============== ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
0
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...

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.