Error at Exporting the report to html format

Stimulsoft Reports.NET discussion
Post Reply
satisht
Posts: 150
Joined: Mon Apr 09, 2007 12:28 am
Location: Pune

Error at Exporting the report to html format

Post by satisht »

Unhandled Exception occurred while Exporting report in the HTML format . following is the error

ee the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ObjectDisposedException: Cannot access a closed file.
at System.IO.__Error.FileNotOpen()
at System.IO.FileStream.Flush()
at Stimulsoft.Report.Export.StiHtmlExportService.Export(StiReport report, String fileName, Boolean sendEMail)
at Stimulsoft.Report.Render.StiPreviewControl.OnProcessExport(Object sender)
at Stimulsoft.Report.Render.StiPreviewControl.InvokeProcessExport(StiExportService service)
at Stimulsoft.Report.Render.StiPreviewControl.cmExport_Click(Object sender, EventArgs e)
at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
at System.Windows.Forms.MenuItem.MenuItemData.Execute()
at System.Windows.Forms.Command.Invoke()
at System.Windows.Forms.Command.DispatchID(Int32 id)
at System.Windows.Forms.Control.WmCommand(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.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)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
My Idea Communicator
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Deskshare/My%20Idea%20Communicator/MIC%20Client/My%20Idea%20Communicator.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Globals
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Deskshare/My%20Idea%20Communicator/MIC%20Client/Globals.DLL
----------------------------------------
ProjectsCtrl
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Deskshare/My%20Idea%20Communicator/MIC%20Client/ProjectsCtrl.DLL
----------------------------------------
MICSQLQuery
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Deskshare/My%20Idea%20Communicator/MIC%20Client/MICSQLQuery.DLL
----------------------------------------
VistaDB.Provider
Assembly Version: 2.20.25.0
Win32 Version: 2.20.25.0
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/VistaDB.Provider/2.20.25.0__7e75aae290f30672/VistaDB.Provider.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Deployment
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
UserManagementCtrl
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Deskshare/My%20Idea%20Communicator/MIC%20Client/UserManagementCtrl.DLL
----------------------------------------
ContentSharing
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Deskshare/My%20Idea%20Communicator/MIC%20Client/ContentSharing.DLL
----------------------------------------
ReportsControl
Assembly Version: 1.0.2798.21493
Win32 Version: 1.0.2798.21493
CodeBase: file:///C:/Program%20Files/Deskshare/My%20Idea%20Communicator/MIC%20Client/ReportsControl.DLL
----------------------------------------
PlexityHide.GTP
Assembly Version: 3.0.4.16
Win32 Version: 3.0.4.16
CodeBase: file:///C:/Program%20Files/Deskshare/My%20Idea%20Communicator/MIC%20Client/PlexityHide.GTP.DLL
----------------------------------------
csExWB
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.3
CodeBase: file:///C:/Program%20Files/Deskshare/My%20Idea%20Communicator/MIC%20Client/csExWB.DLL
----------------------------------------
Keyoti.RapidSpell.NET2
Assembly Version: 3.7.0.3110
Win32 Version: 3.7.0.3110
CodeBase: file:///C:/Program%20Files/Deskshare/My%20Idea%20Communicator/MIC%20Client/Keyoti.RapidSpell.NET2.DLL
----------------------------------------
Interop.CSEXWBDLMANLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Deskshare/My%20Idea%20Communicator/MIC%20Client/Interop.CSEXWBDLMANLib.DLL
----------------------------------------
ComboBoxTree
Assembly Version: 1.0.0.1
Win32 Version: 1.0.0.1
CodeBase: file:///C:/Program%20Files/Deskshare/My%20Idea%20Communicator/MIC%20Client/ComboBoxTree.DLL
----------------------------------------
GradientProgressBarCtrl
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///C:/Program%20Files/Deskshare/My%20Idea%20Communicator/MIC%20Client/GradientProgressBarCtrl.DLL
----------------------------------------
MagicLibrary
Assembly Version: 1.7.4.0
Win32 Version: 1.7.4.0
CodeBase: file:///C:/Program%20Files/Deskshare/My%20Idea%20Communicator/MIC%20Client/MagicLibrary.DLL
----------------------------------------
RegistryManipulator
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Deskshare/My%20Idea%20Communicator/MIC%20Client/RegistryManipulator.DLL
----------------------------------------
xcs2gsgj
Assembly Version: 1.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
System.Transactions
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
Notifications
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Deskshare/My%20Idea%20Communicator/MIC%20Client/Notifications.DLL
----------------------------------------
ErrorReporter
Assembly Version: 1.0.1.0
Win32 Version: 1.0.1.0
CodeBase: file:///C:/Program%20Files/Deskshare/My%20Idea%20Communicator/MIC%20Client/ErrorReporter.DLL
----------------------------------------
WaitCursor
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Deskshare/My%20Idea%20Communicator/MIC%20Client/WaitCursor.DLL
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Microsoft.mshtml
Assembly Version: 7.0.3300.0
Win32 Version: 7.0.3300.0
CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll
----------------------------------------
Keyoti.RapidSpellMDict
Assembly Version: 3.0.0.0
Win32 Version: 3.0.0.0
CodeBase: file:///C:/Program%20Files/Deskshare/My%20Idea%20Communicator/MIC%20Client/Keyoti.RapidSpellMDict.DLL
----------------------------------------
Stimulsoft.Report
Assembly Version: 2007.2.0.0
Win32 Version: 2007.2.0.0
CodeBase: file:///C:/Program%20Files/Deskshare/My%20Idea%20Communicator/MIC%20Client/Stimulsoft.Report.DLL
----------------------------------------
Stimulsoft.Controls
Assembly Version: 2007.2.0.0
Win32 Version: 2007.2.0.0
CodeBase: file:///C:/Program%20Files/Deskshare/My%20Idea%20Communicator/MIC%20Client/Stimulsoft.Controls.DLL
----------------------------------------
Stimulsoft.Base
Assembly Version: 2007.2.0.0
Win32 Version: 2007.2.0.0
CodeBase: file:///C:/Program%20Files/Deskshare/My%20Idea%20Communicator/MIC%20Client/Stimulsoft.Base.DLL
----------------------------------------
Stimulsoft.Editor
Assembly Version: 2007.2.0.0
Win32 Version: 2007.2.0.0
CodeBase: file:///C:/Program%20Files/Deskshare/My%20Idea%20Communicator/MIC%20Client/Stimulsoft.Editor.DLL
----------------------------------------
System.Design
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
7adi5nav
Assembly Version: 0.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:





When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Error at Exporting the report to html format

Post by Edward »

Please send the mdc file of the rendered report to Image for analysis.

Thank you.
satisht
Posts: 150
Joined: Mon Apr 09, 2007 12:28 am
Location: Pune

Error at Exporting the report to html format

Post by satisht »

I have send MDC file to support
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Error at Exporting the report to html format

Post by Edward »

We've checked your mdc file. Export completed without exceptions.

Please show the code which do the export in your Application.

It seems that there is some problems with the report object which was Rendered and Exported in your Application.

Exception tells that the file was deleted or locked and access to it is limited during the exporting.

Thank you.
satisht
Posts: 150
Joined: Mon Apr 09, 2007 12:28 am
Location: Pune

Error at Exporting the report to html format

Post by satisht »

I have not written any runtime code for exporting file After generating preview window only I have exported report in html file format. should i send you .mrt file?
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Error at Exporting the report to html format

Post by Edward »

Please try the latest prerelease build. Open Demo.exe application then click Open button from the preview window, select your mdc file and try export the rendered report from there. The result will be shown without the error.

Thank you.
Post Reply