[Mono-list] Problem installing service

Petit Eric surfzoid at gmail.com
Sun May 24 19:28:34 EDT 2009


2009/5/24 Derek Ekins <derek at spathi.com>:
> Thanks for clearing that up.
> I take it that it is only meant for windows installs then?

Windows work in a differante way, you need to manage some class
installer and use similare of one of my batch script :
http://clamwinrt.svn.sourceforge.net/viewvc/clamwinrt/ClamWinRT.ConvertedToCs/bin/Debug/
>
> 2009/5/24 Robert Jordan <robertj at gmx.net>
>>
>> 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
>>
>> _______________________________________________
>> Mono-list maillist  -  Mono-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
>
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>



-- 

Cordially.

Small Eric Quotations of the days:
---------------------------------------------------------------------------
If one day one reproaches you that your work is not a work of
professional, say you that:
Amateurs built the arch of Noah, and professionals the Titanic.
---------------------------------------------------------------------------

Few people are done for independence, it is the privilege of the powerful ones.
---------------------------------------------------------------------------

No key was wounded during the drafting of this message.


More information about the Mono-list mailing list