I am using CRM 2013 on premise. I am updating a record on the Facilities/Equipment entity via a crm form (real name of entity is "equipment").
When I try to change a record it pops up a message "Invalid Argument".
The downloadable log file says:
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: attributePlatformNameDetail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ErrorCode>-2147220989</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>attributePlatformName</Message>
<Timestamp>2017-02-21T14:54:18.4373956Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>
When I look in the trace on the server it says;
Crm Exception: Message: attributePlatformName, ErrorCode: -2147220989, InnerException: Microsoft.Crm.CrmArgumentNullException: attributePlatformName ---> System.ArgumentNullException: Value cannot be null.
Parameter name: attributePlatformName
I have a total of 9 facilities records, 6 of them produce an error 3 of them don't.
Any ideas? thanks