Try our conversational search powered by Generative AI!

Problems with TinyMCE - ' Illegal characters in path.'

Vote:
 
I get this error when creating a page using TinyMCE in redactor-mode in EpiServer.



Illegal characters in path. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ArgumentException: Illegal characters in path. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [ArgumentException: Illegal characters in path.] System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional) +10681622 System.Security.Permissions.FileIOPermission.CheckIllegalCharacters(String[] str) +30 System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) +97 System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath) +41 System.IO.File.InternalGetLastWriteTimeUtc(String path, Boolean checkHost) +109 System.Web.Compilation.TimeStampChecker.AddFileInternal(String virtualPath, String path) +34 System.Web.Hosting.MapPathBasedVirtualFile.Open() +46 EPiServer.Editor.TinyMCE.TinyMCEInitOptions.LoadCssStream(String cssVirtualPath) +82 EPiServer.Editor.TinyMCE.TinyMCEInitOptions.ParseStyleFormats(IEnumerable`1 cssFilePaths) +98 EPiServer.Editor.TinyMCE.TinyMCEInitOptions.AddStyleFormats(IDictionary`2 initOptions) +172 EPiServer.Editor.TinyMCE.TinyMCEInitOptions..ctor(InitType initType, IDictionary`2 options, TinyMCESettings settings, PageBase page) +146 EPiServer.Editor.TinyMCE.Editor.OnPreRender(EventArgs e) +506 System.Web.UI.Control.PreRenderRecursiveInternal() +83 System.Web.UI.Control.PreRenderRecursiveInternal() +155 System.Web.UI.Control.PreRenderRecursiveInternal() +155 System.Web.UI.Control.PreRenderRecursiveInternal() +155 System.Web.UI.Control.PreRenderRecursiveInternal() +155 System.Web.UI.Control.PreRenderRecursiveInternal() +155 System.Web.UI.Control.PreRenderRecursiveInternal() +155 System.Web.UI.Control.PreRenderRecursiveInternal() +155 System.Web.UI.Control.PreRenderRecursiveInternal() +155 System.Web.UI.Control.PreRenderRecursiveInternal() +155 System.Web.UI.Control.PreRenderRecursiveInternal() +155 System.Web.UI.Control.PreRenderRecursiveInternal() +155 System.Web.UI.Control.PreRenderRecursiveInternal() +155 System.Web.UI.Control.PreRenderRecursiveInternal() +155 System.Web.UI.Control.PreRenderRecursiveInternal() +155 System.Web.UI.Control.PreRenderRecursiveInternal() +155 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +872 How do I solve this?

Thanks!

Anders



     
#61278
Sep 13, 2012 16:39
Vote:
 

Do you have any non-ascii characters in the editor css files? It's not allowed to have for instance swedish characters in the editmenuname attribute values. If this is required you should use the translation support for style names instead.

#61286
Sep 14, 2012 8:26
Vote:
 

Thanks for the reply!

I downloaded another version of the project and started anew from that and then it worked. Since I hadn't received your reply, I didn't check if the css-file contained any non-ascii-characters. Thanks for the information!

Have a great day!

#61426
Sep 19, 2012 15:16
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.