我已进行如下操作:
1、下载FCKeditor_2.6.6.zip、FCKeditor.Net_2.6.3.rar解压后分别放在网站fckeditor和FCKeditor.Net_2.6.3目录中
2、新建userfiles目录,并建立了file、flash、image子目录。安全性设为everyone及所有用户都完全控制。
3、通过IIS设置网站开放写入、目录浏览、脚本资源访问,执行权限为"脚本和可执行文件"
4、通过"工具-->选择工具箱项"菜单加入FCKeditor.Net_2.6.3\bin\Release\2.0\FredCK.FCKeditorV2.dll控件。
5、修改/web.config,增加<configuration><appSettings>
    <add key="FCKeditor:BasePath" value="~/fckeditor/"/>
    <add key="FCKeditor:UserFilesPath" value="~/userfiles/"/>
  </appSettings>
6、修改fckeditor\fckconfig.js,
    var _FileBrowserLanguage = 'aspx' ;
    var _QuickUploadLanguage = 'aspx' ;
    FCKConfig.DefaultLanguage = 'zh-cn' ;
7、修改\fckeditor\editor\filemanager\connectors\aspx\config.ascx,
   private bool CheckAuthentication(){ return true; }
   UserFilesPath = "/userfiles/";
8、创建网页,通过拖动工具箱"FCKeditor"控件生成新控件。
9、其他均正常,就是不能上传和浏览服务器。请高手帮忙查找原因。
附:我用C#。

解决方案 »

  1.   

    使用FredCK.FCKeditorV2.dll2.6.3,在editor\filemanager\connectors\aspx目录下  
    修改config.ascx,配置上传文件路径  
    UserFilesPath = "/UserFiles/";  
    TypeConfig[ "File" ].FilesPat= "%UserFilesPath%file/";
     <add key="FCKeditor:BasePath" value="~/FCKeditor/"/>
      <add key="FCKeditor:UserFilesPath" value="/UserFiles/"/>
    检查IIS应用程序配置
      

  2.   

    检查IIS 用户是否有权限访问此目录
      

  3.   

    上传文件夹userfiles及IIS的访问权限是肯定没问题的,Project是网站虚拟目录,我估计还是路径问题,但我试过用"/UserFiles/"、"~/UserFiles/"、"/Project/UserFiles/"、"~/Project/UserFiles/"都不行。估计还得分析控件的源代码,看看上传路径是怎么生成的了。
    以后有时间再考虑这个问题了。
    我现项目改用eWebEditor了,一点问题都没有,感觉很好用,唯一遗憾的是没有FCKeditor的全屏功能。
      

  4.   

    为什么还在用fck?那古董应该换了。算了,我不做广告,你自己找吧。
      

  5.   

    eWebEditor也有全屏功能,改一下MyStyle属性为coolblue就可以了。