Just to clarify something that seems to come up a lot.
The Request object is available in Application_Start it just needs to be
referenced directly via:
System.Web.HttpContext.Current.Request
This is really in response to common question of
"How do I get the current virtual directory in Application_Start?"
(http://groups.google.com/group/micro...a7280d56dac3f7)
So there is no need to go parsing this, that or the other, the virtual
directory can be easily retrieved from the Request object in
Application_Start via:
System.Web.HttpContext.Current.Request.Application Path