产品版本:ActiveReport3.0 操作系统:Window XP SP3 IDE:VS2010 + FrameWork4.0
问题描述:
问题现象:
1)在XP系统下,只安装VS2010 + FrameWork4.0的开发环境,无法安装ActiveReport3.0的
安装包.当安装时,弹出对话框,提示如下问题:no compatible version of visual studio .net
found on system
2)在上面相同的开发环境下,不安装activeReport3.0,直接调用activeReport3.0 的控件dll,
软件系统可以编译正常,并正常显示相关报表,但是当切换到VS2010里的设计视图里,设计视图
无法打开, 出现如下错误提示:
Value cannot be null. Parameter name: instance
Instances of this error (1)
1. Hide Call Stack
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 Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload)
这边的问题:如上的两个现象是什么原因导致的, 解决方法是什么? |
|