L
Lars Olsson
Ok, here is the situation:
We have a windows service A and a windows foms application B, both written
in
C#, compiled with .net framework 1.1
A starts autmatically at PC startup.
For various reasons, we want to launch B when the PC shuts down, without any
possibility
for end users to interfere with the process or mess with applications and
documents.
So the way we solved it is to have A create a Local shutdown script that
launches B.
Here is what happens:
This works:
1 Start the PC, log on.
2 Let A create the shutdown script.
3 A shuts the PC down
4 B runs fine
This does not work:
1 Start a shutted down PC
2 As soon as A starts (before anyone logs on), A creates the logon script
3 A shuts the PC down
4 B crashes with an CLR error dialog that says nothing particular, just that
it can't find the JIT debugger
and some other useless info
Note that 2 works, so we assume we have the .net framework up and running
Is it possible that parts of the .net framework is NOT running, parts that
is requred by B but not by A?
Thankful for any ideas
We have a windows service A and a windows foms application B, both written
in
C#, compiled with .net framework 1.1
A starts autmatically at PC startup.
For various reasons, we want to launch B when the PC shuts down, without any
possibility
for end users to interfere with the process or mess with applications and
documents.
So the way we solved it is to have A create a Local shutdown script that
launches B.
Here is what happens:
This works:
1 Start the PC, log on.
2 Let A create the shutdown script.
3 A shuts the PC down
4 B runs fine
This does not work:
1 Start a shutted down PC
2 As soon as A starts (before anyone logs on), A creates the logon script
3 A shuts the PC down
4 B crashes with an CLR error dialog that says nothing particular, just that
it can't find the JIT debugger
and some other useless info
Note that 2 works, so we assume we have the .net framework up and running
Is it possible that parts of the .net framework is NOT running, parts that
is requred by B but not by A?
Thankful for any ideas