Page 1 of 1

Error and Big Red X in Preview Screen

Posted: Wed Jun 24, 2009 2:11 pm
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.



Error and Big Red X in Preview Screen

Posted: Thu Jun 25, 2009 1:03 am
by Andrew
Hello,

What version of our reporting tool do you use?

Thank you.

Error and Big Red X in Preview Screen

Posted: Thu Jun 25, 2009 9:29 am
by dpeel2757
Sorry...I guess that's kinda important. It is the 2009.1.400 from 14 April 2009.

Error and Big Red X in Preview Screen

Posted: Tue Jun 30, 2009 3:45 am
by Andrew
Hello,

Please check the latest build from June 30, 2009.

Thank you.

Re: Error and Big Red X in Preview Screen

Posted: Fri Sep 27, 2013 2:13 pm
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 3782 times
2012-3-1500.png
2012-3-1500.png (8.83 KiB) Viewed 3782 times
Any help would be appreciated.

Re: Error and Big Red X in Preview Screen

Posted: Sun Sep 29, 2013 9:57 am
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.

Re: Error and Big Red X in Preview Screen

Posted: Mon Sep 30, 2013 6:29 am
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!
Спасибо! ;)

Re: Error and Big Red X in Preview Screen

Posted: Tue Oct 01, 2013 11:08 am
by Alex K.
Hello,

We are always glad to help you!
Let us know if you need any additional help.

Re: Error and Big Red X in Preview Screen

Posted: Tue Jun 14, 2016 7:12 pm
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

Re: Error and Big Red X in Preview Screen

Posted: Wed Jun 15, 2016 6:07 am
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.