P
Per Bergland
I've got a Windows Service written in .NET (1.1).
It works fine on most machines, but on our external W2KS web server,
with many unnecessary services stopped, the services simply fail to
start at boot time.
The System event log shows that the services didn't start "in a timely
fashion" and the Application event log has one ".Net Framework" event
for each failing service. The text just states that an exception
occurred (and the text "Click OK to continue and Cancel to debug" or
something in that vein), and since I don't even get to the entry point
of my exe, the exception probably occurs at assembly load time, much
like the security exceptions you can get when trying to run an exe from
a network disk in your LAN.
How do I find out what the exception is? Is there a magic flag somewhere
that makes the .NET assembly loader be a little more verbose?
A minidump?
Oh, and once I've logged on to the machine, the services start just
fine, of course.
/Per
It works fine on most machines, but on our external W2KS web server,
with many unnecessary services stopped, the services simply fail to
start at boot time.
The System event log shows that the services didn't start "in a timely
fashion" and the Application event log has one ".Net Framework" event
for each failing service. The text just states that an exception
occurred (and the text "Click OK to continue and Cancel to debug" or
something in that vein), and since I don't even get to the entry point
of my exe, the exception probably occurs at assembly load time, much
like the security exceptions you can get when trying to run an exe from
a network disk in your LAN.
How do I find out what the exception is? Is there a magic flag somewhere
that makes the .NET assembly loader be a little more verbose?
A minidump?
Oh, and once I've logged on to the machine, the services start just
fine, of course.
/Per