Service doesn't run under windows NT

  • Thread starter Thread starter Christian Jost
  • Start date Start date
C

Christian Jost

Hello

I have the problem that my service under Windows NT SP 6a with Framework
1.1. doesn't run. I will receive an unknown exception from the framework all
the time. But the service runs under Windows 2000 and XP. I removed the
whole service code so that I have had only the start and stop methodes and a
little worker-thread. "Normal" Applications run very well on the NT-Machine.

Does somebody had the same problem?


Thanks for your help.

Chris.


The Exception-Message from the eventlog:
----------------------------------------------------------------------------
-
Die Beschreibung der Ereignis-ID ( 0 ) in Quelle ( .NET Runtime ) konnte
nicht gefunden werden. Sie enthält folgende Einfügezeichenkette(n):.NET
Runtime version 1.1.4322.573- testservice.exe - Common Language Runtime
Debugging Services: Application has generated an exception that could not be
handled.

Process id=0xb6 (182), Thread id=0x74 (116).

Click OK to terminate the application.
Click CANCEL to debug the application..
 
Christian,

Does your service by any chance use ADO.NET (System.Data.*) or
Windows.Security.Principle namespaces?

There is a problem when using these namespaces on Windows/NT in a service.

Martin.
 
Hello Martin

Thank you for your hint.

No, we don't use this namespaces. But another user gave me a good hint: He
has had
the same problem after installing the hotfix 822925. I don't have this
hotfix on my machine but
I tried it with a "clean" machine. The service works fine without any
hotfixes. So I have to
find the faulty hotfix now.

Chris.
 
Back
Top