Wednesday, July 27, 2005

Path must be rooted - with mod_aspdotnet

That means i have to add the other applications under "root"


Now www.example.com/application1/index.aspx is already mounted in apache configuration


but www.example.com/application2/index.aspx is not so that was the error



Here is the error trace


[ArgumentException: Path must be rooted.]


System.Web.Util.UrlPath.GetDirectory(String path) +161 System.Web.UI.TemplateControlParser.CompileAndGetParserCacheItem(String virtualPath, String inputFile, HttpContext context) +46 System.Web.UI.TemplateControlParser.GetCompiledInstance(String virtualPath, String inputFile, HttpContext context) +36 System.Web.UI.PageParser.GetCompiledPageInstanceInternal(String virtualPath, String inputFile, HttpContext context) +43 System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String path) +44 System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, String path, String pathTranslated, Boolean useAppConfig) +691 System.Web.MapHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +95


System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +173

No comments: