更新时间:2022-02-25 17:46:42
您需要设置web.config
文件以允许大文件。
请参阅 - 设置Web.config以允许上传大型ASP .NET应用程序的文件 [ ^ ]。
You need to set up theweb.config
file to allow large files.
See - Setting up Web.config to allow uploading of large files by ASP .NET applications[^].
修改web.config中的maxAllowedContentLength设置,如
Modify the maxAllowedContentLength setting in the web.config like,
<system.webserver>
<security>
<requestfiltering>
<requestlimits maxallowedcontentlength="2147483648" />
</requestfiltering>
</security>
</system.webserver>
您也可以阅读: http://blogs.msdn.com/b/prashant_upadhyay/archive/2011/07/13/large-file-upload-issue-in-asp -net.aspx [ ^ ]
-KR
You can read this as well : http://blogs.msdn.com/b/prashant_upadhyay/archive/2011/07/13/large-file-upload-issue-in-asp-net.aspx[^]
-KR