每次一点上传到服务器就会报这个错误

解决方案 »

  1.   

    是不是忘了改写config.aspx中的UserFilesPath 路径属性,或者该路径不存在?
      

  2.   

    我用的时候 config 文件例这样配置的:
    <appSettings>
    <add key="FCKeditor:BasePath" value="~/fckeditor"/>
    <add key="FCKeditor:UserFilesPath" value="~/UploadFiles"/>
    </appSettings>
    这个是要上传的 文件夹名UploadFiles 如果没有上传时会自动创建,不要该
      

  3.   

    config.aspx文件在哪里啊?我找不到
      

  4.   

    config.aspx里有个验证true,false,改下就好了。
      

  5.   

    你打开editor/filemanager/connectors/aspx/config.ascx修改CheckAuthentication()方法,返回true 试试
    private bool CheckAuthentication()
    {
    // WARNING : DO NOT simply return "true". By doing so, you are allowing
    // "anyone" to upload and list the files in your server. You must implement
    // some kind of session validation here. Even something very simple as...
    //
    // return ( Session[ "IsAuthorized" ] != null && (bool)Session[ "IsAuthorized" ] == true );
    //
    // ... where Session[ "IsAuthorized" ] is set to "true" as soon as the
    // user logs in your system.
           // return false;
    return true;
    }
      

  6.   


    config中的路径修改了可是还是会报错
      

  7.   

    下载FCKEditor编辑器时,有一个文件夹fckeditor,按照错误提示的路径找就可以看见了
      

  8.   

    修改CheckAuthentication()方法,返回true;
    不行的话你删除重新添加,从项目中删除FredCK.FCKeditorV2.dll和文件夹fckeditor,再从项目中重新添加,试试~