Service Hosted Remoting Doesn't Work When Installed With MSI

From: Jim Davis (jim.davis_at_flexcar.com)
Date: 08/03/04


Date: Tue, 3 Aug 2004 17:23:40 -0000

I have a remote object hosted in a windows service. It works great when the
service is installed via InstallUtil.exe. When I install the service using
a Setup Project, the service runs, but accessing the remote object gives a
File or assembly name XX, or one of its dependencies, was not found." error.

I am loading the configuration file using
RemotingConfiguration.Configure(System.AppDomain.CurrentDomain.SetupInformat
ion.ConfigurationFile);

I also get this error if I use
RemotingConfiguration.Configure("SvcName.exe.config") and put the config
file in System32.

I'm certain the path to the config file is correct as this same code works
when installed with InstallUtil.exe

The remote object is in the gac and not installed by the setup project. I
don't think this should matter, but am including this point in case it does.

Thanks for any help with this.



Relevant Pages

  • Re: Windows 2003 Server Standard SP2 install problems
    ... The caller requested a remote object, but no remote process is available ... Windows Server 2003 Storage Server R2, ... The install fails when I ...
    (microsoft.public.windowsupdate)
  • RMI problem
    ... The example contains a program that instantiates the remote object on ... Where cmi is the actual object it is going to instantiate. ... Any ideas about what I forgot to install, ...
    (comp.lang.java.developer)
  • Re: Looking Ahead - Upgrade
    ... Well, one of my machines originally had Red Hat 3.3 installed, and it's been upgraded with every release since then, until the current Fedora 8. ... I recall one upgrade, I think it was Red Hat 5, that loaded a kernel that had a bug that caused a complete freeze, and that was triggered only on certain hardware, and I won the lottery. ... a fresh install won't make much of a difference here. ... For each configuration file, open the carried-over one that was left in place, take all the changes you have in the old file, manually merge it into the .rpmnew file, then replace the old configuration file with the .rpmnew file. ...
    (Fedora)
  • Re: regsvr32 error code 0x80004002
    ... configuration file. ... Regarding DLL hell, I want to talk it from another perspective. ... Per-application Configuration on Windows XP ... To have it work, you must install Application ...
    (microsoft.public.vc.mfc)
  • Re: openSUSE Phpmyadmin
    ... you install from the official tar.gr. ... openSUSE packaged RPM. ... Probably reason of this is that you did not create configuration file. ... Maybe I'll try to edit that in cli. ...
    (alt.os.linux.suse)