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

Problem following tutorial with VS2010

5 Answers 124 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dennis Gundersen
Top achievements
Rank 1
Dennis Gundersen asked on 27 Jul 2010, 06:02 PM
Hi
I'm trying out the new Reporting tool, but the tutorials doesn't fit Visual Studio 2010. In step 3 "Displaying Reports in the Windows Viewer" of the Quickstart the ReportViewer can't see any RDLC files even though the two projects are referenced as documented. Do I have to do something in addition to use external files in .NET 4.0?

Re
Dennis

5 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 28 Jul 2010, 03:52 PM
Hi Dennis,

There are no rdlc extensions in Telerik Reporting, you probably mistake us for Reporting Services. Anyway can you point us to the inconsistency in the Displaying Reports in the Windows Viewer help article? Have you rebuilt your project after you have added references to the class library containing the reports?

Kind regards,
Steve
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
0
Dennis Gundersen
Top achievements
Rank 1
answered on 28 Jul 2010, 05:12 PM
Hi

I meant report files not RDLC.

The tutorial step is here: http://www.telerik.com/help/reporting/quick-start-windows-viewer.html

Since there is no dedicated Telerik Report Viewer in my toolbox I placed a Microsoft Report Viewer on the page (step 3).
Step 4 works fine, but in step 5, the viewer cannot see the ProductList report since it's not in the same project.

How do I get around this problem?

Re
Dennis
0
Steve
Telerik team
answered on 29 Jul 2010, 10:07 AM
Hi Dennis,

There is a dedicated Telerik Report viewer for Windows Forms. More information about it can be found in the Windows Forms Report Viewer help section. If you do not have Telerik Reporting Tab in your Visual Studio, please select Reset Toolbox so that the Telerik Reporting items are available for you.
As mentioned in my previous reply, you need to rebuild the project after you have added reference to the class library in order to have the reports available. Additionally you can hook up to the Form_Load event, instantiate the report and assign it to the Report property of the viewer manually i.e.:

Report1 report1 = new Report1();
ReportViewer1.Report = report1;


Best wishes,
Steve
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
0
Johnny
Top achievements
Rank 2
answered on 23 Sep 2011, 03:55 AM
Hi,

I'm new with the telerik report and also tried the instruction on how to make a simple report.
In 'Displaying Reports in the Windows Viewer',in step 8 when I tried to run the report,the form wasn't display a report.Instead,it printed out an error in report viewer:

"An error has occurred while processing Report 'product1':
Unable to establish a connection to the database.Please,verify that your connection string is valid. In case you
use a name 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."

Regards,
Haikal
0
Steve
Telerik team
answered on 26 Sep 2011, 12:42 PM
Hello Haikal,

Check the following forum thread for more information on your inquiry.

Kind regards,
Steve
the Telerik team

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

Tags
General Discussions
Asked by
Dennis Gundersen
Top achievements
Rank 1
Answers by
Steve
Telerik team
Dennis Gundersen
Top achievements
Rank 1
Johnny
Top achievements
Rank 2
Share this question
or