Virtual directory & different app pools

Last post 05-14-2008, 2:30 PM by michael@averetek.com. 4 replies.
Sort Posts: Previous Next
  •  03-20-2008, 4:09 PM 38211

    Virtual directory & different app pools

    Our IIS configuration is as follows:
     
    http://www.site1.com (.NET 1.1) - ApplicationPool1
    http://www.site1.com/bettersite (.NET 2.0) - ApplicationPool2
     
    We have CuteEditor 5.1 running in both sites.
     
    For the root site everything works fine. For the "bettersite" when CuteEditor initializes it renders, but throws several errors at the same time. Errors like this:
     
    The virtual path '/cutesoft_client/cuteeditor/cuteeditor_gecko.js.aspx' maps to another application, which is not allowed. 
    The virtual path '/cutesoft_client/cuteeditor/themes/custom/style_gecko.css.aspx' maps to another application, which is not allowed.
    The virtual path '/cutesoft_client/cuteeditor/cuteeditor_gecko.js.aspx' maps to another application, which is not allowed.
     
    All of the Cute toolbar images render properly, but the editor does not work in IE6 or FireFox - somehow it works in IE7.
     
    In any case, we've attempted to override this by setting FilesPath=/bettersite/Cutesoft_Client/cuteeditor but that didn't work.
     
    Thanks in advance for the help.
  •  03-24-2008, 10:44 AM 38294 in reply to 38211

    Re: Virtual directory & different app pools

    http://www.site1.com (.NET 1.1) - ApplicationPool1
     
    Copy version 1.1 DLL to the bin folder of this directory and client files to the root of this site.
     

     
    http://www.site1.com/bettersite (.NET 2.0) - ApplicationPool2
     
    Copy version 2.0 DLL to the bin folder of this directory and client files to the http://www.site1.com/bettersite.
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  05-06-2008, 8:12 PM 40119 in reply to 38294

    Re: Virtual directory & different app pools

    Yep did that but still receive the error.
     
    Any other thoughts?
     
    thanks,

  •  05-07-2008, 11:25 AM 40172 in reply to 40119

    Re: Virtual directory & different app pools

    michael,
     
    Can you post the error message? Can you provide more information about this issue?

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  05-14-2008, 2:30 PM 40397 in reply to 40172

    Re: Virtual directory & different app pools

    you bet.
     
    Last Error: Inner Exception
    Source: System.Web
    Message: The virtual path '/cutesoft_client/cuteeditor/template.aspx' maps to another application, which is not allowed.
    Stack: at System.Web.VirtualPath.FailIfNotWithinAppRoot()
    at System.Web.HttpContext.RewritePath(VirtualPath filePath, VirtualPath pathInfo, String queryString, Boolean setClientFilePath)
    at System.Web.HttpContext.RewritePath(String filePath, String pathInfo, String queryString, Boolean setClientFilePath)
    at Sitecore.Pipelines.HttpRequest.ExecuteRequest.Process(HttpRequestArgs args)

    Outer Exception
    Source: mscorlib
    Message: Exception has been thrown by the target of an invocation.
    Stack: at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
    at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo method, Object[] parameters, Object obj)
    at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)
    at Sitecore.Pipelines.CorePipeline.Run(String pipelineName, PipelineArgs args, String pipelineDomain)
    at Sitecore.Web.HttpModule.HttpApplication_BeginRequest(Object sender, EventArgs e)
    at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

     
View as RSS news feed in XML