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!

.../editor.css' is not a valid virtual path.

Vote:
0

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:

  • The development server uses a copy of the live server database.
  • We copied vpp and site folders from live to development.
  • We upgraded on development and everything works fine except a couple of bugs in css for composer and the error mentioned above.
#55481
Dec 05, 2011 12:48
Vote:
0

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.

#55482
Dec 05, 2011 13:46
Vote:
0

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

 

#55484
Edited, Dec 05, 2011 14:29
Vote:
0

Problem solved. Dynamic property which our superwebeditor edited a editor.css path to led to live server. instead of ~/path he entered server/path.

 

 

#55492
Dec 05, 2011 15:38
Vote:
0

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.

#55493
Dec 05, 2011 15:38
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.