Re: BUG? With A HTTPModule
From: Steven Cheng[MSFT] (v-schang_at_online.microsoft.com)
Date: 03/31/04
- Next message: Patrice: "Re: Closing the browser window after a File Download"
- Previous message: [MSFT]: "RE: Error and double open dialog when downloading Excel file from ASP.NET."
- Next in thread: johndoe_at_driver.net: "Re: BUG? With A HTTPModule"
- Reply: johndoe_at_driver.net: "Re: BUG? With A HTTPModule"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 31 Mar 2004 09:38:34 GMT
Hi,
Thanks for your reply. As you mentioned that you use some certain string to
concate the whole new url which is used to rewrite the Requested path. Have
you also tried a fixed path, for example:
put a test page named test.aspx in the application's root folder and change
the rewritepath code as below:
void OnBeginRequest(object sender, EventArgs a)
{
HttpApplication application = (HttpApplication)sender;
......................// check the querystring
......................
application.Context.RewritePath("http://localhost:8080/CompanyName/test.aspx
");
}
Or you can try the "~/....aspx" url, the "~/" means begin from the
application's root folder(virutal directory) which can help specify the
application's root directory without hardcode it. If the above test still
failed, I'm afraid that it would require intensive troubleshooting. You may
need to submit a service request to
our Product Support Service. We may do some dump analysis on it and see why
the exception happens. Thanks.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
- Next message: Patrice: "Re: Closing the browser window after a File Download"
- Previous message: [MSFT]: "RE: Error and double open dialog when downloading Excel file from ASP.NET."
- Next in thread: johndoe_at_driver.net: "Re: BUG? With A HTTPModule"
- Reply: johndoe_at_driver.net: "Re: BUG? With A HTTPModule"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|