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

Could not find type 'Telerik.Reporting.Report'.

8 Answers 794 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Saravanan
Top achievements
Rank 1
Saravanan asked on 06 Dec 2010, 01:09 PM

Hello,

  When I create a new report in new project. It shows error as below:
"Could not find type 'Telerik.Reporting.Report'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU. "

 
Instances of this error (1)
1.
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, CodeTypeDeclaration declaration)
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload)

Regards,
Saravanan.R

 

8 Answers, 1 is accepted

Sort by
0
Richard Slade
Top achievements
Rank 2
answered on 06 Dec 2010, 01:23 PM
Hello,

ensure that your project has a reference to this assembly first of all. (how to add references to Visual Studio) and then add the using or imports statement to yout form that you are using reporting on.

E.g.
VB
Imports Telerik.Reporting

C#
using Telerik.Reporting;

The Telerik.reporting dll can be found in your installed Telerik program files directory.
E.g.
C:\Program Files\Telerik\Reporting Q3 2010\Bin

Hope that helps
Richard
0
Saravanan
Top achievements
Rank 1
answered on 06 Dec 2010, 01:30 PM
Hello,
    Thank you guys for the help. I have got the solution. The project was refering ".NET Framwork 4 Client Profile" in Target framwork. If any one gets same error Change it to ".NET Framwork 4".

Regards,
Saravanan.R
0
Peter
Telerik team
answered on 09 Dec 2010, 03:03 PM
Hi Saravanan,

Thank you for the clarification.

This assembly does not support .NET Framework 4 Client Profile and you should build against .NET Framework 4 or .NET Framework 3.5

Do not hesitate to contact us if you have other questions.

Regards,
Peter
the Telerik team
Get started with RadControls for WinForms with numerous videos and detailed documentation.
0
Zareli
Top achievements
Rank 1
answered on 14 May 2011, 04:41 PM
Hi,
I'm having same problem. How can I know if my project is on .Net Framework 4 Client Profile or Framework 4 or .NET Framework 3.5? And then, How can I change it if it's on wrong framework?
To fixed I just create a new project and select Net Framework 3.5
Is there any other solution?
Regards,
0
Accepted
Saravanan
Top achievements
Rank 1
answered on 16 May 2011, 06:33 AM
Hello Zareli,
    Right click on the project and go to its properties. Change the target framework to "Framework 4 or .NET Framework 3.5". It would say it needs to make some changes to the project to suit this framework so give ok for that. Then you can add the reports.

Regards,
Saravanan.R
0
Zareli
Top achievements
Rank 1
answered on 20 May 2011, 11:30 AM
Thanks a lot!!
0
Carlos
Top achievements
Rank 2
answered on 14 Feb 2012, 12:22 PM
Excellent! Thank you very much!! Helped a LOT! :)
0
Kaustubh
Top achievements
Rank 1
answered on 20 Mar 2012, 09:26 AM
Thank you sooooo much man...now i can use TELERIK gr8 reporting product...
Tags
General Discussions
Asked by
Saravanan
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Saravanan
Top achievements
Rank 1
Peter
Telerik team
Zareli
Top achievements
Rank 1
Carlos
Top achievements
Rank 2
Kaustubh
Top achievements
Rank 1
Share this question
or