Hello,
I am running demo of CKFinder ASP.NET version and I really consider to buy a licence for our private gallery. Everything is working good, I am running Windows 2003 server SP2, IIS 6 with integrated ASP.NET 2.x., but there is one thing I cannot fix. I have read many topics, feeds, google search results, but I cannot find solution, how to fix AppPool behaviour when many files are change (deleted) or simply after renaming a directory with some files inside.
It always restart application pool and CKFinder cannot read any other directory content, cannot expand (+) directories etc. User always *must* logon again. After that CKFinder works normaly. There is an error message about insuficient permisions (czech language on screenshot). I guess it is because my value for Session("CKFinder_UserRole") is reset.
I have created AppPool fo CKFinder, tried to set everything possible to keep it running without restart, but no help.
I have very simple implementation like site with my index.aspx and ckfinder files. Users log in on index.aspx, session Session("CKFinder_UserRole") is set for permission. Nothing more. Just easy like a piece of cake.
Can anybody help, how to set ASP.NET directive for my simple web gallery not restarting AppPool after condition described above? What can I set in index.aspx ? Or in web.config ?
Thank you for any help or ideas. Google does not help me :-(
SOLVED!
According to my test, there is no way fix described issue with any configuration parameters. I really do not want to rewrite asp.net code for Delete or Move functions by myself. Only working fix is move "userfiles" subdirectory outside application folder and link it back using junction, linkd, mklink or any other tool for creating links on NTFS. (both must have same NTFS permission set, link itself and the userfiles directory too)
Developers should consider to change distribution archive structure, because simply "userfiles" inside ckfinder folder will never work without problems. Its ASP.NET feature to monitor application directory and if many files are modified, ASP.NET restarts whole application, cleaning sessions, cache etc.
CKFINDER
---- APP
---- USERFILES
makelink-manual.txt
See the pictures attached.
Conclusion:
I have tested both CKFinder ASP.NET and PHP versions, I have even handled both versions to use same "userfiles" directory, and I am pretty sure, ASP.NET version is much more better for IIS systems. You can very easilly integrate ASP.NET version into any web, sharing sessions, logins informations, handle logons with Windows usernames etc.
Unfortunately developers of ASP.NET version are probably not so familiar with ASP.NET platform as should be. The major issue described and solved in this topic should not ever appear. It is sure trouble for everyone and will reveal after few tests with files/folder operations. Also lack of pluggins PHP version is significant point to the idea that other versions than PHP are not the mainstream. What´s a pity.
But CKFinder itself is a very good web application.
Attachments:
Hello,
Hello,
Have you been able to integrate ckfinder with ekeditor or used the stand alone version only in ASP.Net?
I am using CKFinder for ASP
I am using CKFinder for ASP.NET only, CKEditor is not needed.
But according to your another post about missing "bin" directory I guess, you have not make ckeditor / ckfinder virtualfolder as application dir. You can see my IIS Manager (v6) icons in previous post attachements, where are "normal" folders and where is Application (galerie). Here you can create bin directory and copy DLL inside.
Testing from VS
I am testing the integration from VS before hosting it on IIS. I am not sure what am I missing here :(