locked
Microsoft.Xrm.Tooling.Connector CRM 2013 RRS feed

  • Question

  • We want to create an account with related contacts (we use the Xrm.Tooling.Connector SDK). Following C#-Code:

    ...
    // Create Account
    ...
    // Create Contacts with parent Account
    inData = new Dictionary<string, CrmDataTypeWrapper>();
    inData.Add("parentcustomerid", new CrmDataTypeWrapper(accountID, CrmFieldType.Lookup));
    ...
    _ctrlCRM.CrmConnectionMgr.CrmSvc.CreateNewRecord(entity, inData);

    ...

    We got alway Exceptions like this "System.NullReferenceException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #DE44451C"

    What's wrong?


    Thursday, December 11, 2014 1:13 PM