Site Search:
Sign in | Join | Help

How to access the modified form in VS

Last post 01-03-2008 8:10 AM by Steve Gray. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 01-02-2008 8:46 PM

    How to access the modified form in VS

    Hi,

     I customized(added a check box) the SOPEntry form through modifier.

    The modified form is not reflected in Dynamics dictionary. So I tried to run Dag.exe file, which ends with an exception :

    Reading metadata from Dynamics: 6%
    Unhandled Exception: System.ArgumentException: An item with the same key has already been added.
       at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
       at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
       at Microsoft.Dexterity.Bridge.Table.LoadKey(RMKey* rmTableKey)
       at Microsoft.Dexterity.Bridge.Table.LoadAllKeys(RMTable* rmTable)
       at Microsoft.Dexterity.Bridge.Table..ctor(String name, DictionaryElement parent, RMTable* rmTable, Int16 tableId)
       at Microsoft.Dexterity.Bridge.DictionaryRoot.LoadAllTables(ProgressCallback callback)
       at Microsoft.Dexterity.Applications.Program.Main(String[] args)

     

    Please help me. Am I going in right direction?

    Kindly reply me.

    Thanks,

    Sekhar. 

     

    Filed under:
    • 65.249.12.3
  • 01-03-2008 8:10 AM In reply to

    Re: How to access the modified form in VS

    "An item with the same key has already been added"

     I'll bet that you added a control with the same name twice somehow. To test this, RENAME (don't delete) the forms.dic, dynamics.VBA and reports.dic files. That will give you a virgin Dynamics installation. Then, re-add the check box, save, and run dag.exe. I'll bet that works. Just to be safe, don't use the same name for the checkbox as before.

    HTH...

     

     

    Steve Gray, MCDBA
    Technical Editor
    steve@VSToolsForum.com
    • 216.77.101.2
Page 1 of 1 (2 items)