Hi,
I'm receiving an error when trying to create a post in a custom entity.
The popup just states that an "Unexpected error has occurred" and something about contacting your administrator.
The retrieved log file states the following:
Unhandled exception:
Exception type: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]
Message: System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: lengthDetail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ActivityId>ba25b48b-d665-4319-a8dc-254f777aa1e9</ActivityId>
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length</Message>
<Timestamp>2019-02-14T10:04:13.0504236Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>
On the form I have an Autonumber plugin that enters a number onCreate. I've tried disabling, but it doesn't solve it.
I've also tried disabling all JS and workflows, nothing works.
Anyone stumbled upon this before?