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

Error: Fail to add project reference

1 Answer 35 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
david
Top achievements
Rank 1
david asked on 14 Apr 2016, 02:34 PM

1) Created a new project

2) choose blank report template "Report2", added a single textbox

3) Added a Web Forms report viewer form Q12016

4) selected existing report

Class with name Report2 is not found
Class with name Report2 is found in Reports project.
Get project references.
Error: Fail to add project reference
Class with name Report2 is not found
Class with name Report2 is found in Reports project.

1 Answer, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 15 Apr 2016, 12:08 PM
Hi David,

Please check the projects settings and if they target the same or compatible .NET framework versions. Also double-check which viewer is dragged from the VS Toolbox - the old ASP.NET WebForms viewer (obsolete as of Q3 2015) or the HTML5 WebForms wrapper.


My recommendation is to use the wizard that starts on adding a viewer through the VS item template. The wizard will let you create a separate ClassLibrary project that will be referenced by the main web application.

For more details, How To: Use HTML5 ASP.NET Web Forms Report Viewer.


In case the issue is not related to the project settings, please open a support ticket and send us the problematic project.

Regards,
Stef
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
david
Top achievements
Rank 1
Answers by
Stef
Telerik team
Share this question
or