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

Error Report in WinForm

1 Answer 63 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tavale
Top achievements
Rank 1
Tavale asked on 17 May 2010, 11:02 AM
Hi,
I try to undestrand telerik Reporting
I install Telerik_Reporting_2010_1_10_423_dev in VS2010 and I try to follow "TelerikReporting-LearningGuide.pdf"
in 3° exaple: Displaying Reports in a Viewer, when I try to run the project, my winform that contain the report load the interface, search the record in db but when finish I get this error:
"An error has occured while processing Report.
Unable connect to database. please verify that your connection string is valid; in case you use a connection string from the application configuration file,make sure the name is correct and the connection string setting are presente in the configuration file of your application"
when I use the preview in telerik reporting after create the report with wizard I see the record of my db
somebody have some suggestions?
thanks

 

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 18 May 2010, 12:27 PM
Hello Tavale,

As explained in the Report Previews But Won't Run forum thread -  in order for the report to connect to the data in your actual application, you must ensure that the same connectionString is present in the app.config file of your win forms app.

Sincerely yours,
Peter
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Tavale
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or