none
在 Crystal Reports 的設計檢視時發生錯誤訊息 RRS feed

  • 問題

  • 小弟在 App_Code 裡面建立一個繼承自 Telerik.Reporting.Report 的子類別,原本在 Visual Studio 2005 Team Suit 裡面都可以正常打開「設計檢視」,但在安裝 VS 2008 Team Suit 版本之後卻無法正常打開,想請教各位這可能是什麼問題造成的?

     

    註:小弟使用的系統是 Windows Vista Business,且在安裝完 VS 2008 之後還有重新安裝 Telerik Components for ASP.NET。

     

    錯誤頁面資訊:

    值不能為 null。參數名稱: instance    
    此錯誤 (1) 的實例 
    1。   隱藏呼叫堆疊
    於 System.ComponentModel.TypeDescriptor.AddAttributes(Object instance, Attribute[] attributes)
    於 Microsoft.VisualStudio.Design.VSDesignSurface.CreateDesigner(IComponent component, Boolean rootDesigner)
    於 System.ComponentModel.Design.DesignerHost.AddToContainerPostProcess(IComponent component, String name, IContainer containerToAddTo)
    於 System.ComponentModel.Design.DesignerHost.Add(IComponent component, String name)
    於 System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.IDesignerHost.CreateComponent(Type componentType, String name)
    於 System.ComponentModel.Design.Serialization.DesignerSerializationManager.CreateInstance(Type type, ICollection arguments, String name, Boolean addToContainer)
    於 System.ComponentModel.Design.Serialization.DesignerSerializationManager.System.ComponentModel.Design.Serialization.IDesignerSerializationManager.CreateInstance(Type type, ICollection arguments, String name, Boolean addToContainer)
    於 System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, CodeTypeDeclaration declaration)
    於 System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager)
    於 Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
    於 System.ComponentModel.Design.Serialization.BasicDesignerLoader.BeginLoad(IDesignerLoaderHost host) 
    2008年7月1日 上午 07:23

解答