[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Ezio

8/21/2002 12:26:00 PM

Hi everyone,
believe it or not I just tried to generate code for a
Windows service (aka NT services) in c# and everything
goes well. It installs fine in the SCM but ... when I try
to start it it stays forever in this starting state. In
other words it hangs internally.
The code has fully been generated by the wizard, my
version is the Architect one + SP2 and I am working on Win
2K SP2.

Any help would be relly very appreciated (I am moving
to .NET a several of those NT services).

Thanks
Ezio
1 Answer

JK

8/21/2002 7:52:00 PM

0

One reason could be that the code which is being
initialized in the OnStart is hanging. Can you test the
code by changing the service to an exe application and
checking if nothing is wrong there? I am sure you must
have done these tests, but sometimes these small things
can go undiscovered...

>-----Original Message-----
>Hi everyone,
>believe it or not I just tried to generate code for a
>Windows service (aka NT services) in c# and everything
>goes well. It installs fine in the SCM but ... when I try
>to start it it stays forever in this starting state. In
>other words it hangs internally.
>The code has fully been generated by the wizard, my
>version is the Architect one + SP2 and I am working on
Win
>2K SP2.
>
>Any help would be relly very appreciated (I am moving
>to .NET a several of those NT services).
>
>Thanks
>Ezio
>.
>