This is a migrated thread and some comments may be shown as answers.

WinForm ReportViewer (2009 Q1) Problem

1 Answer 53 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ah Wa
Top achievements
Rank 1
Ah Wa asked on 24 Aug 2009, 06:19 AM
I using Win. XP (T. Chinese Ver.) & VS 2005 and VB programming.
I put Telerik ReportViewer Control (Reg. Version) from ToolBox to a blank Form (first use Telerik Reporting).
An erorr message is displayed:

Cannot Create 'ReportViewer'. Error Message :
'System.NullReferenceException: : Object reference not set to an instance of an object.
 at Telerik.ReportViewer.WinForms.WinViewer.UpdateScrollSize()
 at Telerik.ReportViewer.WinForms.WinViewer.OnSizeChanged(EventArgs eventArgs)
 at System.Windows.Forms.Control.UpdateBouns(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
 at System.Windows.Forms.Control.UpdateBouns(Int32 x, Int32 y, Int32 width, Int32 height)
 at System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
 at System.Windows.Forms.Control.ScaleControl(SizeF factor, BoundsSpecified specified)
 at System.Windows.Forms.ScrollableControl.ScaleControl(SizeF factor, BoundsSpecified specified)
 at System.Windows.Forms.Control.ScaleControl(SizeF includedFactor, SizeF excludedFactor, Control requestingControl)
 at System.Windows.Forms.ContainerControl.Scale(SizeF includedFactor, SizeF excludedFactor, Control requestingControl)
 at System.Windows.Forms.ContainerControl.PerformA...'

I try to download  trial version of Telerik Reporting (2009 Q2) for testing.
The result is same.

If I create ReportViewer By Code :  
    Dim rv1 As New Telerik.ReportViewer.WinForms.ReportViewer()
(Error message) =>  NullReferenceException was unhandled : Object reference not set to an instance of an object.

Please help !!
Thank you very much !!


1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 24 Aug 2009, 12:58 PM
Hi Ah Wa,

Please upgrade to the latest version of Telerik Reporting where this problem has been addressed.

Regards,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
Ah Wa
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or