Hello.

We have seen a small handful of errors on R2 when using the new
Partition methods in the UserSessionService web service.

The errors look something like this:

The message with Action
'http://schemas.microsoft.com/dynamics/2011/01/services/UserSessionService/IsSinglePartitionSystem'
cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher.
This may be because of either a contract mismatch (mismatched Actions between
sender and receiver) or a binding/security mismatch between the sender and the
receiver. Check that sender and receiver have the same contract and the same binding
(including security requirements, e.g. Message, Transport, None).

"Query execution failed for dataset 'BankAccountAmounts'. (rsErrorExecutingCommand) The message
with Action 'http://schemas.microsoft.com/dynamics/2011/01/services/UserSessionService/GetPartitionKey'
cannot be processed at the receiver, due to a ContractFilter mismath at the
EndpointDispatcher. This may be because of either a contract mismatch
(mismatched Actions between sender and receiver) or binding/security mismatch
between the sender and the receiver. Check that sender and receiver have the
same contract and the same binding (including security requirements, e.g.
Massage, Transport, None)

To me these errors look like we are attempting to use a
method that does not exist. Here are the steps that seem to fix the issue. I
did not test these steps independently so they may not all be needed.

 


 


1)  AOT -> Classes -> AifUserSessionService right click and compile.

2)  AOT -> Classes -> AifUserSessionService right click and compile forward.

3)  AOT -> Services -> AifUserSessionService right click and compile.

 

4)   AOT -> Service Groups -> UserSessionService right click and compile.

5)  AOT -> Service Groups -> UserSessionService right click and Deploy Service

6) Test.

If you are missing the partition methods in the AifUserSessionService class or the Partition operations in the AifUserSessionService Service please
let us know.