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

Unable to view reports in Visual Studio

3 Answers 1036 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 12 Oct 2011, 09:36 PM
We inherited a project from another company; they use Telerik for reporting. The project has several report files in it; but I am unable to view or modify them in Visual Studio. I have the appropriate Telerik dlls referenced, but I never actually installed anything from Telerik. Do I need to actually install something to view Telerik reports in design time?

I'm using Visual Studio 2010 Premium; the error I'm getting is:

To prevent possible data loss before loading the designer, the following errors must be resolved: 

Value cannot be null. Parameter name: instance 

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 13 Oct 2011, 11:18 AM
Hello Robert,

Yes, you would need to install Telerik Reporting on your dev machine if you would like to use the provided Report Designer to modify or create reports. The assemblies responsible for the Visual Studio design support are Telerik.Reporting.Design and Telerik.Reporting.Design.Components and they are added to GAC when you install the product.

Best wishes,
Steve
the Telerik team

Q2’11 SP1 of Telerik Reporting is available for download (see what's new). Get it today.

0
Prasad
Top achievements
Rank 1
answered on 03 Jan 2013, 05:00 AM
Hi Steve,

I am getting the error like this.

The designer could not be shown for this file because none of the classes within it can be designed.
Instances of this error (1)
1.
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.EnsureDocument(IDesignerSerializationManager manager)
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)


This worked nice before the time.

Why am i not able to view this page at design time.


Note: Every thing is fine when i create new solution on the system.

Please help me.


Prasad
0
Steve
Telerik team
answered on 04 Jan 2013, 09:50 AM
Hello Prasad,

The error you're getting is generic and means that some problem prevents the report designer from displaying. Usually such a problem can occur after improper upgrade to a newer version of Telerik Reporting. Please start the Upgrade Wizard from the VS Telerik menu and run it to make sure all references are updated accordingly.

If the problem persists, it would be best if you open a support ticket and attach the problematic project.

Greetings,
Steve
the Telerik team

HAPPY WITH REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

Tags
General Discussions
Asked by
Robert
Top achievements
Rank 1
Answers by
Steve
Telerik team
Prasad
Top achievements
Rank 1
Share this question
or