this connector is disabled错误的解决方法
更新时间:2008年11月15日 13:22:32 作者:
打开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 true;
}
相关文章
一个伴随ASP.NET从1.0到4.0的OutputCache Bug介绍
一个伴随ASP.NET从1.0到4.0的OutputCache Bug介绍,学习.net的朋友可以参考下。2011-11-11
asp.net Reporting Service在Web Application中的应用
由于我们这个项目中使用微软的报表服务(Reporting Services)作为报表输出工具,本人也对它进行一点点研究,虽没有入木三分,但这点知识至少可以在大部分Reporting Service的场景中应用。2008-11-11


最新评论