这是修改Web.config即可实现。
<?xml version="1.0" encoding="utf-8"?><!--
-->
<configuration>
<system.web>
<compilation debug="true" targetFramework="4.0" />
<httpRuntime maxRequestLength="1073741824"/>
</system.web>
<!--用于设置文件上传的最大允许大小(单位:bytes)-->
<system.webServer>
<security>
<requestFiltering>
<!--修改服务器允许最大长度(1GB)-->
<requestLimits maxAllowedContentLength="1073741824"/>
</requestFiltering>
</security>
</system.webServer>
</configuration>
希望本文所述对大家学习javascript程序设计有所帮助。










