When calling a factory method Class1.GetList() the following exception is returned.
{System.InvalidCastException: Unable to cast object of type 'Csla.Security.UnauthenticatedPrincipal' to type 'Csla.Serialization.Mobile.IMobileObject'.
at Csla.Serialization.Mobile.MobileFormatter.DeserializeAsDTO(List`1 deserialized)
at Csla.Serialization.Mobile.MobileFormatter.Deserialize(List`1 data)
at Csla.Serialization.Mobile.MobileFormatter.Deserialize(XmlReader reader)
at Csla.Serialization.Mobile.MobileFormatter.Deserialize(Stream serializationStream)
at Csla.Serialization.Mobile.MobileFormatter.Deserialize(Byte[] data)
at Csla.Server.Hosts.Silverlight.WcfPortal.Fetch(CriteriaRequest request)
}
Any ideas? We are running a 4-tier deployment with a Silverlight Client.
Thanks!
Copyright (c) Marimer LLC