Re: Deploying client and server apps

From: Bob Rundle (rundle_at_rundle.com)
Date: 03/10/05


Date: Thu, 10 Mar 2005 13:22:26 -0700

Paul,

Your server is accessing classes in your client app. You need to factor out
shared code into an assembly that can be shipped with both the client and
server. There are two approaches to this...(1) use interfaces to define
remoting or (2) use abstract classes. If you are using remoting events,
then things become a little sticky. You have to create an event wrapper can
reside in the shared assembly and is instantiated in the client.

Regards,
Bob Rundle

"Paul K" <PaulK@discussions.microsoft.com> wrote in message
news:3C51C468-9358-47A8-80C2-CB90E840A608@microsoft.com...
> After I finished my remoting client and server apps, I created a separate
> deployment package for each:
>
> Client Package:
> Client app
> Common assembly containing the MarshalByRef classes
>
> Server Package:
> Server app
> Common assembly containing the MashalByRef classes
>
> I install and run the server app, and everything is fine.
> I install the client app, but when I run it I get the error message
> "Cannot
> find the assembly TRCMSTelecommClient" when I try to attach to the server
> events. TRCMSTelecommClient is my client app.
>
> If I put the client app in the same folder as the server app everything
> works normally.
>
> I'm not sure what, if any, code would help.
>
> Does anyone have any suggestions?
>
> Thanks!
>
> Paul K



Relevant Pages

  • Re: Unblocking items in firewall - Symantec AntiVirus Corporate Edition
    ... >> has it installed on his network. ... Can the firewall component of ... server machine, ... The client app and database app make their homes in the same directory ...
    (comp.security.firewalls)
  • Re: Allow User Interactive Login to Server
    ... Running the client app on the server ... And my client could see who is walking in to ... The client app is there in case the network goes down ... and they must have access to their accounting data anyway. ...
    (microsoft.public.windows.server.sbs)
  • Re: Allow User Interactive Login to Server
    ... Running the client app on the server is bogus. ... And my client could see who is walking in to log in. ... The client app is there in case the network goes down and they must have access to their accounting data anyway. ... Accounting app is maintained by their CPA, ...
    (microsoft.public.windows.server.sbs)
  • Re: Allow User Interactive Login to Server
    ... Running the client app on the server ... And my client could see who is walking in to log ... The client app is there in case the network goes down and they ... must have access to their accounting data anyway. ...
    (microsoft.public.windows.server.sbs)
  • RE: Different Users running the ame DTS package
    ... A copy of the package is loaded before it is run so even if the users are on ... the same m/c (dts is a client app so runs on the client m/c) they will have ... > I have a DTS package with a global variable. ...
    (microsoft.public.sqlserver.dts)