Copied to clipboard

Flag this post as spam?

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


  • Ian Robinson 79 posts 143 karma points
    Oct 17, 2011 @ 16:46
    Ian Robinson
    0

    Upload in URL Picker fails only on IE for "given path's format is not supported"

    Hi,

    Can someone help me this error please?

    Exception Details: System.NotSupportedException: The given path's format is not supported.

    It's occuring when I try to upload a file using the uComponents URL Picker, but only in internet explorer 7 or 8.  No error occurs if I use internet explorer 9, the Firefox or Chrome.  Is it a setting in IE 7 or 8 or do I need to set something in the Umbraco web config?

    My "requestLimits" node in the web config is set to 50 MB and the PDF and word files I'm trying to upload are only a few K in size.

    <requestLimits maxAllowedContentLength="52428800"></requestLimits>

    Here is the full error message:

    Stack Trace: 

    [NotSupportedException: The given path's format is not supported.]

       System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath) +12651544

       System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath) +165

       System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) +112

       System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, AccessControlActions control, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath) +57

       System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath) +1957

       System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) +229

       System.IO.FileStream..ctor(String path, FileMode mode) +106

       System.Web.HttpPostedFile.SaveAs(String filename) +160

       uComponents.Core.DataTypes.UrlPicker.UrlPickerDataEditor.Save() +311

       uComponents.Core.DataTypes.UrlPicker.UrlPickerDataType.DataEditorControl_OnSave(EventArgs e) +22

       umbraco.controls.ContentControl.saveClick(Object Sender, ImageClickEventArgs e) +185

       System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +134

       System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +165

       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3691

     

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Oct 17, 2011 @ 16:55
    Jan Skovgaard
    0

    Hi Ian

    What version of Umbraco are you using? And what version of uComponents?

    /Jan

  • Ian Robinson 79 posts 143 karma points
    Oct 17, 2011 @ 16:57
    Ian Robinson
    0

    Hi Jan,

    Umbraco v4.7.1 and uComponents v2.1.

    It was freshly installed about 2 weeks ago.

  • Ian Robinson 79 posts 143 karma points
    Oct 18, 2011 @ 18:42
    Ian Robinson
    0

    Has anyone seen this issue before or can anyone point me in the right direction to finding a solution?

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Oct 18, 2011 @ 18:55
    Tom Fulton
    1

    Hi,

    You might try upgrading to uComponents 2.2 Beta - I'm running that and not seeing this issue here.

    -Tom

  • Ian Robinson 79 posts 143 karma points
    Oct 19, 2011 @ 20:58
    Ian Robinson
    0

    That worked a treat Tom, thanks.

    It looks like the beta version doesn't have this issue.

    Now that's fixed, I'm going to take a look at your "Document Type Dashboard", it looks pretty handy.

Please Sign in or register to post replies

Write your reply to:

Draft