Highlighted
lome32
1 Nickel

NTVDM startup error

I've been running a DOS program and a Windows 3.1 (16bit) program under XPPro, Service Pack 2 on a DELL Dimension 4700. Recently a popup window with following error message appears
 
"NTVDM.EXE has encountered a problem and needs to close. We are sorry for this inconvenience."
 
The technical message accompanying the  Win 3.1 startup error is as follows:
"16 bit Windows Subsystem
C:\DOCUME~1\MIKESR~1\LOCALS~1\Temp\. A temporary file needed for initialization could not be created
or could not be written to. Make sure the directory path exists, and disk space is available.
Choose close to terminate the application
The following files will be included in this report.
C:\WINDOWS\TEMP\463b_appcompat.txt"
 
The technical message accompanying the DOS program startup error is as follows:
"The following files will be included in this report
C:\DOCUME~1\MIKESR~1\LOCALS~1\Temp\ec5f_appcompat.txt."
 
I've run scans and have no viruses.
I've tried various things suggested in MSFT news group and been unable to solve it.
If anyone on the DELL forum is familiar with this issue I'd much appreciate their advice on a fix.
Many Thanks
Lome 32
 
0 Kudos
6 Replies
tgsmith
5 Tungsten

Re: NTVDM startup error

Iome32,
The NT DOS Virtual Machine (NTDVM.EXE) is what allows older 16-bit programs to run on a 32-bit operating system such as XP.   You need to open the C:\WINDOWS\TEMP\463b_appcompat.txt and the C:\DOCUME~1\MIKESR~1\LOCALS~1\Temp\ec5f_appcompat.txt files and see what additional information is available that may give a clue to why your program will not run.  Also, it would help if we knew just what DOS and Windows 3.1 programs you are trying to run.
Tony

0 Kudos
lome32
1 Nickel

Re: NTVDM startup error

