When you attempt to import a .zip archive file containing multiple SI5 Custom Reports, you get the following crash error:
Description: The process cannot access the file 'ReportData.XML' because it is being used by another process.
E-mail:
User Message:
Details: Error: IOException (DTools.SystemIntegrator.Reporting.Client.ReportFactory.ImportReports) (DTools.SystemIntegrator.Reporting.Client.ReportCenter.ImportReports) (DTools.SystemIntegrator.Reporting.Client.UI.ReportViewModel.OnImportReportsFromFile) (DTools.CommandManagement.Command.Execute) (DTools.CommandManagement.UltraButtonToolCommandExecutor.OnToolClick) (Infragistics.Win.UltraWinToolbars.ToolBase.OnToolClick) (Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.OnToolClick) (Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.FireEvent) (Infragistics.Win.UltraWinToolbars.ToolBase.OnToolClick) (Infragistics.Win.UltraWinToolbars.ToolBase.OnToolClick) (Infragistics.Win.UltraWinToolbars.ToolMenuItem.OnClick) (Infragistics.Win.UltraWinToolbars.PopupMenuItemUIElement.DoClickProcessing) (Infragistics.Win.UltraWinToolbars.PopupMenuItemUIElement.OnMouseUp) (Infragistics.Win.ControlUIElementBase.ProcessMouseUpHelper) (Infragistics.Win.ControlUIElementBase.ProcessMouseUp) (Infragistics.Win.Utilities.ProcessEvent) (Infragistics.Win.UltraWinToolbars.PopupControlBase.OnMouseUp) V6.0.456.0
Source: mscorlib
StackTrace:
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive)
at DTools.SystemIntegrator.Reporting.Client.ReportFactory.ImportReports(String fullPathToArchiveFile)
at DTools.SystemIntegrator.Reporting.Client.ReportCenter.ImportReports(String fullPathToArchiveFile)
at DTools.SystemIntegrator.Reporting.Client.UI.ReportViewModel.OnImportReportsFromFile(Command cmd)
at DTools.CommandManagement.Command.Execute()
at DTools.CommandManagement.UltraButtonToolCommandExecutor.OnToolClick(Object sender, ToolClickEventArgs e)
at Infragistics.Win.UltraWinToolbars.ToolBase.OnToolClick(ToolClickEventArgs e)
at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.OnToolClick(ToolClickEventArgs e)
at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.FireEvent(ToolbarEventIds id, EventArgs e)
at Infragistics.Win.UltraWinToolbars.ToolBase.OnToolClick()
at Infragistics.Win.UltraWinToolbars.ToolBase.OnToolClick()
at Infragistics.Win.UltraWinToolbars.ToolMenuItem.OnClick()
at Infragistics.Win.UltraWinToolbars.PopupMenuItemUIElement.DoClickProcessing(MouseEventArgs e)
at Infragistics.Win.UltraWinToolbars.PopupMenuItemUIElement.OnMouseUp(MouseEventArgs e)
at Infragistics.Win.ControlUIElementBase.ProcessMouseUpHelper(Object sender, MouseEventArgs e)
at Infragistics.Win.ControlUIElementBase.ProcessMouseUp(Object sender, MouseEventArgs e)
at Infragistics.Win.Utilities.ProcessEvent(Control control, ProcessEvent eventToProcess, EventArgs e)
at Infragistics.Win.UltraWinToolbars.PopupControlBase.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.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.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Message=The process cannot access the file 'ReportData.XML' because it is being used by another process.
Data=System.Collections.ListDictionaryInternal
System Summary: OS Name: Microsoft Windows 7 Professional, OS Version: Microsoft Windows NT 6.1.7601 Service Pack 1, 64-bit OS: Yes, .NET Framework Version: 4.0.30319.239, 64-bit Process: No, Metric: No, Region: United States, Culture: English (United States), Time Zone: Eastern Standard Time, Monitors: 1, Screen Resolution: 1366 x 768, Total Physical Memory: 7.9 GB
A fix for this is being worked on. In the meantime, export each custom Report out of SI5 individually and import into SIX.