zoukankan      html  css  js  c++  java
  • 新的错误现出在WebbUPload2.0上,又是一郁闷问题。

    Server Error in '/WAVE' Application.


    Maximum request length exceeded.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Web.HttpException: Maximum request length exceeded.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


    Stack Trace:

     
    [HttpException (0x80004005): Maximum request length exceeded.]
       System.Web.HttpRequest.GetEntireRawContent() +895
       System.Web.HttpRequest.GetMultipartContent() +57
       System.Web.HttpRequest.FillInFormCollection() +253
       System.Web.HttpRequest.get_Form() +50
       System.Web.UI.Page.GetCollectionBasedOnMethod() +70
       System.Web.UI.Page.DeterminePostBackMode() +47
       System.Web.UI.Page.ProcessRequestMain() +42

     


    Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

    这又是一个让我很郁闷的问题,在上传1.02GB的文件时,出现了这个问题,而且是在上传完成后,也就是说文件已经上传成功,但在往HTTPContent里写入数据的时候,IIS,确切的说,是ASP.net发现上传数据太大抛出了异常。
    看来得自己处理这个异常才能上传更大的文件了,否则你的maxRequestLength设置是无效的。

  • 相关阅读:
    亮剑.NET的系列文章之ADO.NET五大类(二)
    Effective C++ 读书笔记之Part6.Inheritance and ObjectOriented Design
    论计算机专业毕业生的人文素养
    LLVM每日谈之十四 如何给Clang添加一个属性
    那些年,面试中遇到的那些奇葩们
    亮剑.NET的系列文章之.NET实现三层架构(三)
    [转]C++预编译头文件
    [转]文件间的编译依赖性
    [转]详解编译预处理
    [转]Visual Studio 2005 IDE 技巧和窍门
  • 原文地址:https://www.cnblogs.com/WuCountry/p/425787.html
Copyright © 2011-2022 走看看