Operation is not valid due to the current state of the object.

当向网站提交大量数据时,可能会遇到错误。解决方法是在WEB.Config配置文件中修改aspnet:MaxHttpCollectionKeys的值,将其从默认的5000增加到更大的数值,如7000,以提高数据提交的上限。

向网站提交数据出现这个错误,提交的数据量比较大。

解决方法:

打开WEB.Config配置文件,找到<add key="aspnet:MaxHttpCollectionKeys" value="5000" />的语句,把value的值改大。比如把5000改成7000,或者更大。

unity APIUpdater encountered some issues and was not able to finish. Unhandled Exception: System.InvalidOperationException: Operation is not valid due to the current state of the object. at Mono.Cecil.ModuleDefinition.ReadSymbols (Mono.Cecil.Cil.ISymbolReader reader) [0x0002f] in <a3989f8c34e6476eaca56644d5639ee8>:0 at Mono.Cecil.ModuleReader.ReadSymbols (Mono.Cecil.ModuleDefinition module, Mono.Cecil.ReaderParameters parameters) [0x0004a] in <a3989f8c34e6476eaca56644d5639ee8>:0 at Mono.Cecil.ModuleReader.CreateModule (Mono.Cecil.PE.Image image, Mono.Cecil.ReaderParameters parameters) [0x00081] in <a3989f8c34e6476eaca56644d5639ee8>:0 at Mono.Cecil.ModuleDefinition.ReadModule (Mono.Disposable`1[T] stream, System.String fileName, Mono.Cecil.ReaderParameters parameters) [0x0000d] in <a3989f8c34e6476eaca56644d5639ee8>:0 at Mono.Cecil.ModuleDefinition.ReadModule (System.String fileName, Mono.Cecil.ReaderParameters parameters) [0x0006c] in <a3989f8c34e6476eaca56644d5639ee8>:0 at Mono.Cecil.AssemblyDefinition.ReadAssembly (System.String fileName, Mono.Cecil.ReaderParameters parameters) [0x00000] in <a3989f8c34e6476eaca56644d5639ee8>:0 at APIUpdater.Framework.Configuration.ObsoleteAttributeBasedConfigurationFactory..ctor (System.String pathToAssemblyWithAttr, System.Boolean reportSourceInformation, System.String[] potentiallyReferencedAssemblyPaths) [0x00079] in <658ad496184746efb4798c63cf56a4bf>:0 at APIUpdater.Framework.Util.IEnumerableExtensions.ComputeConfigurationProvider (System.Collections.Generic.IEnumerable`1[T] assemblyPaths, APIUpdater.Framework.Configuration.ConfigurationProvider provider, System.String[] references) [0x00032] in <658ad496184746efb4798c63cf56a4bf>:0 at ScriptUpdater.Program.ConfigurationProviderFor (APIUpdater.Framework.Configuration.CompilerResponseFile responseFile, System.Text.RegularExpressions.Regex configSourceFilter, APIUpdater.Framework.Log.ConsoleUpdateListener logger) [0x000c8]
最新发布
04-29
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值