Home All Groups Group Topic Archive Search About

Windows 98 and .Net Service

Author
15 Dec 2005 7:38 PM
Dave Boal
I knew it would happen. I have a large who customer wants to run our Windows
Service App on a Win98 Machine...

Is it possible to run a Windows Service developed in .Net on Win98?

If so, do I need to create a Service Control App to Start and Stop the
Service?  If not, how do I start it (net start ServiceName).

Do I need to Install the Service using InstallUtil.exe?

Also how can I debug the app on the win98 machine?

Thanks for your insights.  If you can direct me to a discussion, that would
be great!

Author
15 Dec 2005 7:43 PM
Kevin Spencer
..Net will not run on any OS older than Windows 2000.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
You can lead a fish to a bicycle,
but it takes a very long time,
and the bicycle has to *want* to change.

Show quote
"Dave Boal" <DaveB***@discussions.microsoft.com> wrote in message
news:B83653D5-D879-4E32-8021-9D5738B9A91E@microsoft.com...
>I knew it would happen. I have a large who customer wants to run our
>Windows
> Service App on a Win98 Machine...
>
> Is it possible to run a Windows Service developed in .Net on Win98?
>
> If so, do I need to create a Service Control App to Start and Stop the
> Service?  If not, how do I start it (net start ServiceName).
>
> Do I need to Install the Service using InstallUtil.exe?
>
> Also how can I debug the app on the win98 machine?
>
> Thanks for your insights.  If you can direct me to a discussion, that
> would
> be great!
Author
15 Dec 2005 8:05 PM
Willy Denoyette [MVP]
..NET version 2.0
Supported Operating Systems: Windows 2000 Service Pack 3; Windows 98;
Windows 98 Second Edition; Windows ME; Windows Server 2003; Windows XP
Service Pack 2

Willy.

Show quote
"Kevin Spencer" <kevin@DIESPAMMERSDIEtakempis.com> wrote in message
news:%23dzLJ$aAGHA.2392@TK2MSFTNGP09.phx.gbl...
> .Net will not run on any OS older than Windows 2000.
>
> --
> HTH,
>
> Kevin Spencer
> Microsoft MVP
> .Net Developer
> You can lead a fish to a bicycle,
> but it takes a very long time,
> and the bicycle has to *want* to change.
>
> "Dave Boal" <DaveB***@discussions.microsoft.com> wrote in message
> news:B83653D5-D879-4E32-8021-9D5738B9A91E@microsoft.com...
>>I knew it would happen. I have a large who customer wants to run our
>>Windows
>> Service App on a Win98 Machine...
>>
>> Is it possible to run a Windows Service developed in .Net on Win98?
>>
>> If so, do I need to create a Service Control App to Start and Stop the
>> Service?  If not, how do I start it (net start ServiceName).
>>
>> Do I need to Install the Service using InstallUtil.exe?
>>
>> Also how can I debug the app on the win98 machine?
>>
>> Thanks for your insights.  If you can direct me to a discussion, that
>> would
>> be great!
>
>
Author
16 Dec 2005 4:27 AM
Kevin Spencer
Darn, Willy. I should have checked. It didn't seem that it could run on
Windows 98, because the 98 system is not NT-Based, and doesn't have the kind
of security the .Net platform needs. But you are correct. I don't know how
they did it or what the restrictions are, but apparently you can run at
least some .Net apps on Windows 98. (Hanging my head in shame).

--

Kevin Spencer
Microsoft MVP
..Net Developer
You can lead a fish to a bicycle,
but it takes a very long time,
and the bicycle has to *want* to change.

Show quote
"Willy Denoyette [MVP]" <willy.denoye***@telenet.be> wrote in message
news:eJllXLbAGHA.140@TK2MSFTNGP12.phx.gbl...
> .NET version 2.0
> Supported Operating Systems: Windows 2000 Service Pack 3; Windows 98;
> Windows 98 Second Edition; Windows ME; Windows Server 2003; Windows XP
> Service Pack 2
>
> Willy.
>
> "Kevin Spencer" <kevin@DIESPAMMERSDIEtakempis.com> wrote in message
> news:%23dzLJ$aAGHA.2392@TK2MSFTNGP09.phx.gbl...
>> .Net will not run on any OS older than Windows 2000.
>>
>> --
>> HTH,
>>
>> Kevin Spencer
>> Microsoft MVP
>> .Net Developer
>> You can lead a fish to a bicycle,
>> but it takes a very long time,
>> and the bicycle has to *want* to change.
>>
>> "Dave Boal" <DaveB***@discussions.microsoft.com> wrote in message
>> news:B83653D5-D879-4E32-8021-9D5738B9A91E@microsoft.com...
>>>I knew it would happen. I have a large who customer wants to run our
>>>Windows
>>> Service App on a Win98 Machine...
>>>
>>> Is it possible to run a Windows Service developed in .Net on Win98?
>>>
>>> If so, do I need to create a Service Control App to Start and Stop the
>>> Service?  If not, how do I start it (net start ServiceName).
>>>
>>> Do I need to Install the Service using InstallUtil.exe?
>>>
>>> Also how can I debug the app on the win98 machine?
>>>
>>> Thanks for your insights.  If you can direct me to a discussion, that
>>> would
>>> be great!
>>
>>
>
>
Author
17 Dec 2005 6:17 PM
Willy Denoyette [MVP]
Kevin,

