以下是可能的原因:

1、检查路径UserFilesPath

web.config文件中

若发布为独立网站,其格式为: <add key="FCKeditor:UserFilesPath" value="/UploadFiles/"/>
若包含在站点中,其格式为: <add key="FCKeditor:UserFilesPath" value="~/UploadFiles/"/>

 

2、打开JS调试,若提示没有权限

1)、检查服务器上的上传目录本身是否添加了写权限。

2)、找到生成 FredCK.FCKeditorV2.dll的源文件(可到官网下载),在源码文件FileBrowser/FileWorkerBase.cs里找到这样一行代码:
Response.Write( @"(function(){var d=document.domain;while (true){try{var A=window.top.opener.document.domain;break;}catch(e) {};d=d.replace(/.*?(?:\.|$)/,'');if (d.length==0) break;try{document.domain=d;}catch (e){break;}}})();" );

将try{document.domain=d;}catch (e){break;}删除掉,重新编译成dll .

可参考:http://www.cnblogs.com/wangpei/archive/2009/06/27/1512228.html

相关文章:

  • 2021-11-30
  • 2021-11-29
  • 2022-01-02
  • 2021-08-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-27
  • 2021-10-15
  • 2022-12-23
  • 2022-12-23
  • 2021-11-20
  • 2021-08-01
  • 2021-08-01
相关资源
相似解决方案