London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
Are both environments running 32-bit or 64-bit? If not then check the virtualPath section in episerver.config. The physicalPath location can be different between 32-bit and 64-bit versions of Windows.
They are both 64-bit environment. checked all configs which could be related to the issues but without luck. Is this path stored in the database ?
Trace log:
[HttpException (0x80004005): 'http://www.mockup.com/editor.css' is not a valid virtual path.] System.Web.VirtualPath.Create(String virtualPath, VirtualPathOptions options) +11256839 System.Web.Hosting.VirtualFile..ctor(String virtualPath) +33 System.Web.Hosting.MapPathBasedVirtualPathProvider.GetFile(String virtualPath) +35 EPiServer.Web.Hosting.VirtualPathVersioningProvider.GetFile(String virtualPath) +747 EPiServer.Web.Hosting.VirtualPathVersioningProvider.GetFile(String virtualPath) +747 EPiServer.Web.Hosting.VirtualPathVersioningProvider.GetFile(String virtualPath) +747 EPiServer.Web.Hosting.VirtualPathVersioningProvider.GetFile(String virtualPath) +747 EPiServer.Web.Hosting.VirtualPathMappedProvider.GetFile(String virtualPath) +122 EPiServer.Web.Hosting.VirtualPathMappedProvider.GetFile(String virtualPath) +122 EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider.GetFile(String virtualPath) +71 EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider.GetFile(String virtualPath) +71 EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider.GetFile(String virtualPath) +71 EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider.GetFile(String virtualPath) +71 EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider.GetFile(String virtualPath) +71 EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider.GetFile(String virtualPath) +71 EPiServer.Editor.TinyMCE.TinyMCEInitOptions.LoadCssStream(String cssVirtualPath) +71 EPiServer.Editor.TinyMCE.TinyMCEInitOptions.ParseStyleFormats(IEnumerable`1 cssFilePaths) +125 EPiServer.Editor.TinyMCE.TinyMCEInitOptions.AddStyleFormats(IDictionary`2 initOptions) +233 EPiServer.Editor.TinyMCE.TinyMCEInitOptions..ctor(InitType initType, IDictionary`2 options, TinyMCESettings settings, PageBase page) +166 EPiServer.Editor.TinyMCE.TinyMCEInitOptions..ctor(InitType initType, TinyMCESettings settings, PageBase page) +47 EPiServer.Editor.TinyMCE.Editor..ctor(TinyMCESettings settings, PageBase page, InitType initType) +65 EPiServer.Web.PropertyControls.PropertyXhtmlStringControl.CreateEditControls() +152 System.Web.UI.Control.EnsureChildControls() +146 EPiServer.Web.PropertyControls.PropertyDataControl.SetupControl() +13 EPiServer.UI.WebControls.PropertyDataForm.SetupPropertyControls(Control control) +186 EPiServer.UI.WebControls.PropertyDataForm.SetupPropertyControls(Control control) +201 EPiServer.UI.WebControls.PropertyDataForm.SetupPropertyControls(Control control) +201 EPiServer.UI.WebControls.PropertyDataForm.SetupPropertyControls(Control control) +201 EPiServer.UI.WebControls.PropertyDataForm.SetupPropertyControls(Control control) +201 EPiServer.UI.WebControls.PropertyDataForm.SetupPropertyControls(Control control) +201 EPiServer.UI.WebControls.PropertyDataForm.CreateChildControls() +1458 System.Web.UI.Control.EnsureChildControls() +146 System.Web.UI.Control.PreRenderRecursiveInternal() +61 System.Web.UI.Control.PreRenderRecursiveInternal() +224 System.Web.UI.Control.PreRenderRecursiveInternal() +224 System.Web.UI.Control.PreRenderRecursiveInternal() +224 System.Web.UI.Control.PreRenderRecursiveInternal() +224 System.Web.UI.Control.PreRenderRecursiveInternal() +224 System.Web.UI.Control.PreRenderRecursiveInternal() +224 System.Web.UI.Control.PreRenderRecursiveInternal() +224 System.Web.UI.Control.PreRenderRecursiveInternal() +224 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3394
Problem solved. Dynamic property which our superwebeditor edited a editor.css path to led to live server. instead of ~/path he entered server/path.
It can be defined as a dynamic property, in episerver.config or as a setting to a property. I would start with checking episerver.config.
When marking a page and choosing to edit it we get :
http://www.mockup.se/editor.css' is not a valid virtual path. Note! not the real path.
1. We copied the live environment to a development server.
2. Upgraded from CMS 6 + Composer 6 to R2 versions.
3. When pressing the edit link to edit a page we get the "not valid" -error. The path references to the live server in the error description, However the path in the config file is correct set to the development server.
Notes: