IE error: "The given path's format is not supporte Solved

User's avatar
Allan E.
09:59 Aug 19, 2014
I'm trying to install "CKEditor Image Preview Upload+". My site is a ASP.NET based site.

The plugin works perfectly in Chrome and Firefox, i.e. files are uploaded and handled as they should. However, when uploading the exact same files in Internet Explorer (IE11) I get the following error:

"The given path's format is not supported"

And the file are NOT uploaded.

I have tried changing the IE "document mode" to emulate earlier versions, but it doesn't help.

Any ideas?

Thanks a lot.
User's avatar
Allan E.
10:12 Aug 19, 2014
By the way: I bought and downloaded the plugins yesterday. So I guess that I'm using the newest version (can't find any version number).
Support team avatar
JS+
11:27 Aug 19, 2014
Hello,

I will send you the latest versions of the files via e-mail in 5 minutes. There is a little chance that you received a bit old versions (due to technical sales service's delay in files updates).
Please test them.
If the problem won't gone away please check the path to upload directory in configuration of your web server.

P. S.: if the problem occurs in Instant version of plugin too, the chance of error in server side configuration is more.
User's avatar
Allan E.
19:16 Aug 20, 2014
Tried the newest version but I still get the same error.

Did anyone else try this plugin with IE11? Is it a general problem or a problem with my installation?

Thanks.
User's avatar
Allan E.
19:20 Aug 20, 2014
PS: Using the ,NET version of the uploader...
Support team avatar
JS+
07:28 Aug 21, 2014
Here is a line from config on my local test server:
<add key="BaseDir" value="/ckeditor-4.3/plugins/doksoft_uploader/userfiles/" />

This configuration works fine for me.
Could you show your 'Web.config' file contents?

In any case I will check the source code and will try to fix this bug.
User's avatar
Allan E.
08:09 Aug 21, 2014
Thanks for getting back!

Here's the (doksoft-related) content of my web.config. I copied the exact code from your installation guide. Please keep in mind that the upload actually does work in Firefox and Chrome. So I don't think this is a configuration issue or a permission issue.

If I change the uploader-path in the config.js to another uploader script (downloaded from here: github.com/AlfonsoML/CKEditorUploader) it can upload using Internet Explorer.

Maybe the problem is caused by the way Internet Explorer passes the entire path + filename to the uploader instead of just the filename as Chrome and Firefox does (I've sent you a link to an article describing that issue)?

Thank you again for helping.

From my web.config:

In <appSettings>:
<add key="BaseDir" value="/portals/0/userfiles/" />
<add key="FileMaxSize" value="0" />
<add key="ImageMaxSize" value="0" />
<add key="FileAllowedExtensions" value="*" />
<add key="ImageAllowedExtensions" value="*" />
<add key="JPEGQuality" value="95" />
<add key="MaxImgResizeWidth" value="2000" />
<add key="MaxImgResizeHeight" value="2000" />
<add key="MaxThumbResizeWidth" value="500" />
<add key="MaxThumbResizeHeight" value="500" />

In <httpHandlers>:
<add verb="*" path="/doksoft_uploader/uploader" type="DoksoftUploaderLibrary.UploaderHandler, DoksoftUploaderLibrary" />

In <handlers>:
<add name="UploaderHandler" verb="*" path="/doksoft_uploader/uploader" type="DoksoftUploaderLibrary.UploaderHandler, DoksoftUploaderLibrary" />
Support team avatar
JS+
18:28 Aug 25, 2014
Hello,

Yes, the problem was fixed. I send you an update to e-mail right now.
I have tested it in IE8+: now it has workaround for IE bug and works fine.
User's avatar
Allan E.
18:45 Aug 25, 2014
PERFECT!

I installed it and tested in IE11 - it works!

Thank you for the fix and thank you for a great product.