Hi, I'm writing my first silverlight app. with Ideablade. Please note that I'm using a valid DevForce Silverlight license.
If I call LoginAsync such:
var cred = new LoginCredential("demo","demo","demo");
_mgr.LoginAsync(cred, LoggedIn, null);
I get this exception in the LoggedIn receiver method:
The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://ideablade.com/EntityModel:credential. The InnerException message was 'XML 'Element' 'http://ideablade.com/EntityModel:credential' does not contain expected attribute 'http://schemas.microsoft.com/2003/10/Serialization/:Type'. The deserializer has no knowledge of which type to deserialize. Check that the type being serialized has the same contract as the type being deserialized.'. Please see InnerException for more details.
However if I try logging in such :
_mgr.LoginAsync(cred, LoggedIn, null);
I get this exception in the LoggedIn recevier method:
This product is not registered or the key may no longer be valid.
Product: Error
My solution is setup as in the DevForce Dev. Guide and shown in the screenshot below:
The C2NetSilverWeb is the startup project, and C2NetSilver is the Silverlight Applicaton project.
I have succeessfully retrieved data etc. using a Console project as the client.
I'm a quite a newby in the security stuff, so I have note done anything to implement the security on the server site.
What could be the problem?
Regards
TJ