0

嗨,我在通过 FileUpload 上传更多文件时遇到问题。

 <asp:FileUpload ID="FileUpload1" runat="server" AllowMultiple="true"  />

当我上传最多 4 个文件时,没有问题,但是当我想上传超过 4 个文件时,它不会进入后面的代码,它会抛出这个 exepxion:

[HttpException (0x80004005): Byla překročena maximální délka požadavku.]
   System.Web.HttpRequest.GetEntireRawContent() +9726860
   System.Web.HttpRequest.GetMultipartContent() +63
   System.Web.HttpRequest.FillInFormCollection() +165
   System.Web.HttpRequest.EnsureForm() +75
   System.Web.HttpRequest.get_Form() +12
   System.Web.HttpRequest.get_HasForm() +9728411
   System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull) +95
   System.Web.UI.Page.DeterminePostBackMode() +69
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +130

有人请帮我吗?!?

4

0 回答 0