I'm having problems with uploading files using FCKeditor. For example when I try to upload a PDF, I am just left with the message "Upload in progress, please wait". The browser popup window progress bar completes (on both IE and Firefox) but the message remains and no file is uploaded.
The odd thing is that it does work sometimes, and seems to favour smaller files. E.g. a 16Kb PDF uploaded fine, but a 500Kb one didn't. So it won't be down to permissions.
As a bit of background, I'm using ASP as the server-side technology, and I have other non-FCKeditor forms on the same site that upload large files without a problem.
Please help, this is driving me crazy!
The odd thing is that it does work sometimes, and seems to favour smaller files. E.g. a 16Kb PDF uploaded fine, but a 500Kb one didn't. So it won't be down to permissions.
As a bit of background, I'm using ASP as the server-side technology, and I have other non-FCKeditor forms on the same site that upload large files without a problem.
Please help, this is driving me crazy!
RE: Bizarre upload problems
When using the test.html script, I get a more detailed error. Again, only happening when uploading larger files:
Request object error 'ASP 0104 : 80004005'
Operation not Allowed
/admin/fckeditor/editor/filemanager/browser/default/connectors/asp/class_upload.asp, line 122
line 122 equates to:
oSourceData.Write Request.BinaryRead(nTotalSize)
Any help much appreciated!
TIA,
Phil
RE: Bizarre upload problems
Okay I've finally got to the bottom of this and thought I'd post the solution (seeing as nobody seems to know the answer).
The issue lies with a filesize upload limit within IIS. If you use components such as ASPUpload this is bypassed, however as FCKeditor uses the Netrube upload code (uploading using an ADODB Stream), it falls victim of this. You need to use the metabase editor for IIS, and change the value of MaxRequestEntityAllowed to a higher value.
These are the links which led me to the solution:
http://www.devnewsgroups.net/group/micr ... c5982.aspx
more info:
http://msdn.microsoft.com/library/defau ... b3e9e2.asp
Cheers,
Phil