Using the DevForce SL Business Template.
I go to the Registration form, and register.
It then returns the following error message:
The data contract type 'Jet.Models.Login.CreateUserResult' cannot be deserialized because the property 'Status' does not have a public setter. Adding a public setter will fix this error. Alternatively, you can make it internal, and use the InternalsVisibleToAttribute attribute on your assembly in order to enable serialization of internal members - see documentation for more details. Be aware that doing so has certain security implications.
This is the current code:
[DataMember]
public CreateUserStatus Status { get; internal set; }
If I change it to:
[DataMember]
public CreateUserStatus Status { get; set; }
it then works. Also the same applies for the ValidationErrors property. I tried using the InternalsVisibleToAttribute, but couldn't get that to work.
Greg