How they did, well... (unfortunately) by using a bunch of:

If(OSVersion == ConsumerWindows)
  throw "Sorry, use a real OS"
else
  // Ok, let's get to business ...

Can you imagine what they had to do to support threadpools in the CLR for
Win98 :-(
They did the same to support NT4, but fortunately this one has been removed
as from V2.0 :-)
The lack of any security infrastructure in W98, is IMO reflected in the poor
"Windows security" support in the framework, I bet that if they didn't have
to support "Consumer Windows", they would have done a better job in this
(and some other) domain(s), but of course we may not forget that .NET
development started early 1998 even before XP saw the light.

Willy.


Show quote
"Kevin Spencer" <kevin@DIESPAMMERSDIEtakempis.com> wrote in message
news:ONbp%23jfAGHA.3140@TK2MSFTNGP14.phx.gbl...
> Darn, Willy. I should have checked. It didn't seem that it could run on
> Windows 98, because the 98 system is not NT-Based, and doesn't have the
> kind of security the .Net platform needs. But you are correct. I don't
> know how they did it or what the restrictions are, but apparently you can
> run at least some .Net apps on Windows 98. (Hanging my head in shame).
>
> --
>
> Kevin Spencer
> Microsoft MVP
> .Net Developer
> You can lead a fish to a bicycle,
> but it takes a very long time,
> and the bicycle has to *want* to change.
>
> "Willy Denoyette [MVP]" <willy.denoye***@telenet.be> wrote in message
> news:eJllXLbAGHA.140@TK2MSFTNGP12.phx.gbl...
>> .NET version 2.0
>> Supported Operating Systems: Windows 2000 Service Pack 3; Windows 98;
>> Windows 98 Second Edition; Windows ME; Windows Server 2003; Windows XP
>> Service Pack 2
>>
>> Willy.
>>
>> "Kevin Spencer" <kevin@DIESPAMMERSDIEtakempis.com> wrote in message
>> news:%23dzLJ$aAGHA.2392@TK2MSFTNGP09.phx.gbl...
>>> .Net will not run on any OS older than Windows 2000.
>>>
>>> --
>>> HTH,
>>>
>>> Kevin Spencer
>>> Microsoft MVP
>>> .Net Developer
>>> You can lead a fish to a bicycle,
>>> but it takes a very long time,
>>> and the bicycle has to *want* to change.
>>>
>>> "Dave Boal" <DaveB***@discussions.microsoft.com> wrote in message
>>> news:B83653D5-D879-4E32-8021-9D5738B9A91E@microsoft.com...
>>>>I knew it would happen. I have a large who customer wants to run our
>>>>Windows
>>>> Service App on a Win98 Machine...
>>>>
>>>> Is it possible to run a Windows Service developed in .Net on Win98?
>>>>
>>>> If so, do I need to create a Service Control App to Start and Stop the
>>>> Service?  If not, how do I start it (net start ServiceName).
>>>>
>>>> Do I need to Install the Service using InstallUtil.exe?
>>>>
>>>> Also how can I debug the app on the win98 machine?
>>>>
>>>> Thanks for your insights.  If you can direct me to a discussion, that
>>>> would
>>>> be great!
>>>
>>>
>>
>>
>
>
Author
15 Dec 2005 8:06 PM
Willy Denoyette [MVP]
Show quote
"Dave Boal" <DaveB***@discussions.microsoft.com> wrote in message
news:B83653D5-D879-4E32-8021-9D5738B9A91E@microsoft.com...
>I knew it would happen. I have a large who customer wants to run our
>Windows
> Service App on a Win98 Machine...
>
> Is it possible to run a Windows Service developed in .Net on Win98?
>
> If so, do I need to create a Service Control App to Start and Stop the
> Service?  If not, how do I start it (net start ServiceName).
>
> Do I need to Install the Service using InstallUtil.exe?
>
> Also how can I debug the app on the win98 machine?
>
> Thanks for your insights.  If you can direct me to a discussion, that
> would
> be great!

Win98 does not support running Windows Services at all, so the answer is NO.

Willy.

AddThis Social Bookmark Button