【发布时间】:2016-06-28 22:31:00
【问题描述】:
我正在尝试使用下面的自定义 C# 库来上传文件。
Http-Multipart-Data-Parser https://github.com/Vodurden/Http-Multipart-Data-Parser
但我遇到了错误:413 Request Entity Too Large
我在 Google 上搜索了一整天,但仍然无法解决问题。我仍然遇到同样的错误。
如果我使用的是独立的 FileUpload 控件,我可以毫无问题地上传大文件。
在我的 web.config 中,我有:
<system.web>
<httpRuntime executionTimeout="9999" maxRequestLength="419430400" />
<compilation debug="true" targetFramework="4.0" />
</system.web>
知道如何解决这个问题吗?还是使用其他组件上传大文件?
我正在使用带有 VS 2010 的 IIS 10.0,tks
【问题讨论】:
标签: c# file-upload