Value cannot be null.
Parameter name: key
Because I could not get around this I tried another route:
I looked at some examples and manually set the report property in the xaml with this:
blah.Reports.Statement, blah.Reports, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
Now the report shows up in the page with text boxes to enter the parameters, but as soon as I enter them I receive a new error:
An error has occurred while processing Report 'Statement':
Unable to establish a connection to the database. Please, verify that your connection string is valid. In case you use a named connection string from the application configuration file, make sure the name is correct and the connection string settings are present in the configuration file of your application.
------------- InnerException -------------
Format of the initialization string does not conform to specification starting at index 0.
I copied the connection string from the app.config of the class library to my asp.net app's web.config, still no dice. Same error. Any help would be greatly appreciated.
11 Answers, 1 is accepted
Up to the unresolved connection string we will appreciate if you send us the report class library app.config and report service's web application web.config to review. Additionally our suggestion is to examine configuration files of the demos that came with your installation of Telerik Reporting. (start -> All Programs -> Telerik -> Reporting Q2 2011 -> Visual Studio 2010 Examples )
About the Value cannot be null. error we are unable to reproduce such exception when setting the report viewer report property.
Peter
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

What was the resolution on this. I am getting the exact same error. Any help would be appreciated.
The provided information is insufficient for us to determine what is the culprit. Please provide details how/when you get this error (e.g. Preview, WinForms viewer etc.).
The stack trace of the exception would also help and it can be found in Visual Studio's Output Window when running your project. You can also try assigning the report to the viewer via code and see if that makes a difference.
Best wishes,
Steve
the Telerik team
Q2’11 SP1 of Telerik Reporting is available for download (see what's new). Get it today.

An error has occurred while processing Table 'table1':
Unable to establish a connection to the database. Please, verify that your connection string is valid. In case you use a named connection string from the application configuration file, make sure the name is correct and the connection string settings are present in the configuration file of your application.
------------- InnerException -------------
Format of the initialization string does not conform to specification starting at index 0.
This makes no sence. If there is a problem with the database connection none of the charts should work either.
An additional note; the reports render fine in the "report project" Preview and Html Preview tabs. When they are added to a website and loaded into the page they error out.
Coppied the connection string from the app.config to the web.config and it worked. Go figure?



Me.SqlDataSource1.ConnectionString = "SignProx.My.MySettings.AssetsConnectionString1"
I printed it to the screen and it matches my working version.
I am at a loss.
Eric

Eric


