当前位置: 代码迷 >> ASP.NET >> 未能加载类型 Fredck.Fckeditorv2,该怎么处理
  详细解决方案

未能加载类型 Fredck.Fckeditorv2,该怎么处理

热度:6355   发布时间:2013-02-26 00:00:00.0
未能加载类型 Fredck.Fckeditorv2
运行出时如下错误:
错误 7 未能加载类型“FredCK.FCKeditorV2.FileBrowserConnector”。

大家多多指教.

------解决方案--------------------------------------------------------
打开 editor/filemanager/connectors/aspx/config.aspx


修改CheckAuthentication()方法,返回true


C# code 

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 true;