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

Cannot open Reports in ReportDesigner

4 Answers 975 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Simon Kingaby
Top achievements
Rank 2
Simon Kingaby asked on 21 Oct 2011, 08:34 PM
When I dbl-click a report to open it in the designer, I am getting an error:

To prevent possible data loss before loading the designer, the following errors must be resolved:
Value cannot be null. Parameter name: instance
Instances of this error (1)
1.
at System.ComponentModel.TypeDescriptor.AddAttributes(Object instance, Attribute[] attributes)
at Microsoft.VisualStudio.Design.VSDesignSurface.CreateDesigner(IComponent component, Boolean rootDesigner)
at System.ComponentModel.Design.DesignerHost.AddToContainerPostProcess(IComponent component, String name, IContainer containerToAddTo)
at System.ComponentModel.Design.DesignerHost.PerformAdd(IComponent component, String name)
at System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.IDesignerHost.CreateComponent(Type componentType, String name)
at System.ComponentModel.Design.Serialization.DesignerSerializationManager.CreateInstance(Type type, ICollection arguments, String name, Boolean addToContainer)
at System.ComponentModel.Design.Serialization.DesignerSerializationManager.System.ComponentModel.Design.Serialization.IDesignerSerializationManager.CreateInstance(Type type, ICollection arguments, String name, Boolean addToContainer)
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 System.ComponentModel.Design.Serialization.BasicDesignerLoader.BeginLoad(IDesignerLoaderHost host)

What does this mean and how do I fix it?
Thanks, Simon

4 Answers, 1 is accepted

Sort by
0
Simon Kingaby
Top achievements
Rank 2
answered on 24 Oct 2011, 03:27 PM
Further, I cannot create any more reports because this error prevents the report wizard from doing its thing.
0
Simon Kingaby
Top achievements
Rank 2
answered on 24 Oct 2011, 03:56 PM
It turns out that another developer had checked some of the older DLL's from a previous version into our dependencies folder.  Once I replaced those with the latest Reporting DLL's, I am able to open the reports properly again.  

This issue is resolved for me.  
0
Prasad
Top achievements
Rank 1
answered on 03 Jan 2013, 05:17 AM
I also got the same error.


Is this will happen for trial versions?
I mean when the trial version expires do we get this?

Prasad.
0
Peter
Telerik team
answered on 03 Jan 2013, 10:04 AM
Hi Prasad,

If you're upgrading your Telerik Reporting version, please run the Upgrade Wizard. The Upgrade Wizard is introduced as guide through the process of upgrading the projects and files of the current open solution to a newer version of Telerik Reporting. After upgrading, rebuild your project. 

All the best,
Peter
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
Simon Kingaby
Top achievements
Rank 2
Answers by
Simon Kingaby
Top achievements
Rank 2
Prasad
Top achievements
Rank 1
Peter
Telerik team
Share this question
or