Code: Select all
System.InvalidOperationException was unhandled
Message="Collection was modified; enumeration operation may not execute."
Source="mscorlib"
StackTrace:
Server stack trace:
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.KeyCollection.Enumerator.MoveNext()
at SoftPro.Select.Managers.PrintDispatchManager.HandlerRegistrationCache.RemoveRegistrationsForFailedPackages(IPackageManager packageManager)
at SoftPro.Select.Managers.PrintDispatchManager.HandlerRegistrationCache..ctor(IServiceProvider serviceProvider)
at SoftPro.Select.Managers.PrintDispatchManager.SoftPro.Select.Shell.Printing.IPrintDispatchManager.get_RegisteredHandlerSequence()
at SoftPro.Select.Printing.PrintDispatcher.RunSequence(IPrintJob printJob)
at SoftPro.Select.Printing.PrintDispatcher.Start(IPrintJob printJob)
at SoftPro.Select.Printing.PrintJob.SoftPro.Select.Shell.Printing.IPrintJob.Run()
at SoftPro.OrderTracking.Controls.Documents.ProcessOutput(List`1 requests)
at SoftPro.OrderTracking.Controls.Documents.OnDocumentDealerCompleted(Object sender, DocumentDealerCompletedEventArgs e)
at SoftPro.DocumentDealer.DocumentDealer.Stop(Status completionStatus)
at SoftPro.DocumentDealer.DocumentDealer.ProcessNext()
at SoftPro.DocumentDealer.DocumentDealer.Start()
at SoftPro.OrderTracking.Controls.Documents.DoJob(OutputMode mode)
at SoftPro.OrderTracking.Controls.Documents._printButton_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at Janus.Windows.EditControls.UIButton.OnClick(EventArgs e)
at SoftPro.Common.Controls.CommonButton.OnClick(EventArgs e)
at SoftPro.UI.Controls.SoftProButton.OnClick(EventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at SoftPro.Common.Controls.CommonButton.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(ApplicationContext context)
at SoftPro.Select.Runtime.OnRun()
at SoftPro.Select.Runtime.Start()
at SoftPro.Select.Automation.EnvICE.Start()
at System.Runtime.Remoting.Messaging.Message.Dispatch(Object target, Boolean fExecuteInContext)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at SoftPro.Select.Automation.EnvICE.Start()
at SoftPro.Select.Automation.EnvICE.Run(String rootSuffix, Boolean noSplash, Boolean setupMode, Boolean log, Boolean embedding, Dictionary`2 args, String freeArg)
at SoftPro.Select.Program.Main(String[] args)
InnerException:
Thanks,