dbaseIV ntvdm has encountered an unhandled exception

Client running Dbase V under XP Pro which was runniing fine for a long time all of a sudden received the following error "ntvdm has encountered an unhandled exception" on startup of Dbase, we then attempted to run the program under command.com instead of cmd and received the same error.  We have been using TameDos for years to adjust for the constant polling the dos programs perform but all of a sudden it is happening and can't seem to figure out why.

Who is Participating?
Peterson50Connect With a Mentor Author Commented:
I finally reinstalled Windows and the problem was gone, couldn't figure out what happened.  Tried all the suggestions.
This previous thread mmay help>

"NTVDM CPU has encountered an unhandled exception in windows xp":
Have you thoroughly checked for Malware & viruses as this may be a possible cause of error ?

If in any doubt, i recommend downloading then updating Malwarebytes' Anti-Malware:
When updated, reboot into Safe Mode by selecting F8 at bootup & run a scan.
Tutorial available, if you require >

and ...
Kaspersky free online virus scanner which is a good way to find out if you have any viruses or spyware without having to uninstall your existing antivirus software>

Also, are you running XP SP2 or SP3 ?     Recommend you update to SP3 if you haven't yet done so.
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

JonveeConnect With a Mentor Commented:
Also found two more references to your error message, possibly they'll help >

Scroll down to the reference on the TEMP environment variable >>
"The NTVDM CPU has encountered an unhandled exception":

and ...
" ... The NTVDM CPU has encountered an unhandled exception ..."
RincewindwizzConnect With a Mentor Commented:
Hhhmmm - Well even under windows, programs that have worked fine for a while don't suddenly start ding something. So what has changed?

if its on dBase start up (that is before the prompt appears), maybe there is something in the dbase config file that has changed or the target has changed. It can be easy to have redundant Set Path and other environment commands that dont actually do anything fall over when the redundant path is removed.
Then there is the config.nt and autoexec.nt files which may have got changed.
Then there is the dBase files themselves that may have got corrupted. Have you reinstalled dbase?
And have you tried a different DOS variant (other than tame DOS)?

Have you looked in the event log to see if there is anything useful there?

RincewindwizzConnect With a Mentor Commented:
I presume you have been through the standard MS NTVDM troubleshooting process? If not, have a look at http://support.microsoft.com/?kbid=314106

 And finally, and only because I thought it was both interesting, obscure and likely to become more prevalent,. it seems there can be a problem with ntvdm and multiple processors. See http://www.markwilson.co.uk/blog/2005/01/troubleshooting-ms-dos-application.htm

BALMUKUND KESHAVConnect With a Mentor Commented:
Have you reloaded your Win'XP. Pl. check the config.nt file in windows\system32 directory.
There should be some settings like this,

if its not there in config.nt ,put it there in two seperate lines of config.nt and try.

Bm Keshav
pcelbaConnect With a Mentor Commented:
I would return to the most recent working configuration. It could even mean to reinstall the computer with XP SP1 etc. If you really need this DOS application you could dedicate DOS computer (or DOS partition with multiboot option) to it. Harddrives are not so expensive.

Incomming operating systems will have weaker and weaker support for DOS applications so you should solve it.
Peterson50Author Commented:
I tried the suggestions mentioned.

I ran 2 antivirus including Kapersky only scanner, the only thing it detected was vnc not as a virus but potential security threat.
Changed the temp and tmp variables to shorter, pointing them directly to c:\temp and c:\tmp.
Did a system restore and nothing happened, same error message
Changed the files and buffers as mentioned
The DbaseIV is actually running fine on other computers with SP2 and SP1 (unfortunately this is the president who pays me my check for fixing his stuff)

Looks like I will have to reinstall Windows in order to get rid of this, trying to avoid it.
What happend ?


Bm Keshav
Peterson50, as you appear to have solved the problem yourself you can accept your own comment as the solution, with or without the awarding of points to Experts for their assistance. See this link for more info:
How do I close a question?:
pcelbaConnect With a Mentor Commented:
The reinstallation is painless in many cases... namely in large organizations.
RincewindwizzConnect With a Mentor Commented:
Re-installation is always painless - when someone does it for you :-)
pcelbaConnect With a Mentor Commented:
Wow, that's the point I have to strongly agree! :-)  (But not my case)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.