在ueditor/net/路径下配置config.json文件,在对应的上传类型处配置上传文件的大小
在ueditor/net/路径下配置web.config文件,配置参数如下
<system.web>节点下在httpRuntime节点中加入maxRequestLength属性
<httpRuntime requestValidationMode="2.0" maxRequestLength="1024000000" />
<system.webServer>节点下(maxAllowedContentLength="104857600"为100M)加入security节点
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="104857600"/>
</requestFiltering>
</security>
若不配置maxRequestLength和maxAllowedContentLength,当在config.json文件中配置的大小超过maxRequestLength和maxAllowedContentLength的默认值时会报HTTP错误(大概意思好像是请求长度超过限制)