Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / August 2007

Tip: Looking for answers? Try searching our database.

Server.Transfer from custom HTTP handler?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
henke.lundin@gmail.com - 28 Aug 2007 14:02 GMT
Hello,

I am having problems with Server.Transfer(string, bool) in the
ProcessRequest method of a custom HTTP handler. I get the "Error
executing child request" error message. The page that I am trying to
transfer to is mapped to the same custom handler.

Does anyone know why this occurs? Does the Server.Transfer method
assume that the target page is mapped to the default aspx Page HTTP
handler?

I am using ASP.NET 2.0.

Any suggestions? Any help would be much appreciated!

Henrik
Kevin Spencer - 28 Aug 2007 15:28 GMT
System.Web.UI.Page inherits HttpHandler. But each Page in an ASP.Net app is
a different derived class from Sytem.Web.UI.Page. Your HttpHandler class
inherits HttpHandler. It is trying to transfer to itself.

Signature

HTH,

Kevin Spencer
Microsoft MVP

DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net

> Hello,
>
[quoted text clipped - 12 lines]
>
> Henrik

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.