I have been trying to get the doksoft uploader to work for my MVC project. The target framework is v4.0
I have been following the guide (http://doksoft.com/blog/asp-net-uploader-configuring.html) but am not having any luck.
My questions are:
1. Does the project have to be target framework 4.5? If so, do you have a v4.0 DLL we could use instead
2. I do not understand what the path should be for the handler. The example is "/doksoft_uploader/uploader" but the uploader is being bundled into the site as a reference. This part seems tailored for PHP, is it necessary and if so, is it the path to the DLL?
3. The directory for upload section states reference from the site root are available, however, are user uploaded content is in a folder outside of the wwwroot (c:\apps\site-name\userfiles). Is it possible to upload content here if i provide a virtual directory to the IIS entry?
Sara P.
14:50 Jan 15, 2015
4. I also notice plugin.js is minified. I am currently getting a "TypeError: window.doksoft_image_i18n is undefined" in firebug and it is impossible to debug.
JS+
10:07 Jan 18, 2015
Hello,
1. Currently we have only one version on compiled DLL. You can just write the option to your IIS to use needed framework's version. Are there any problems with it?
2. The path to uploader is a URL mapped (routed) to your installed IIS application (DOKSoft Uploader). In fact you can change it anyway you want, but please change a URL mapping too.
3. I am not very similar with IIS but I think if you have this directory outside of website's root you can do a link to it and configure baseDir parameter to it. Anyway you will be need to do something about it because you will need not only upload images but and to show (download) them. So the directory must be somehow mapped in your IIS too.
4. What the plugin tells you this mistake? Does it affect any plugin fail? I will check and fix it.
Sara P.
13:23 Jan 21, 2015
Hi
Thank you for coming back to me. I have made the following setting/config changes but the plugin is still not working.
1. I have updated the target framework of our application to .net 4.5
2. I have created a virtual directory "estore_content" in IIS against the website that points to the C:\Apps\website\estore
Within this folder I have added
> "doksoft_uploader/uploader/DoksoftUploaderLibrary.dll"
> "doksoft_uploader/userfiles"
Given all of this, the TinyMCE dialog does not load and I get the following JS error in Firebug:
TypeError: window.doksoft_image_i18n is undefined
Whilst minified so I cannot debug the error appears to occur on "return window["doksoft_image_i18n"][j]......"
I cannot see what is missing. However, I am sure the DLL does not need to be referenced as these are precompiled. Can you please advise.
JS+
07:25 Jan 25, 2015
Hello,
Could you tell me an URL where I can test your installation?
DLL or other server side parts can not affect to loading of the plugins, I think there is some problem with retrieving language files by browser or some other problems on client side.
I do not fully understand why it was happen that it was not included automatically. Does your TinyMCE wrap module uses custom mechanism of loading TinyMCE's plugins?
Maybe manual including it to your page can fix the problem? In that case it will be fully equivalent to default TinyMCE behavior.
Sara P.
09:35 Jan 30, 2015
I have added the script which now loads the modal window. However I am getting a "HTTP Error" when clicking the OK button after selecting an image.
JS+
06:15 Feb 05, 2015
As I can see in browser's debugger you are getting a error #404. That means that you need to check URL of uploader on client side and URL mappings on the server side.
I have been following the guide (http://doksoft.com/blog/asp-net-uploader-configuring.html) but am not having any luck.
My questions are:
1. Does the project have to be target framework 4.5? If so, do you have a v4.0 DLL we could use instead
2. I do not understand what the path should be for the handler. The example is "/doksoft_uploader/uploader" but the uploader is being bundled into the site as a reference. This part seems tailored for PHP, is it necessary and if so, is it the path to the DLL?
3. The directory for upload section states reference from the site root are available, however, are user uploaded content is in a folder outside of the wwwroot (c:\apps\site-name\userfiles). Is it possible to upload content here if i provide a virtual directory to the IIS entry?