首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

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

2012-01-14 
未能加载类型 Fredck.Fckeditorv2运行出时如下错误:错误7未能加载类型“FredCK.FCKeditorV2.FileBrowserCon

未能加载类型 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; 



热点排行