[Mono-list] Problem installing service

Robert Jordan robertj at gmx.net
Sun May 24 14:07:55 EDT 2009


Derek Ekins wrote:
> Hi,
> I am trying to use installutil.exe to install my service.
> 
> I am getting the following error and I am not sure what to make of it as I
> have apps on this server that are using the mentioned classes.
> Any help much appreciated!
> 
> root at ip-10-226-103-117:/srv/media-app/service# mono
> /usr/local/lib/mono/2.0/installutil.exe mediaapp.monitoring.service.exe
> 
> ** (/usr/local/lib/mono/2.0/installutil.exe:1680): WARNING **: The class
> System.Collections.Generic.IList`1 could not be loaded, used in mscorlib,
> Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
> Stacktrace:

The error occurs because installutil is compiled only for .NET 1.1.
Anyways, it won't be able to install your service, because there
is no service manager in linux.

You'll have more luck with mono-service & and a run level script.

Robert



More information about the Mono-list mailing list