Error message when adding on FCKeditor. "The server didnt send back a proper XML response. Please contact your system administrator."

Posted on 2009-04-26
Last Modified: 2013-11-19
I'm using FCKeditor 2.6.4  in my website designed with ASP.NET 2005 and c#.
When I try to add an image to the html, using Image button a page will show up(pic 1).
The error occures when I click on "Browse Server". the error  (pic 2) is:

"The server didnt send back a proper XML response. Please contact your system administrator."
"XML request error: OK (200) "

I found hundreds of questions on the internet but no one could solve my problem.
Please tell me what to do.
Question by:Elham_Seif
    LVL 5

    Accepted Solution

    A few questions / possible ideas

    1) do you know what your memory limit is? Could be possible the server is running out of memory before the form is finishing.

    2) does this work better in one browser than another? Any difference at all?

    3) How large is the image you are uploading? Try and test with a tiny image just to see if that makes a difference.

    4) does the error come as soon as you click browse? Or does it come after you choose the file to upload and click OK?

    4) It looks like the editor is calling up a php script to handle the request. Is php not installed on the server? Looks like FCK editor either isn't installed correctly or requires php to be installed? Did you follow the best practices here for installation of fckeditor?:

    Author Closing Comment

    Thanks for your hint about PHP script. PHP wasn't installed on my computer. But Instead of installing PHP I just changed a parameter
    _FileBrowserLanguage and _QuickUploadLanguage in fckconfig.js from PHP to ASPX. This way I use connector.aspx instead of connector.PHP.
    Then there was another error about activing connector.aspx which was easily solved by returning true in it's CheckAuthentication method in config.ascx.
    after that I faced another error with error code 500. I solve it by managing UserFilesPath parameter in config.ascx file. I set it to
      UserFilesPath = Request.ApplicationPath + "/"; // "/userfiles/";
    and I add image directory to the root of my application.
    Anyway, thanks for your help.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Suggested Solutions

    Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
    Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
    The viewer will learn how to dynamically set the form action using jQuery.
    This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now