Re: TCP Webservice trying to use classes from a separate dll



"smesser" <smesser@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:116672B1-9B49-4754-86C2-D43C71885004@xxxxxxxxxxxxxxxx
I have a TCP webservice which ran fine until I added a dll containing some
common objects to webservice.

The proxy code generates fine but when I run the client requesting data that
results in using objects from the dll I added the client throws an exception
saying that I am using objects from an unreferenced dll.

The dll is referenced, any ideas what the problem might be here?

The client and service can NEVER, EVER, share types. They are two unrelated entities.

Consider: how would you solve this problem if the client was written in Java and the service in .NET? You would bt unable to share the DLL. That's how you should solve this problem, right after you remove from the client that reference to types shared by the service.
--
John Saunders [MVP]

.



Relevant Pages

  • Interface serialization
    ... This dll doesn't reference any other assemblies of my ... It's this dll which is on the client machine. ... The server creates a RemoteObject1 object and sends a reference of type ... To have access to the methods defined in IObject1, ...
    (microsoft.public.dotnet.framework.remoting)
  • Interop COM in C# - cant get the object released
    ... But the client will not release the COM object. ... A reference remains on MyCOM.dll. ... Is there a way for force the DLL to be unloaded? ... this could be done by unloading the application with the IIS manager. ...
    (microsoft.public.dotnet.languages.csharp)
  • Interop COM in C# - cant get the object released
    ... But the client will not release the COM object. ... A reference remains on MyCOM.dll. ... Is there a way for force the DLL to be unloaded? ... this could be done by unloading the application with the IIS manager. ...
    (microsoft.public.dotnet.framework.interop)
  • Re: screen scrape / remote manipulation
    ... Functionally a dll is no different from an .exe in terms of spying ... The other option is to install software capable of monitoring TCP/IP port ... connection is established between the dll (on the client) and the server, ...
    (microsoft.public.windowsxp.general)
  • Re: VB6 Winsock action on Server
    ... separate dll instance for each client request process it, ... of your 'dll' (assuming it is an ActiveX-Dll? ...
    (microsoft.public.vb.general.discussion)