473,321 Members | 1,708 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,321 software developers and data experts.

remoting deserilization

Tom
Hi guys,

I am puzzeled.. I am writing a simple remoting app.. where there's a client,
a server and a service class which will work between client and server so i
mark this service class as Serializable.. but strangely on the client side
it complains that it does not see this class whilst complaining and giving
the errors of

An unhandled exception of type
'System.Runtime.Serialization.SerializationExcepti on' occurred in
mscorlib.dll

Additional information: Cannot find the assembly Communicate,
Version=1.0.1745.4114, Culture=neutral, PublicKeyToken=null.

_____________________

and I did mark my service class as serializable.. copy and paste just incase
you don't believe me

[Serializable]

public class Session

thanks

Tom
Nov 22 '05 #1
2 1707
Do you have a reference in the client application to the dll where the class
lives?

--
Patrik Löwendahl [C# MVP]
www.cshrp.net - "Elegant code by witty programmers"
"Tom" <to********@optushome.com.au> wrote in message
news:41***********************@news.optusnet.com.a u...
Hi guys,

I am puzzeled.. I am writing a simple remoting app.. where there's a
client,
a server and a service class which will work between client and server so
i
mark this service class as Serializable.. but strangely on the client side
it complains that it does not see this class whilst complaining and giving
the errors of

An unhandled exception of type
'System.Runtime.Serialization.SerializationExcepti on' occurred in
mscorlib.dll

Additional information: Cannot find the assembly Communicate,
Version=1.0.1745.4114, Culture=neutral, PublicKeyToken=null.

_____________________

and I did mark my service class as serializable.. copy and paste just
incase
you don't believe me

[Serializable]

public class Session

thanks

Tom

Nov 22 '05 #2
Tom
sorry yeah I made a mistake it was referenced on the client but wasn't on
the server...

now its all good

thanks :D
"Patrik Löwendahl [C# MVP]" <pa**************@csharpsweden.com> wrote in
message news:#Q**************@TK2MSFTNGP14.phx.gbl...
Do you have a reference in the client application to the dll where the class lives?

--
Patrik Löwendahl [C# MVP]
www.cshrp.net - "Elegant code by witty programmers"
"Tom" <to********@optushome.com.au> wrote in message
news:41***********************@news.optusnet.com.a u...
Hi guys,

I am puzzeled.. I am writing a simple remoting app.. where there's a
client,
a server and a service class which will work between client and server so i
mark this service class as Serializable.. but strangely on the client side it complains that it does not see this class whilst complaining and giving the errors of

An unhandled exception of type
'System.Runtime.Serialization.SerializationExcepti on' occurred in
mscorlib.dll

Additional information: Cannot find the assembly Communicate,
Version=1.0.1745.4114, Culture=neutral, PublicKeyToken=null.

_____________________

and I did mark my service class as serializable.. copy and paste just
incase
you don't believe me

[Serializable]

public class Session

thanks

Tom


Nov 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Sean Newton | last post by:
I am absolutely bewildered by now by the Microsoft.Samples SSPI and Security assemblies. I've been trying to set these up in a very straightforward harness in the way that I'd like to be able to...
2
by: Tom | last post by:
Hi guys, I am puzzeled.. I am writing a simple remoting app.. where there's a client, a server and a service class which will work between client and server so i mark this service class as...
0
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool This article makes a detailed comparison among SourceAnyWhere, SourceOffSite, VSS...
5
by: mayamorning123 | last post by:
A comparison among six VSS remote tools including SourceOffSite , SourceAnyWhere, VSS Connect, SourceXT, VSS Remoting, VSS.NET To view the full article, please visit...
0
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool including SourceOffSite, SourceAnyWhere and VSS Remoting This article makes a detailed...
4
by: Uchiha Jax | last post by:
Hello everyone, I am a plenty silly person who is trying to learn .NET remoting through trial and error (all articles I read are going over my head at the moment (mostly) so I thought i'd give...
0
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool This article makes a detailed comparison among SourceAnyWhere, SourceOffSite, VSS...
0
by: Martijn Damen | last post by:
Hi, At the moment I am trying to develop an application that uses another app over .net remoting and having some problems with it (ok, that is ofcourse why I am here), hope somebody can shine a...
8
by: Raju Joseph | last post by:
Hi All, I am just trying to get an opinion here. I know this is always a tough choice to make. We are in the process of converting our VB6 based Healthcare Information System (a full-fledged...
0
by: Kristian Reukauff | last post by:
Hi I have a problem with the .Net-Securty-Functions. I've got a client and a server. When I try to register a channel at the server with this line: ChannelServices.RegisterChannel(chan, false);...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.