Len Ott Posted May 2, 2018 Share Posted May 2, 2018 When I turn on Tracing, I see: [05/01/2018 16:06:37.115][0x1530] 05/01/2018 16:06:37 (Adapter for Dynamics 365 and CRM) Object Serialization Error: Unable to write Scribe.DynamicsCrm5.Adapter.CrmDatabase.CrmService.RetrieveMultipleParameters data to the trace file due to the following error: Type 'Scribe.DynamicsCrm5.Adapter.CrmDatabase.CrmService.RetrieveMultipleParameters' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute.If the type is a collection, consider marking it with the CollectionDataContractAttribute.See the Microsoft .NET Framework documentation for other supported types. Although this happens on many of the operations, so probably not the issue I have tried entering the record as a draft record, that seems to work. But I can't even update it to 'published' (StateCode = Active, StatusCode = Active). How can I publish a product entity now Len Link to comment Share on other sites More sharing options...
Len Ott Posted May 2, 2018 Author Share Posted May 2, 2018 More on this: The error I get is: 1 is not a valid status code for state code ProductState.Draft on product with Id b815d0c5-9e4d-e811-a950-000d3a363879. Link to comment Share on other sites More sharing options...
Will Perkinson Posted January 3, 2019 Share Posted January 3, 2019 Did you find an answer We just took the upgrade to CRM Version 9 and I am having the same problem. Link to comment Share on other sites More sharing options...
Len Ott Posted January 3, 2019 Author Share Posted January 3, 2019 Yes, I at the suggestion of Scribe Support, I had to set the entity to 'draft', then do a second step to set it to 'active' Link to comment Share on other sites More sharing options...
Will Perkinson Posted January 3, 2019 Share Posted January 3, 2019 Thank you. I came to that same conclusion right before you replied. At least now, some others will find the solution now. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now