Hello,
I have the .NET verion of 1.3 ckfinder but connected to it via FCKeditor. I'm working off a development machine (XP sp3) and a production server (server 2003). .Net 3.5 on both machines. I've verified that IUSR_<MachineName> had modify on my userfiles directories. On my dev machine, CKFinder works as expected. On the production computer, I can browse the files and images perfectly fine, put when I click on the upload button I get "unknown error".
I've seen references to a "Debug" option, but can't seam to find that in the config.aspx file and If I add it, it's invalid for the namespace. Both machines run the website from a root level, not sub directories, so the basepath on both is just /ckfinder/
Screen shot attached.
I have the .NET verion of 1.3 ckfinder but connected to it via FCKeditor. I'm working off a development machine (XP sp3) and a production server (server 2003). .Net 3.5 on both machines. I've verified that IUSR_<MachineName> had modify on my userfiles directories. On my dev machine, CKFinder works as expected. On the production computer, I can browse the files and images perfectly fine, put when I click on the upload button I get "unknown error".
I've seen references to a "Debug" option, but can't seam to find that in the config.aspx file and If I add it, it's invalid for the namespace. Both machines run the website from a root level, not sub directories, so the basepath on both is just /ckfinder/
Screen shot attached.
Re: Unknown error on image upload (.NET version)
Hi,
It looks to me like a permission issue.
To enable debugging, you should build CKFinder in a debug mode.
Unfortunately, to get rid of the "Unknown error" message during file uploads, you should do some extra manual work.
Please remove the following code:
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Unknown error on image upload (.NET version)
Re: Unknown error on image upload (.NET version)
added ASP_NET as a user to the /userfiles/ folder .. i am thinking that is necessary because its on my local machine right now
perhaps a totally unrelated issue.. but who knows...
turns out i was also getting routed to my friendly error page on startup of the web application, so i added
ASP_NET as a user to one the databases the website uses..
problem is gone..
Re: Unknown error on image upload (.NET version)
Re: Unknown error on image upload (.NET version)
Do you have any other debugging tips so I can actually see where it breaks?
Re: Unknown error on image upload (.NET version)
That text is the error message, but now you have to read it in Fiddler, not in CKFinder.
Re: Unknown error on image upload (.NET version)
Here is the last header. Since I don't know really how this thing works, I cannot debug very well.
Re: Unknown error on image upload (.NET version)
Re: Unknown error on image upload (.NET version)
So sorry about that. Fiddler provides so much info and I'm just overwhelmed with all the data.
Here's the header:
Re: Unknown error on image upload (.NET version)
Thanks to all those who posted above. I set user group "Everyone" (IIS 6) to Modify, reset IIS and it works. Now to figure out exactly which users need write permissions as the "Everyone" group cannot be used as a permanent solution!
Re: Unknown error on image upload (.NET version)