在web.config的appSettings配置中添加: <add key="aspnet:MaxHttpCollectionKeys" value="5000" /> 转载于:https://www.cnblogs.com/hanwwly/p/3178232.html