Mapping dialog exception

Thread is closed for posting
2 posts, 0 answers
  1. Markus
    Markus avatar
    43 posts
    Member since:
    Sep 2008

    Posted 20 Nov 2008 Link to this post

    If I open forward mapping dialog I get a System.ArgumentException. If I click OK everythings seems ok. But the exception occurs everytime I select an new class in tree view on the left.

    Stacktrace on Details:

    Exception:  Invalid member name.

    Generated by the method: Void .ctor(System.String, System.Attribute[])

    Stack Trace:    at System.ComponentModel.MemberDescriptor..ctor(String name, Attribute[] attributes)
       at System.ComponentModel.PropertyDescriptor..ctor(String name, Attribute[] attrs)
       at VtShared.Sdk.Addin.UserControls.Index.IndexFieldDescriptor.GetProperties(Attribute[] attributes)
       at System.ComponentModel.TypeDescriptor.MergedTypeDescriptor.System.ComponentModel.ICustomTypeDescriptor.GetProperties(Attribute[] attributes)
       at System.ComponentModel.TypeDescriptor.GetPropertiesImpl(Object component, Attribute[] attributes, Boolean noCustomTypeDesc, Boolean noAttributes)
       at System.ComponentModel.TypeDescriptor.GetProperties(Object component, Attribute[] attributes)
       at System.Windows.Forms.ListBindingHelper.GetListItemPropertiesByEnumerable(IEnumerable enumerable)
       at System.Windows.Forms.ListBindingHelper.GetListItemProperties(Object list)
       at System.Windows.Forms.ListBindingHelper.GetListItemProperties(Object list, PropertyDescriptor[] listAccessors)
       at System.Windows.Forms.CurrencyManager.GetItemProperties(PropertyDescriptor[] listAccessors)
       at System.Windows.Forms.CurrencyManager.GetItemProperties()
       at System.Windows.Forms.DataGrid.PairTableStylesAndGridColumns(CurrencyManager lm, DataGridTableStyle gridTable, Boolean forceColumnCreation)
       at System.Windows.Forms.DataGrid.SetDataGridTable(DataGridTableStyle newTable, Boolean forceColumnCreation)
       at System.Windows.Forms.DataGrid.Set_ListManager(Object newDataSource, String newDataMember, Boolean force, Boolean forceColumnCreation)
       at System.Windows.Forms.DataGrid.set_DataSource(Object value)
       at VtShared.Sdk.Addin.UserControls.CustomGridUserControl.ResetGrid(GridBindingList gridList)
       at VtShared.Sdk.Addin.UserControls.CustomGridUserControl.DataBindToGrid(IMdClass _mdClass)
       at VtShared.Sdk.Addin.UserControls.Index.IndexControl.ActivateUserControl(VSMetadata _metadata)

    Exception Type: System.ArgumentException

    Any solution ?

    Markus



  2. Jan Blessenohl
    Admin
    Jan Blessenohl avatar
    707 posts

    Posted 24 Nov 2008 Link to this post

    Hi Markus,

    Can you send me your solution? There seems to be some code in your project that we do not understand. Please use the support to send your project.

    Greetings,
    Jan Blessenohl
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top