I'm working to create a small demo similar to the Rolodex sample. Upon creating a simple login page (identical to the way the Rolodex project works) I'm receiving the following error when I try to login to the database (I'm using the Rolodex database):
The Type 'myProject.Business.Security.CredentialsCriteria, myProject.Business.Client, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' was unable to be deserialized, double check that the assembly containing this class has the same name on the Client and Server and that it is referenced by your server application
Any help is greatly appreciated.
Thanks,
SMIMS
I think you are missing a reference in your WCF project to .NET
version of myProject.Business.
Sergey Barskiy
Principal Consultant
office: 678.405.0687 |
mobile: 404.388.1899
Microsoft Worldwide Partner of the Year | Custom
Development Solutions, Technical Innovation
From: smims
[mailto:cslanet@lhotka.net]
Sent: Monday, November 24, 2008 9:11 AM
To: Sergey Barskiy
Subject: [CSLA .NET] CSLA Silverlight Deserialization Issue
I'm working to create
a small demo similar to the Rolodex sample. Upon creating a simple
login page (identical to the way the Rolodex project works) I'm receiving the
following error when I try to login to the database (I'm using the Rolodex database):
The Type
'myProject.Business.Security.CredentialsCriteria, myProject.Business.Client,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' was unable to be
deserialized, double check that the assembly containing this class has the same
name on the Client and Server and that it is referenced by your server
application
Any help is
greatly appreciated.
Thanks,
SMIMS
What version of CSLA does the WCF project need to reference, .NET or Silverlight? My WCF project is currently referencing the .NET version. I notice if I refernce the Silverlight version the sevice doesn't seem to work. Not sure what reference I could be missing here?
Thanks,
SMIMS
.NET. I think it is missing referen3ce to your business
classes assembly, not CSLA.
Sergey Barskiy
Principal Consultant
office: 678.405.0687 |
mobile: 404.388.1899
Microsoft Worldwide Partner of the Year | Custom
Development Solutions, Technical Innovation
From: smims
[mailto:cslanet@lhotka.net]
Sent: Monday, November 24, 2008 9:25 AM
To: Sergey Barskiy
Subject: Re: [CSLA .NET] RE: CSLA Silverlight Deserialization Issue
What version of CSLA does
the WCF project need to reference, .NET or Silverlight? My WCF
project is currently referencing the .NET version. I notice if I refernce
the Silverlight version the sevice doesn't seem to work. Not sure
what reference I could be missing here?
Thanks,
SMIMS
Assembly name and root namespace in both .NET and SL versions of
your myProject.Business have to be the same.
Sergey Barskiy
Principal Consultant
office: 678.405.0687 |
mobile: 404.388.1899
Microsoft Worldwide Partner of the Year | Custom
Development Solutions, Technical Innovation
From: smims
[mailto:cslanet@lhotka.net]
Sent: Monday, November 24, 2008 9:56 AM
To: Sergey Barskiy
Subject: Re: [CSLA .NET] RE: RE: CSLA Silverlight Deserialization Issue
My WCF
project is referencing my 'myProject.Business.Server' project. That seems
right. Thoughts?
Success! That was my problem. Thanks for your help Sergey! I really appreciate your prompt responses to my issue.
Copyright (c) Marimer LLC