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

Trial WebForms.ReportViewer

2 Answers 224 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 06 Jun 2008, 11:02 PM
Hello,

I'm evaluating Telerik Reporting, and it seems fine except that I can't use the ReportViewer from a Web Application.  The ReportViewer in a Windows Application works ok.

Here are the referenced assemblies in the Web Application project:
Telerik.Reporting
Telerik.Reporting.Interfaces
Telerik.Reporting.Processing
Telerik.ReportViewer.WebForms
TelericClassLibrary (my sample reports library)

I get the error below.  The assembly mentioned appears to be the version that I have installed.  I've tried re-installing without luck.  I'm running the Q1 2008 SP1 trial.

Thanks,
Jason

 

Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0012: The type 'Telerik.Reporting.Processing.ReportParameters.IReportParameterEditorFactory' is defined in an assembly that is not referenced. You must add a reference to assembly 'Telerik.Reporting.Processing, Version=2.5.8.519, Culture=neutral, PublicKeyToken=a9d7983dfcc261be'.

Source Error:

Line 277:        
Line 278:        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Line 279: private global::Telerik.ReportViewer.WebForms.ReportViewer @__BuildControlReportViewer1() {Line 280:            global::Telerik.ReportViewer.WebForms.ReportViewer @__ctrl;
Line 281:            

Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\06035c56\e40911d7\App_Web_default.aspx.cdcab7d2.ngdxlvkv.0.cs    Line: 279

2 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 09 Jun 2008, 11:32 AM
Hi Jason,

I've just tested this locally referencing:

Telerik.Reporting
Telerik.Reporting.Processing
Telerik.ReportViewer.WebForms
MyClassLibrary


and could not reproduce the issue. Can you check what assemblies you have installed in the GAC and what locally? The SP1 version is 2.5.8.519 - make sure there are no obsolete assemblies in the GAC or in the local bin folder. Clearing your VS and IE cache is also recommended.

Let us know if further help is needed.

All the best,
Steve
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Jason
Top achievements
Rank 1
answered on 09 Jun 2008, 10:17 PM
The problem was that I didn't set each Telerik.* assembly to "Copy Local" in the Web Application project.  Once I did that, it started working.

Thanks,
Jason
Tags
General Discussions
Asked by
Jason
Top achievements
Rank 1
Answers by
Steve
Telerik team
Jason
Top achievements
Rank 1
Share this question
or