Thanks for getting back to me. Our Umbraco site is hosted on the Azure Cloud (not Umbraco's one) where our Media folder is actually on a separate storage account. So it's not actually on the same server, so in terms of adding permissions I'm not sure what I can change. The other strange thing is that images still get uploaded normally and if it weren't for the error log you'd be none the wiser there was actually an issue.
It could down to illegal characters being entered for certain media nodes. Can you check that no special characters are being used for the names of the nodes etc. ?
Umbraco.Core.UmbracoApplicationBase : An unhandled exception occurred
Hello,
We're starting to get this error appear repeatedly on our website.
System.ArgumentException: Illegal characters in path. at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths) at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths) at System.IO.Path.GetFullPathInternal(String path) at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath) at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath) at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String path) at System.Web.InternalSecurityPermissions.PathDiscovery(String path) at System.Web.HttpRequest.get_PhysicalPath() at UrlRewritingNet.Web.UrlRewriteModule.OnBeginRequest(Object sender, EventArgs e) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
We're using the UmbracoFileSystemProviders.Azure addon to handle our media files.
Does anyone have any ideas how to fix this? (We're using Umbraco version 7.5.10)
Thanks
Paul
Hi Paul,
From a quick look at the StackTrace you provided... looks like it is a permissions issue.
Have you ensured you have set up all permissions correctly on all your folders?
Take a look at the following guide:
https://our.umbraco.org/documentation/getting-started/setup/install/permissions
Regards
Craig
Hi Craig,
Thanks for getting back to me. Our Umbraco site is hosted on the Azure Cloud (not Umbraco's one) where our Media folder is actually on a separate storage account. So it's not actually on the same server, so in terms of adding permissions I'm not sure what I can change. The other strange thing is that images still get uploaded normally and if it weren't for the error log you'd be none the wiser there was actually an issue.
Thanks
Paul
Hi Paul,
The error states :
Maybe the path to your seperate media folder is not correct ?
Dave
Hi Paul,
It could down to illegal characters being entered for certain media nodes. Can you check that no special characters are being used for the names of the nodes etc. ?
i.e. "example%^;picture.jpg" etc.
Regards
Craig
FYI: Just done a quick google and found this related thread:
https://our.umbraco.org/forum/core/general/63721-ERROR-UmbracoCoreUmbracoApplicationBase-Illegal-characters-in-path
Seems that the issue here was illegal chars too on certain nodes in the media folder.
Thanks
Craig
is working on a reply...