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

Server.Transfer error

Hi

I user Server.Transfer "MyTest.asp" to redirect the ASP page and it went through successfully
If I used Server.Transfer "MyTest.asp?R=22
The system return "An invalid character was specifiied in the Path parameter for the MapPath method." error
(It seems that system treat parameter string as body of path

This ASP works fine in Windows NT server, but it does not work on Windows 2003 server

Where I am doing wrong

Thanks
Jul 19 '05 #1
2 4237
In NT, you had to be doing a Response.Redirect, not a server.Transfer, since
that didn't exist in IIS 4. You cannot do a server.transfer with a
querystring. When you server.transfer, the querystring in the original
request will be available in the target page, however. So, if you
server.transfer from yourpage.asp?x=1 to secondpage.asp, you can still
access Request.Querystring("x").

Ray at home

"Eugene" <an*******@discussions.microsoft.com> wrote in message
news:52**********************************@microsof t.com...
Hi,

I user Server.Transfer "MyTest.asp" to redirect the ASP page and it went through successfully. If I used Server.Transfer "MyTest.asp?R=22"
The system return "An invalid character was specifiied in the Path parameter for the MapPath method." error. (It seems that system treat parameter string as body of path)

This ASP works fine in Windows NT server, but it does not work on Windows 2003 server.
Where I am doing wrong?
Thanks

Jul 19 '05 #2
http://www.aspfaq.com/2006

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
"Eugene" <an*******@discussions.microsoft.com> wrote in message
news:52**********************************@microsof t.com...
Hi,

I user Server.Transfer "MyTest.asp" to redirect the ASP page and it went
through successfully.
If I used Server.Transfer "MyTest.asp?R=22"
The system return "An invalid character was specifiied in the Path
parameter for the MapPath method." error.
(It seems that system treat parameter string as body of path)

This ASP works fine in Windows NT server, but it does not work on Windows
2003 server.

Where I am doing wrong?
Thanks

Jul 19 '05 #3

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

Similar topics

1
by: Jim | last post by:
Any idea what is causing this error? 006~ASP 0230~Server.Transfer Error~The call to Server.Transfer failed while loading the page. Just read about benefits of Server.Transfer over...
0
by: Srini | last post by:
I am implementing Front Controller in ASP.net as outlined in Microsoft documentation titled "Implementing Front Controller in ASP.NET Using HTTPHandler"...
6
by: Tlink | last post by:
I am using server.transfer from within vb.net, which is called from asp.net I find that I can move to correct page the first time the server.transfer is executed but all subsequent attempts cause a...
3
by: yma | last post by:
Hi, I put a .aspx page inside Server.Transfer() within a button. The page was created for testing so it only has button and I did not add code. When I click the button, it gave me an error...
9
by: Steve Buster | last post by:
All right, I have read every forum, newsgroup etc about this issue and no one seems to know how to fix it. I am getting a "Server Application Unavailable" exception running my .NET 1.1...
1
by: Craig Banks | last post by:
I have 2 ASP.Net solutions/projects. I want to use Server.Transfer in one solution/project to call the aspx webform in the second solution/project. When I try it I get an error message. My call is...
8
by: bryan | last post by:
I've got a custom HttpHandler to process all requests for a given extension. It gets invoked OK, but if I try to do a Server.Transfer I get an HttpException. A Response.Redirect works, but I really...
6
by: n# | last post by:
A Basic Question in ASP.NEt 1.1 In Page_Load Event I am doing a Server.Transfer. But it throws an error on the browser windows showing "Server Application Not Found" Pls help me
4
by: evantay | last post by:
I'm using ASP.NET 2.0 with VS.NET 2005. I'm trying to access properties from my master pages within a page that inherits from that master page (a child page). However the values are always null....
2
by: =?Utf-8?B?YWxiZXJ0b3Nvcmlh?= | last post by:
Hi, I'm using Threads, and when I try to do Server.Transfer, I recieved an error. (child object does not exist...) My Code: Dim t As New Thread(AddressOf Hilo) Private Sub Hilo()...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
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...

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.