Hi,
I'm newbee into use FCKeditor.
I tried to install it into my existing homepage. Wich are located on my local maschine on local host/ansi.
I followed the steps in: http://wiki.fckeditor.net/Developer%27s ... on/ASP.Net
But I get the error: "The server didn't send back a proper XML response".
I have made a UserFiles in the ANSI folder under the local host - like this:
Inetpub
..wwwroot
....ANSI
......FCKeditor
......UserFiles
I tried to put the files from http://sourceforge.net/project/showfile ... _id=137125 into the FCKeditor folder (I have also tried into the ANSI folder)
Regarding rights on the server, I have give the following ALL rights on all the folders in ANSI (and also in wwwroot to be sure) I have also checked that the same rights for the users is in UserFiles:
Administrators
ASP.NET Machine Account
Everyone
Guests
IIS_WPG
Internet Guest Account
LOCAL SERVICE
NETWORK
NETWORK SERVICE
SYSTEM
Users
I have tried to upload it to an server - and get the same problem there.
I'm desperat. I need this for my user to use, but cannot use it, if the user cannot see the images he/she upload, to put on her webpage.
Please can anyone help me?
Kind regards,
simsen
Thu, 04/12/2007 - 09:15
#1
RE: asp.net image upload
Hello there,
I am a having a problem a bit like yours.. but the thing is.. this xml error happens when we try listing the files ... and written this problem to another topic hope we found the cure if you find a way to fix this please write it in here i ll to the same..
Thanx,
Cihan
RE: asp.net image upload
Hi Cihan,
I've found out, that I could set the relative path from my own code.
I did that by adding the following line into the cs file in the page load on that page that that shows the fckeditor:
protected void Page_Load(object sender, EventArgs e)
{
Application["FCKeditor:UserFilesPath"] = "~/UserFiles";
}
Now I don't get the error anymore.....BUT I now have another problem.....that the image does not be shown in the editor.....I will make a new question about that.
Kind regards,
simsen
RE: asp.net image upload
Thank you for your answer ... I followed the steps as it was just on wiki and I set the UserFilesPath from webconfing I also tried your fix but still getting error.. Hope I can find the reason soon
Thanx,
Cihan
RE: asp.net image upload
Does your application run in the "Full Trust" security context? I know there is an issue with the ASP.NET file browser blowing up and giving that error if you are running in less-than "Full Trust". I stumbled across that issue deploying an application to a shared hosting provider that ran in "Medium Trust" mode.
Check both your web.config and the system.config on your server and verify that setting. If so, another user created a fix for this bug. If you search around the forum, you should be able to find the post.
-- T
RE: asp.net image upload
Hi Cihan,
I did it the same way as you.......but it wasn't enough......
That becauce in FileWorkerBase.cs file, FCKeditor first checks on application level, then sessions and third webconfig.....
I had, as I wrote to you, to put it on application level... I did it by typing
Application["FCKeditor:UserFilesPath"] = "~/UserFiles";
in Page_Load in that cs file where I put the FCKeditor
Kind regards
simsen