Server Error in '/' Application.

收集修改;枚举operation may not execute.

描述:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details:System.InvalidOperationException: Collection was modified; enumeration operation may not execute.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[InvalidOperationException:收集被改变了d; enumeration operation may not execute.] System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource) +60 System.Collections.Generic.Enumerator.MoveNextRare() +14277867 System.Linq.WhereListIterator`1.MoveNext() +160 Pims.Dal.PTableFillHelper.setValue(PTableFillControl fillControl, NewConfigger configger, Object keyValue, Feature feature, PXmlSelect pSelect, DataRow remoteDataRow, String remoteField, String language) +655 [AccessingRemoteDataForFeatureUsingKeyValueException: Error accessing remote data for Feature 'PerfionID' using key value '32533'] Pims.Dal.PTableFillHelper.setValue(PTableFillControl fillControl, NewConfigger configger, Object keyValue, Feature feature, PXmlSelect pSelect, DataRow remoteDataRow, String remoteField, String language) +936 Pims.Dal.PTableFillHelper.fillData_Read(PTableFillControl fillControl, NewConfigger configger, List`1 retrieveFeatures, PXmlSelect pSelect, DataTable allDataFromRemote, ISesInfo sesinfo) +850 Pims.Dal.PTableFillHelper.FillData(PTable pTable, PTableFillControl fillControl, NewConfigger configger, List`1 retrieveFeatures, PXmlSelect pSelect, DataTable allDataFromRemote, Boolean isClusterQuery, List`1 variantValues, DistinctList`1 restrictToItemIds) +277 Pims.Api.Remotes.RemoteData.fetchCompleted(RemoteConfiguration remoteConfig, PTable pTable, PTableFillControl fillControl, NewConfigger configger, TaskRemoteResult taskRemoteResult, List`1 retrieveFeatures, PXmlSelect pSelect, DistinctList`1 restrictToItemIds) +706 Pims.Api.Remotes.<>c__DisplayClass7_2.b__4() +254 System.Threading.Tasks.Task.Execute() +71 [AggregateException: One or more errors occurred.] System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) +4593189 System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) +13992992 System.Threading.Tasks.Task.Wait() +19 Pims.Api.RemoteFetchTask.Wait() +44 Pims.Api.TaskUtil.RunTaskInList(List`1 taskList, RemoteExecution runType) +1709 Pims.Dal.Table.runTheTaskListInTasks(List`1 taskList, PTable pTable, PXmlQuery query) +190 Pims.Dal.Table.doSelect(PXmlQuery query, DbTransaction trans, SecurityHandling securityHandling, RemoteExecutionCompletedHandler remoteExecutionCompleted, QueryTimer timer) +3919 Pims.Dal.Table.ExecuteQuery(PXmlQuery query, DbTransaction trans, PXmlMethod updateMethod, RemoteExecutionCompletedHandler remoteExecutionCompleted, PXmlQueryResult& queryResultXml, SecurityHandling securityHandling) +1850 Pims.Dal.Table.ExecuteQuery(PXmlQuery query, RemoteExecutionCompletedHandler remoteExecutionCompleted, PXmlQueryResult& pXmlQueryResult, SecurityHandling securityHandling) +106 Pims.Dal.Table.ExecuteQuery(PXmlQuery query, SecurityHandling securityHandling) +87 Pims.Api.Reporter2.PopulateItems(List`1 contextItemIDs) +642 Pims.Api.Reporting.SuperQueryBL_Dal.createReporter2(String reportTitle) +582 Pims.Api.Reporting.SuperQueryBL_Dal.superQuery_ProcessExport(Stream exportStream, String reportTitle, ILongJobInformer informer) +84 Pims.Api.Reporting.SuperQueryBL_Dal.runReport(Report report, OutputAction outputAction, Stream exportStream, DataSet customData, PXmlOutputParamsContainerList outputParamsContainerList, ILongJobInformer informer) +2032 Pims.Api.Reporting.SuperQueryBL_Dal.RunReport(Report report, OutputAction outputAction, Stream exportStream, DataSet customData, PXmlOutputParamsContainerList outputParamsContainerList) +207 Perfion.Api.Output.ReportBuilder.WriteReportOnItems(Stream stream, Int32 contextTypeID, List`1 contextIDs, DataSet customData) +345 Perfion.Api.Output.ReportBuilder.WriteReport(Stream stream, List`1 ids, Nullable`1 leftFeatureId, Nullable`1 rightFeatureId, DataSet customData) +336 Perfion.Api.Output.ReportBuilder.WriteReport(HttpResponse response, List`1 ids, Nullable`1 leftFeatureId, Nullable`1 rightFeatureId, DataSet customData) +145 Pims.Web.APIServices.Report.ReportServer.ProcessRequest(HttpContext context) +3510 Perfion.APIService.Report.ProcessRequest(HttpContext context) +94 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +542 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +75 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +93


Version Information:Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4494.0