we're using CSLA 4.3 in a distributed environment and encountered the following issues with the usage of the data portal:
There was an error while trying to deserialize parameter http://ws.lhotka.net/WcfDataPortal:request. The InnerException message was 'Member 'm_identity' was not found.'.
After some investigation we figured out that this is caused by the fact that the server was running on a machine that had a .NET 4.5 beta installed and the client was running with a 'pure' .NET 4.0 installation; the same is true when the server is running on 'pure' .NET 4.0 and the client on a .NET 4.5 beta machine.
Everything works fine if both machines have exactly the same .NET runtime version / installation; either two times 'pure' .NET 4.0 or two times .NET 4.5 beta.
There are some changes in the serializer in the 'patched' .NET 4.0 runtime (which comes with the installation of the .NET 4.5 beta installation).
Is this a known issue?
Thanks for information and help!
This wouldn't be the first time Microsoft has changed the serialization format out from under us.
But it would be the first time they were incompatible since the .NET 1.0 to 1.1 fiasco.
I suggest you do two things:
Oh wait, sorry, my workaround isn't available if the client is .NET :(
So I don't have a real workaround to suggest. Microsoft must have changed how the NDCS works in 4.5 (I'm assuming you are using WcfProxy), and to me that sounds like a bug in .NET.
thanks for the fast answers.
You're right, we're using the WcfProxy and we will create a Microsoft bug in connect.
Connect issue is here:
Copyright (c) Marimer LLC