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

ReportViewer error: value cannot be null

2 Answers 685 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
hin
Top achievements
Rank 1
hin asked on 29 Jul 2011, 08:25 PM
I have created a few reports.  Each report has 1 or 2 charts and nothing else.  Using the same steps as in the video as below, I cannot get my reports to show in my Win Form.

http://tv.telerik.com/watch/reporting/video/using-one-report-aspnet-winforms-and-silverlight

I get this error in my reportviewer: Value cannot be null.  Parameter name: key

If I go to my report and click on the Preview tab, it works fine.  Why I can't see it under Win Form?

2 Answers, 1 is accepted

Sort by
0
hin
Top achievements
Rank 1
answered on 29 Jul 2011, 08:51 PM
Created a simple report with a static textbox and it loads fine.  Maybe it's related to my bind datasource?  The MS SQL is on another machine.  I can view the report fine directly within the report.  But if I try to tie my reports to a reportviewer in a form, it doesn't load. All the reports are created using the GUI, nothing behind the code.  I am out of ideas as to why I got this error message.
0
Peter
Telerik team
answered on 03 Aug 2011, 05:59 PM
Hello Hin,

Based on the provided error we are not sure about the reason. We will need the stack trace of the exception. The stack trace can be found in the Visual Studio's Output Window. Additionally we will appreciate if you open a support thread and send us the problematic project with some dummy data to debug locally.

Greetings,
Peter
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Tags
General Discussions
Asked by
hin
Top achievements
Rank 1
Answers by
hin
Top achievements
Rank 1
Peter
Telerik team
Share this question
or