Error and Big Red X in Preview Screen

Stimulsoft Reports.NET discussion
Post Reply
dpeel2757
Posts: 19
Joined: Fri Feb 29, 2008 6:09 pm

Error and Big Red X in Preview Screen

Post by dpeel2757 »

I have a computer that has a problem that I can't resolve. Anytime I preview a report it displays a big red "X" across the preview screen. This happens in all reports reguardless of what is in the report. I have even tried previewing a report that contained no data and I still receive the big red "X". Any help would be great!! Thanks. I also receive the following error:


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

************** Exception Text **************
System.ArgumentException: Parameter is not valid.
at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
at System.Drawing.Bitmap..ctor(Int32 width, Int32 height)
at Stimulsoft.Report.Viewer.StiThumbsControl.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.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.1433 (REDBITS.050727-1400)
CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Designer
Assembly Version: 2009.1.400.0
Win32 Version: 2009.1.400.0
CodeBase: file:///C:/Program%20Files/Stimulsoft%20Reports.Net%202009.1/Bin/Designer.exe
----------------------------------------
Stimulsoft.Report
Assembly Version: 2009.1.400.0
Win32 Version: 2009.1.400.0
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Stimulsoft.Report/2009.1.400.0__ebe6666cba19647a/Stimulsoft.Report.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Stimulsoft.Base
Assembly Version: 2009.1.400.0
Win32 Version: 2009.1.400.0
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Stimulsoft.Base/2009.1.400.0__ebe6666cba19647a/Stimulsoft.Base.dll
----------------------------------------
Stimulsoft.Report.Design
Assembly Version: 2009.1.400.0
Win32 Version: 2009.1.400.0
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Stimulsoft.Report.Design/2009.1.400.0__ebe6666cba19647a/Stimulsoft.Report.Design.dll
----------------------------------------
Stimulsoft.Controls.Win
Assembly Version: 2009.1.400.0
Win32 Version: 2009.1.400.0
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Stimulsoft.Controls.Win/2009.1.400.0__ebe6666cba19647a/Stimulsoft.Controls.Win.dll
----------------------------------------
System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
Stimulsoft.Report.Win
Assembly Version: 2009.1.400.0
Win32 Version: 2009.1.400.0
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Stimulsoft.Report.Win/2009.1.400.0__ebe6666cba19647a/Stimulsoft.Report.Win.dll
----------------------------------------
Stimulsoft.Editor
Assembly Version: 2009.1.400.0
Win32 Version: 2009.1.400.0
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Stimulsoft.Editor/2009.1.400.0__ebe6666cba19647a/Stimulsoft.Editor.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Stimulsoft.Controls
Assembly Version: 2009.1.400.0
Win32 Version: 2009.1.400.0
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Stimulsoft.Controls/2009.1.400.0__ebe6666cba19647a/Stimulsoft.Controls.dll
----------------------------------------
oqfzw2at
Assembly Version: 0.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
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.


Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Error and Big Red X in Preview Screen

Post by Andrew »

Hello,

What version of our reporting tool do you use?

Thank you.
dpeel2757
Posts: 19
Joined: Fri Feb 29, 2008 6:09 pm

Error and Big Red X in Preview Screen

Post by dpeel2757 »

Sorry...I guess that's kinda important. It is the 2009.1.400 from 14 April 2009.
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Error and Big Red X in Preview Screen

Post by Andrew »

Hello,

Please check the latest build from June 30, 2009.

Thank you.
Shaphan
Posts: 2
Joined: Fri Sep 27, 2013 1:56 pm

Re: Error and Big Red X in Preview Screen

Post by Shaphan »

Good day!

I have similar issue with Stimulsoft 2009.3.600 (only on one PC).
The stack trace is
System.ArgumentException: Parameter is not valid.
at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
at System.Drawing.Bitmap..ctor(Int32 width, Int32 height)
at Stimulsoft.Report.Viewer.StiThumbsControl.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.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)
The thumbnail isn't shown in the viewer, but the user is able to view the report in full screen mode or save it as a file.

I've tried to upgrade to version 2012.3.1500, but with no success: the exception isn't thrown, however the thumbnail still doesn't appear in the viewer.
On other PCs everything works fine both with elder and newer versions of Stimulsoft.

I've added 2 screen shots, which illustrate the issue.
2009-3-600.png
2009-3-600.png (16.25 KiB) Viewed 3787 times
2012-3-1500.png
2012-3-1500.png (8.83 KiB) Viewed 3787 times
Any help would be appreciated.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Error and Big Red X in Preview Screen

Post by Alex K. »

Hello,

Please try to remove the stimulsoft settings folder on this PC from the following path:
c:\Users\[UserName]\AppData\Local\Stimulsoft\

Thank you.
Shaphan
Posts: 2
Joined: Fri Sep 27, 2013 1:56 pm

Re: Error and Big Red X in Preview Screen

Post by Shaphan »

Aleksey wrote:Hello,

Please try to remove the stimulsoft settings folder on this PC from the following path:
c:\Users\[UserName]\AppData\Local\Stimulsoft\

Thank you.
Aleksey, thanks a lot, it worked!
Спасибо! ;)
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Error and Big Red X in Preview Screen

Post by Alex K. »

Hello,

We are always glad to help you!
Let us know if you need any additional help.
msteinman
Posts: 1
Joined: Tue Jun 14, 2016 7:04 pm

Re: Error and Big Red X in Preview Screen

Post by msteinman »

Aleksey,

I was wondering if I can get a explanation of why this happens. I have been seeing it more often on more machines. I know the fix is to delete the folder in c:\Users\[UserName]\AppData\Local\Stimulsoft\ and was just wondering if you know the root cause of the issue? Thanks
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Error and Big Red X in Preview Screen

Post by Alex K. »

Hello,

Most probably, a problem with the Chart component.
You can delete the settings folder or use the last version.

Thank you.
Post Reply