Tuesday, 8 April 2014

SharePoint 2010: Error code 12031 in WCF Endpoint called from the Client Object Model

I created a simple WCF endpoint to reference a REST service to return data from the client object model. All was going well until a single test account started to fail. One would work, another would fail.

I found the answer here.

Once of the scenarios in the code was not setting a DateTime property in the DataContract class.

I changed the code to set the value of the field to DateTime.MaxValue to resolve the problem.

No comments:

Post a comment