Tony-
Many thanks for the guidance...I'll look into it. Your tips are not included in the MicroSoft forum stuff, and I appreciate it. I HAVE looked at the appcompat.txt files on own initiaitive but don't understand them. Could I copy a para. or so of it (not all...they're very long) to you for comment? Will be back in a few hours.
The DOS program is Managing Your Money 12 from Meca...now out of business. It's a much better progam than MS Money or Quicken. The Win 3.1 program is Addressbook 4 from Parsons, (absrobed by Broderbund, later Intuit) also a simpler and better program than the MS address book. I'd hate to have to switch from either of them. Google helps somewhat in finding out more about them.
Mike (Lome32)
0 Kudos
lome32
1 Nickel

Re: NTVDM startup error

Re october 31 discussion, am unable to copy appcompat.txt  files per your suggestion.
New Info:
Message "Cannot load VDM IPX/SPX support" pops up on DOS program opening page, then NDVDM error message. Am able to run DOS program while NTVDM error message runs as long as I don't close it. I am unable to run the Win 3.1 program at all after the same NTVDM error pops up when I try to open the Win 3.1 program.
 
Here are extracted headings from Dr Watson program for the DOS program. Perhaps that will help. I'll send a separate one for the WIN 3.1 program, since these are rather long.
 

MYM 12 DOS ERROR INFORMATION

Application exception occurred:

App: C:\WINDOWS\system32\ntvdm.exe (pid=4896)

When: 11/4/2006 @ 10:45:07.531

Exception number: c0000005 (access violation)

Extracted from Running Task List

4896 ntvdm.exe

4084 dwwin.exe

5400 drwtsn32.exe

*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\WINDOWS\system32\ntdll.dll -

function: ntdll!KiFastSystemCallRet

*----> Stack Back Trace <----*

*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\WINDOWS\system32\kernel32.dll -

WARNING: Stack unwind information not available. Following frames may be wrong.

*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\WINDOWS\system32\ntvdm.exe -

ChildEBP RetAddr Args to Child

0205fe58 7c802532 00000078 0000000a 00000000 ntdll!KiFastSystemCallRet

0205fe6c 0f0345a0 00000078 0000000a 02752638 kernel32!WaitForSingleObject+0x12

0205fea0 0f01a4bd 00000a28 0205fee4 0f00ccf5 ntvdm!WaitIfIdle+0x5d

0205feac 0f00ccf5 00000003 02750bb0 00000094 ntvdm!setCL+0xabf

0205fee4 0f00f4c2 00000003 02750bb0 02750bf0 ntvdm!setDI+0x180b

0205ffc0 7c816fd7 00370033 00380037 7ffde000 ntvdm!IsCdRomFile+0x1103

0205fff0 00000000 0f00f34c 00000000 78746341 kernel32!RegisterWaitForInputIdle+0x49

*----> Stack Back Trace <----*

WARNING: Stack unwind information not available. Following frames may be wrong.

ChildEBP RetAddr Args to Child

027aff84 0f03b788 03010301 03010301 00000000 ntdll!KiFastSystemCallRet

027affb4 7c80b683 00000000 03010301 03010301 ntvdm!host_simulate+0x61bd

027affec 00000000 0f03b759 00000000 00000000 kernel32!GetModuleFileNameA+0x1b4

*----> Stack Back Trace <----*

WARNING: Stack unwind information not available. Following frames may be wrong.

ChildEBP RetAddr Args to Child

028eff68 0f00dd18 0000d4d0 00000000 00000030 ntdll!KiFastSystemCallRet

028eff84 0f012046 00000000 00000030 00000000 ntvdm!setDL+0x8d

028effb4 7c80b683 00000000 00000000 00000030 ntvdm!setAH+0x4cd

028effec 00000000 0f011fdf 00000000 00000000 kernel32!GetModuleFileNameA+0x1b4

END DR WATSON DOS ERROR TRACE PROGRAM Managing your Money 12 (MYM 12)

0 Kudos
lome32
1 Nickel

Re: NTVDM startup error

Tony-
Apparently I replied to myself. Previous messages intended for you are still there in the thread. Thanks for your help and hope you'll take a look at them again.
Mike (Lome32)
 
Now here is the Dr Watson information for the Win 3.1 Addressbook 4 program.
 
 

 

 

WIN 3.1 address book 4 ERROR INFO (DR WATSON)

 

Application exception occurred:

       App: C:\WINDOWS\system32\ntvdm.exe (pid=4912)

       When: 11/4/2006 @ 10:45:24.328

       Exception number: c0000005 (access violation)

 

*----> System Information <----*

       Computer Name: DELL

       Terminal Session Id: 0

       Number of Processors: 2

       Processor Type: x86 Family 15 Model 3 Stepping 4

       Windows Version: 5.1

       Current Build: 2600

       Service Pack: 2

       Current Type: Multiprocessor Free

       Registered Organization:

       Registered Owner: Mike Sr

 

Task Manager running processes

4912 ntvdm.exe

2232 dwwin.exe

4960 drwtsn32.exe

 

*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\WINDOWS\system32\WOW32.dll -

function: WOW32!W32Dispatch

 

*----> Stack Back Trace <----*

*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\WINDOWS\system32\USER32.dll -

WARNING: Stack unwind information not available. Following frames may be wrong.

*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\WINDOWS\system32\ntdll.dll -

ChildEBP RetAddr  Args to Child             

 

*----> Stack Back Trace <----*

*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\WINDOWS\system32\ntvdm.exe -

WARNING: Stack unwind information not available. Following frames may be wrong.

*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\WINDOWS\system32\kernel32.dll -

ChildEBP RetAddr  Args to Child             

 

*----> Stack Back Trace <----*

WARNING: Stack unwind information not available. Following frames may be wrong.

*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\WINDOWS\system32\faultrep.dll -

ChildEBP RetAddr  Args to Child             

 

*** WARNING: Unable to verify checksum for C:\Program Files\Logitech\Desktop Messenger\8876480\7.2.0.157-8876480SL\Program\temp\IadHide5.dll

*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Program Files\Logitech\Desktop Messenger\8876480\7.2.0.157-8876480SL\Program\temp\IadHide5.dll -

function: IadHide5!MyCBTProc

 

*----> Stack Back Trace <----*

WARNING: Stack unwind information not available. Following frames may be wrong.

ChildEBP RetAddr  Args to Child             

02c5ffec 00000000 100014b0 02c11fc8 00000000 IadHide5!MyCBTProc+0x24d

 

END DR WATSON ON WIN 3.1 PROGRAM, ADDRESSBOOK 4

0 Kudos
tgsmith
5 Tungsten

Re: NTVDM startup error

Iome32,
Ok, for starters, let's do the following:
Insert your Windows XP CD in your CD/DVD ROM drive.
Click Start|Run.  Type sfc /scannow.  Press Enter.
This will verify that all your Windows files are OK and of the correct version.
 
Once we're sure the files are OK, do this:
Click Start|Run.  Type command (not cmd).  This will put you at a DOS prompt.
Change to your DOS program's directory and type it's executable; for example: Type CD\MYM and Press Enter to get to the Managing Your Money subdirectory.  Then type MYM.  Do you get the same error message?  If so let us know.
Tony

0 Kudos
lome32
1 Nickel

Re: NTVDM startup error

Thanks, Tony. I solved the DOS MYM error from fix on followng site http://rumkin.com/reference/problems/csnw.php.  However, my WIN 3.1 program is still afflicted by NVTDM pop up, although at least I can run it now with the error message still open.Here's what worked for the DOS program. I sill need advice on the Win 3.1. program.
 
Solution: Edit your %SystemRoot%\system32\autoexec.nt file and delete three lines.
Double-click on my computer
Double-click on C:
Look for "WINNT" or "WINDOWS". Remember which one you saw.
Start -> Run
Type in notepad c:\winnt\system32\autoexec.nt
If you saw "WINDOWS" instead of "WINNT" use notepad c:\windows\system32\autoexec.nt
Look for these lines:
REM Install network redirector
lh %SystemRoot%\system32\nw16
lh %SystemRoot%\system32\vwipxspx
Delete those three lines, and only those three lines.
File -> Save
Close Notepad – You are done! (AND YES, I WAS! MYM STARTED NORMALLY WITHOUT NTVDM ERROR.
0 Kudos