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

Type 'Telerik.Reporting.Drawing.StyleRule' is not defined.

2 Answers 193 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 05 Dec 2007, 11:25 PM
I've just installed the Telerik Reporting Demo.
I'm getting multiple errors in Report1.Designer.vb.
This happens right after I have created a report using the Wizard.

Type 'Telerik.Reporting.Drawing.StyleRule' is not defined.
Type 'Telerik.Reporting.Drawing.Textbox' is not defined.
etc..

Is my installation screwed up?

Any suggestions would be helpful.

2 Answers, 1 is accepted

Sort by
0
Svetoslav
Telerik team
answered on 06 Dec 2007, 03:36 PM
Hi Matt,

Most likely, the issue you are faced with occur due to incorrect Telerik Reporting assemblies referenced.
Could you please confirm that in your project you have the correct Telerik Reporting assemblies referenced?

- Telerik.Reporting.dll, v 1.5.1.0
- Telerik.Reporting.Processing.dll, v 1.5.1.0.

For more information regarding the installation of Telerik Reporting please refer to this help topic. In case you have upgraded from a previous version you may find this KB article helpful.

I hope this information helps.

Greetings,
Svetoslav
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Matt
Top achievements
Rank 1
answered on 07 Dec 2007, 04:30 PM
I figured it out.

This was NOT an installation or version problem.

The problem was a Namespace problem.

I had created a project named IA.Telerik.ReportLibrary and added a Telerik Report to the project called Report1.vb.

The Telerik Namespace in my project IA.Telerik.ReportLibrary was conflicting with the actual Telerik.Reporting.Drawing.StyleRule Namespace.

I created a new project named IA.ReportLibrary that did not have the work Telerik in the namespace and that solved the problem.
Tags
General Discussions
Asked by
Matt
Top achievements
Rank 1
Answers by
Svetoslav
Telerik team
Matt
Top achievements
Rank 1
Share this question
or