运行总提示“未知错误”或者“404错误”不论是从网上下载好的,还是自己配的,都 是这种错误!请大家帮我看看一般是什么问题,如果是配置错误,请给个配置好的给我,或者给个方向。 

解决方案 »

  1.   


    public override 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 on your system. return true ;
    }