I'm using CKFinder version 1.2.3, and running IIS 6.0 on Server 2003 SP2 with .Net 2.0.
I need to be able to upload videos through CKFinder, but whenever I try to upload a file that is 5MB or over, the page's progress bar is replaced with "Done," but the "(Upload in progress, please wait...)" message remains visible and the file never appears in the file list for that folder.
In the config.ascx file, I have tried setting all of the type.MaxSize properties to 0 and finally to 100000000, but this has no effect. Additionally, I have tried the suggested abbreviation "50M," but I receive an error regarding type conversion "CS0029: Cannot implicitly convert type 'string' to 'int'."
A related forum post suggested this solution: http://www.fckeditor.net/forums/viewtopic.php?f=10&t=10030#p26375, however, the file "core/connectors/asp/commandHandler/fileUpload.asp" does not exist.
Finally, I have changed the maximum upload size on IIS, but still this has no effect.
Any help would be greatly appreciated!
Tue, 09/02/2008 - 17:10
#1
Re: File Upload Dying for Files 5MB and Over
That post is specific to the asp version, you are using asp.net so I don't think that it does have exactly the same bug, although there might be other issues with the asp.net version as your type conversion error seems to point out.
Please, verify with a simple asp.net file that you are able to upload files of those sizes so you can test that you have properly configured both the IIS and web.config file
Re: File Upload Dying for Files 5MB and Over
Thanks very much! I added the following entry to my web.config file and it took care of the problem.
<location path="ckfinder">
<system.web>
<httpRuntime maxRequestLength="150000" />
</system.web>
</location>