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.
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
Hi Ian
What version of Umbraco are you using? And what version of uComponents?
/Jan
Hi Jan,
Umbraco v4.7.1 and uComponents v2.1.
It was freshly installed about 2 weeks ago.
Has anyone seen this issue before or can anyone point me in the right direction to finding a solution?
Hi,
You might try upgrading to uComponents 2.2 Beta - I'm running that and not seeing this issue here.
-Tom
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.
is working on a reply...