NTVDM Error Running C++ .Net Console Application

G

gallan

I have a C++ .Net /clr console application that is working perfectly at
several customer sites. However, at one customer running Windows 2003 server
SP2, I am unable to get the application to run. When I run the application I
get a message box titled “ntvdm.exe – System Errorâ€, and the error message
“NTVDM encountered a hard errorâ€.

From what I have found, this error is related to 16 bit code. The
application uses the C++ runtime libraries, Standard Template Library, and
..Net libraries. I am not ‘consciously’ using any code or old components that
are targeting 16 bit code.

I tried several suggestions such as updating the TEMP and TMP environment
variables, and checking registry keys that regulate file name length. The
support document http://support.microsoft.com/kb/937932/en-us suggests that I
may need a hot fix. The customer has a Wow32.dll version 5.2.3790.3959 dated
05/03/2005.

Do I need the hotfix, or is there something else I can try?
 
W

Walter Wang [MSFT]

Hi Gallan,

Does this issue only occurs on this particular system or on all Windows
Server 2003 SP2? I would suggest you to repair the system files first by
running the System File Checker (http://support.microsoft.com/kb/310747).
It might be related to that some system files are corrupt.

If this doesn't help or the issue occurs actually to several systems, would
you please send me a copy of your binary so that I can test it on my side?
Thanks.


Regards,
Walter Wang ([email protected], remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 
G

gallan

Thanks for the response Walter. The problem is only happening at one of our
customer sites. When the customer run the System File Checker you suggested,
the program prompted them to insert their Windows Server 2003 CD. They claim
they inserted the CD they installed from, but the program was saying they
inserted the wrong version.

We believe your assessment that the system is corrupt is correct. We are
trying to convince the administrator to fix the problem. Thanks for your
help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top