Time: 3/3/2016 12:25:50 PM Source: PresentationFramework Message: Cannot set Visibility to Visible or call Show, ShowDialog, Close, or WindowInteropHelper.EnsureHandle while a Window is closing. Stack Trace: at System.Windows.Window.VerifyNotClosing() at System.Windows.Window.CoerceVisibility(DependencyObject d, Object value) at System.Windows.DependencyObject.ProcessCoerceValue(DependencyProperty dp, PropertyMetadata metadata, EntryIndex& entryIndex, Int32& targetIndex, EffectiveValueEntry& newEntry, EffectiveValueEntry& oldEntry, Object& oldValue, Object baseValue, Object controlValue, CoerceValueCallback coerceValueCallback, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, Boolean skipBaseValueChecks) at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType) at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal) at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value) at System.Windows.UIElement.set_Visibility(Visibility value) at ZEKSProClient_UAT.Quotation.Window_Closed(Object sender, EventArgs e) Time: 3/3/2016 3:14:18 PM Source: mscorlib Message: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index Stack Trace: at System.Collections.ArrayList.get_Item(Int32 index) at ZEKSProClient_UAT.Quotation.FillDewPointData(ArrayList alDewPointData) Time: 3/3/2016 3:15:53 PM Source: mscorlib Message: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index Stack Trace: at System.Collections.ArrayList.get_Item(Int32 index) at ZEKSProClient_UAT.Quotation.FillDewPointData(ArrayList alDewPointData) Time: 3/3/2016 3:17:14 PM Source: mscorlib Message: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index Stack Trace: at System.Collections.ArrayList.get_Item(Int32 index) at ZEKSProClient_UAT.Quotation.FillDewPointData(ArrayList alDewPointData) Time: 3/3/2016 3:17:16 PM Source: mscorlib Message: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index Stack Trace: at System.Collections.ArrayList.get_Item(Int32 index) at ZEKSProClient_UAT.Quotation.FillDewPointData(ArrayList alDewPointData) Time: 3/3/2016 3:17:41 PM Source: mscorlib Message: COM object that has been separated from its underlying RCW cannot be used. Stack Trace: at System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, IntPtr& ppTarget, Boolean& pfNeedsRelease) at Microsoft.Office.Interop.Word.DocumentClass.Close(Object& SaveChanges, Object& OriginalFormat, Object& RouteDocument) at ZEKSProClient_UAT.WordDocumentGeneration.AddSpecificationPage(Application wrdApp, DataTable dtItem, DataTable dtOptEquipMapping, DataTable dtOptEquip, String strSpecification) at ZEKSProClient_UAT.Quotation.GenerateQuotationDocument(String sl_QuotationXML) Time: 3/3/2016 3:20:44 PM Source: mscorlib Message: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index Stack Trace: at System.Collections.ArrayList.get_Item(Int32 index) at ZEKSProClient_UAT.Quotation.FillDewPointData(ArrayList alDewPointData) Time: 3/3/2016 3:21:07 PM Source: mscorlib Message: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index Stack Trace: at System.Collections.ArrayList.get_Item(Int32 index) at ZEKSProClient_UAT.Quotation.FillDewPointData(ArrayList alDewPointData) Time: 3/3/2016 3:21:10 PM Source: mscorlib Message: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index Stack Trace: at System.Collections.ArrayList.get_Item(Int32 index) at ZEKSProClient_UAT.Quotation.FillDewPointData(ArrayList alDewPointData) Time: 3/3/2016 3:21:35 PM Source: mscorlib Message: COM object that has been separated from its underlying RCW cannot be used. Stack Trace: at System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, IntPtr& ppTarget, Boolean& pfNeedsRelease) at Microsoft.Office.Interop.Word.DocumentClass.Close(Object& SaveChanges, Object& OriginalFormat, Object& RouteDocument) at ZEKSProClient_UAT.WordDocumentGeneration.AddSpecificationPage(Application wrdApp, DataTable dtItem, DataTable dtOptEquipMapping, DataTable dtOptEquip, String strSpecification) at ZEKSProClient_UAT.Quotation.GenerateQuotationDocument(String sl_QuotationXML) Time: 3/3/2016 3:22:37 PM Source: mscorlib Message: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index Stack Trace: at System.Collections.ArrayList.get_Item(Int32 index) at ZEKSProClient_UAT.Quotation.FillDewPointData(ArrayList alDewPointData) Time: 3/3/2016 3:22:53 PM Source: mscorlib Message: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index Stack Trace: at System.Collections.ArrayList.get_Item(Int32 index) at ZEKSProClient_UAT.Quotation.FillDewPointData(ArrayList alDewPointData) Time: 3/3/2016 3:23:16 PM Source: mscorlib Message: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index Stack Trace: at System.Collections.ArrayList.get_Item(Int32 index) at ZEKSProClient_UAT.Quotation.FillDewPointData(ArrayList alDewPointData) Time: 3/3/2016 3:24:15 PM Source: mscorlib Message: COM object that has been separated from its underlying RCW cannot be used. Stack Trace: at System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, IntPtr& ppTarget, Boolean& pfNeedsRelease) at Microsoft.Office.Interop.Word.DocumentClass.Close(Object& SaveChanges, Object& OriginalFormat, Object& RouteDocument) at ZEKSProClient_UAT.WordDocumentGeneration.AddSpecificationPage(Application wrdApp, DataTable dtItem, DataTable dtOptEquipMapping, DataTable dtOptEquip, String strSpecification) at ZEKSProClient_UAT.Quotation.GenerateQuotationDocument(String sl_QuotationXML)