The server didn't send back a proper XML response

Samnang picture Samnang · Dec 26, 2008 · Viewed 10k times · Source

I'm using FCKEditor in that when "Browse Server" button is clicked the following error is thrown.

The server didn't send back a proper XML response. Please contact your system administrator.

XML Request error: Not Found(404)

Requested URL:

/fckeditor/editor/filemanager/connectors/asp/connector.asp?Command=....

I'm developing and testing my website on IIS7 with .NET.

Answer

Zhaph - Ben Duguid picture Zhaph - Ben Duguid · Dec 27, 2008

I would imagine that you need to ensure that you've configured FCK to use ASPX for the FileBrowserLanguage and QuickUploadLanguage rather than asp.

I've got this set in the CustomFckConfig.js file, rather than modifying the core FckConfig.js file:

// The following value defines which File Browser connector and Quick Upload
// "uploader" to use. It is valid for the default implementaion and it is here
// just to make this configuration file cleaner.
// It is not possible to change this value using an external file or even
// inline when creating the editor instance. In that cases you must set the
// values of LinkBrowserURL, ImageBrowserURL and so on.
// Custom implementations should just ignore it.
var _FileBrowserLanguage    = 'aspx' ;  // asp | aspx | cfm | lasso | perl | php | py
var _QuickUploadLanguage    = 'aspx' ;  // asp | aspx | cfm | lasso | perl | php | py

I can't imagine that IIS7 is configured to serve .asp pages these days - isn't it geared up for .aspx? Seeing as you've tagged this question asp.net, I assume that the rest of your site is running in .Net.