Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Paul de Quant 403 posts 1520 karma points
    May 17, 2017 @ 06:57
    Paul de Quant
    0

    Umbraco.Core.UmbracoApplicationBase : An unhandled exception occurred

    Hello,

    We're starting to get this error appear repeatedly on our website.

    Umbraco.Core.UmbracoApplicationBase : An unhandled exception occurred
    

    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

  • Craig Mayers 164 posts 508 karma points
    May 17, 2017 @ 11:56
    Craig Mayers
    0

    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

  • Paul de Quant 403 posts 1520 karma points
    May 18, 2017 @ 07:00
    Paul de Quant
    0

    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

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    May 18, 2017 @ 07:17
    Dave Woestenborghs
    0

    Hi Paul,

    The error states :

     Illegal characters in path
    

    Maybe the path to your seperate media folder is not correct ?

    Dave

  • Craig Mayers 164 posts 508 karma points
    May 18, 2017 @ 08:12
    Craig Mayers
    0

    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

  • Craig Mayers 164 posts 508 karma points
    May 18, 2017 @ 08:17
    Craig Mayers
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft