I just installed the ASP.Net 2.0 runtime and I'm having issues with getting SSI to work correctly for websites configured for the 2.0 framework (1.1 still works fine). I have my customer website setup per the
49749 KB article (all steps). But whenever I view a page with SSI, the runtime still thinks my include files are in the c:\inetpub\wwwroot\include\ directory instead of the application directory y:\default\main\...\WORKAREA\web\include\.
Anyone have an asp.net 2.0 website with SSI serving properly?
Here is some other relevant info:
- SSI ISAPI module installed, but not relevant to this issue
- Fails with or without going through iwproxy
- Application space created at workarea\web\
child.aspx:
[HTML]
....
....
[/HTML]
The full Event Viewer error:
Event code: 3006
Event message: A parser error has occurred.
Event time: 3/20/2006 6:36:53 PM
Event time (UTC): 3/20/2006 6:36:53 PM
Event ID: 37db388c3c7f432fbe5061c8f66aec36
Event sequence: 6
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/2/Root/iw-mount/default/main/projects/project_name_here/WORKAREA/client/web-1-127873534068281250
Trust level: Full
Application Virtual Path: /iw-mount/default/main/projects/project_name_here/WORKAREA/client/web
Application Path: Y:\default\main\projects\project_name_here\WORKAREA\client\web\
Machine name: TSPROD01
Process information:
Process ID: 3944
Process name: aspnet_wp.exe
Account name: TSPROD01\ASPNET
Exception information:
Exception type: HttpParseException
Exception message: Could not find a part of the path 'C:\Inetpub\wwwroot\include\header.aspx'.
Request information:
Request URL: http://localhost:81/iw-mount/default/main/projects/project_name_here/WORKAREA/client/web/child.aspx
Request path: /iw-mount/default/main/projects/project_name_here/WORKAREA/client/web/child.aspx
User host address: 127.0.0.1
User:
Is authenticated: False
Authentication Type:
Thread account name: TSPROD01\ASPNET
Thread information:
Thread ID: 1
Thread account name: TSPROD01\ASPNET
Is impersonating: False
Stack trace: at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath)
at System.Web.UI.TemplateParser.ParseInternal()
at System.Web.UI.TemplateParser.Parse()
at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType()
at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider)
at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders()
at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)