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

Telerik.Reporting.IReportDocument' is defined in an assembly that is not referenced

1 Answer 278 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Russell
Top achievements
Rank 1
Russell asked on 07 Apr 2012, 02:18 PM
When I try and preview my report I get an error as soon as I reference my object data source.  ...

An error has occurred while processing Report 'ShortDetailReport': An error occurred while invoking data retrieval method. Try restarting VisualStudio. ------------- InnerException ------------- Exception has been thrown by the target of an invocation. ------------- InnerException ------------- The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid.

So, I thought I would try and debug it.  I created a "report viewer to point to my report.  When I go to my report view page I get this error ...

error CS0012: The type 'Telerik.Reporting.IReportDocument' is defined in an assembly that is not referenced. You must add a reference to assembly 'Telerik.Reporting, Version=6.0.12.302, Culture=neutral, PublicKeyToken=a9d7983dfcc261be'.
c:\Windows\assembly\GAC_MSIL\Telerik.ReportViewer.WebForms\6.0.12.302__a9d7983dfcc261be\Telerik.ReportViewer.WebForms.dll: (Location of symbol related to previous error)
c:\....\ShortDetailReportViewer.aspx(8,13): error CS0012: The type 'Telerik.Reporting.Report' is defined in an assembly that is not referenced. You must add a reference to assembly 'Telerik.Reporting, Version=6.0.12.302, Culture=neutral, PublicKeyToken=a9d7983dfcc261be'.
c:\Users\Brisco\AppData\Local\Temp\Temporary ASP.NET Files\root\62b29810\64a087af\assembly\dl3\40a66d36\c6893234_be14cd01\...Web.DLL: (Location of symbol related to previous error)
c:\....PHRED.Web\WebConsumer\ShortDetailReportViewer.aspx(8,30): error CS0029: Cannot implicitly convert type ...Web.App_Reports.ShortDetailReport' to 'Telerik.Reporting.IReportDocument'


The correct reference is there, why is it not finding it? So far this has been a horrible experience with the reporting tool. I have been trying for three days now to get this stupid report working. I have not been able to get past just trying to bind to me datasource.


1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 09 Apr 2012, 10:11 AM
Hi Russell,

Please verify that you're not targeting .NET Framework Client Profile for your project which as noted in System requirements are not supported.

Kind regards,
Steve
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
Tags
General Discussions
Asked by
Russell
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or