all groups > dotnet myservices > may 2007 >
You're in the

dotnet myservices

group:

Service crash OnStart


Service crash OnStart fabfire NO[at]SPAM gmail.com
5/7/2007 5:10:46 AM
dotnet myservices: Hello,

We are developping a windows service with the .Net 2.0 framework.
This service works fine on our development machines but when we try to
start it on our windows 2003 server, it crashes. (just when clicking
on "Start" in the service panel).

When this happens, a log is writen in the eventLog : EventType
clr20r3, P1 cnvae5auulsfi0nzt3js23eeq1cckyh5, P2 1.0.0.0, P3 463ef39a,
P4 system, P5 2.0.0.0, P6 4333ae87, P7 35f0, P8 7f, P9
system.argumentexception, P10 NIL.

I tried to select "Local system account" in the 2nd tab of properties
but it makes no difference...

If someone has an idea ?
thanks in advance...
Re: Service crash OnStart Lee Gillie
5/7/2007 2:22:23 PM
Why not debug it? Do a debug build with the call to invoke the debugger
as the first line of the OnStart method. (What is it?
Debugger.StartDebugging or something - with intellisense I never have to
actually remember these things).

[quoted text, click to view]
AddThis Social Bookmark Button