Re: Windows Service & ADO problem



Allen wrote:

Hi,

I have a problem with a block of code causes corruption of the NTLDR
when the system is shut down.

<snip>

however if
the thread is active and the machines power switch is held down to
force the machine to shut down then the logging I have suggests that
the FreeThreadObjects code is never called, and the OS becomes
corrupted.

this is an extreme case and IMHO not something your app should control.
The OS should be smart enough to handle such reboots.

Some questions:

Are you trying to create a fault-tolerant app? how do you determine
NTLDR becomes corrupted? Does the OS not load properly after trying
this case? Are you sure this problem is caused by your app?


If anyone has any idea's what might be occuring or suggestions of
something to try to prevent this from occuring I would be most
grateful to hear from you.


well, first thought would be "use a good UPS". Second thought could be
"save a copy of the NTLDR and anything it needs".


--
Best regards :)

Guillem Vicens Meier
Dep. Informática Green Service S.A.
www.clubgreenoasis.com
--
Contribute to the Indy Docs project: http://docs.indyproject.org
--
In order to contact me remove the -nospam

.



Relevant Pages

  • Re: majority node set cluster questions
    ... considered by our app as primary and standby. ... separate and distinct storage repositories on the back ... what the business requirements are for the application ... system corruption exists as long as we are pushing it.. ...
    (microsoft.public.windows.server.clustering)
  • Re: How to corrupt a MS Access database file in a normal way?
    ... Log when they start the app, log when they stop the app. ... My problem is how to generate the corruption by common termination of a ... but bad versions of Jet on the machines using the VB app ... the corruption problems could be caused by the software ...
    (comp.databases.ms-access)
  • Re: Corruption - how to MAKE it happen?
    ... It's just that I *really* have this feeling that the corruption is ... Obviously if you've designed your app so that it takes so long to ... You've done something to speed up the load time!" ... and it made them feel like the app was loading more quickly. ...
    (comp.databases.ms-access)
  • Re: vfs::zip corrupts memory?
    ... Reading from zip files on other parts of the app works. ... As the proverbial memory corruption problem, ... executing the tcl code from tclsh ...
    (comp.lang.tcl)
  • Re: Does Access Break?
    ... Larry, you're using a completely different definition of "break an ... so I consider corruption issues to be failures *outside* ... itself -- it's a breakdown of the operating environment. ... If the code in an app works and remains unaltered, ...
    (comp.databases.ms-access)