Error-SharePoint-1 System.Web.HttpException: 超过了最大请求长度。

找到网站级目录 修改 web.config  配置文件

C:\inetpub\wwwroot\wss\VirtualDirectories

web.config

2097152 kb =2G

1048576 KB =1G

3600 S =  1小时

<system.web> 节点   大小为 kb  时间为s

</system.web>

 <system.web>
    <httpHandlers />
    <customErrors mode="Off" />
    <httpRuntime maxRequestLength="2097152" executionTimeout="3600" requestValidationMode="2.0" requestPathInvalidCharacters="\,*,?,&lt;,&gt;" />
    <authentication mode="Forms">
      <forms loginUrl="/_login/default.aspx" />

posted @ 2020-06-14 21:07  七秒钟得记忆  阅读(78)  评论(0)    收藏  举报