Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 728
  • Last Modified:

NTVDM encountered a hard error

hello

i have a server running server 2003 which is used to run a few legal programs and store backups.

one of these pieces of software has stopped working today and when you try to start it comes up with the error.

"NTVDM encountered a hard error"

I have no idea what has caused this or how to resolve it.  also this company has failed to pay for support for this software so cannot contact the software supplier.

i googled the problem and found this solution

"- check the following registry values to ensure that there are no file name issues
 
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\NtfsDisable8dot3NameCreation
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\Win95TruncatedExtensions value (should be 1)
 
- check the TMP and TEMP values in the User variables. Set the value to C:\TEMP"


i checked the registry values which were correct but did not understand what was meant by the second part

 "check the TMP and TEMP values in the User variables. Set the value to C:\TEMP"

this may not even be a solution so any help at all would be greatly appreciated



thank you
0
drzackzuss
Asked:
drzackzuss
  • 3
  • 2
1 Solution
 
DavidCommented:
Create a scratch directory (if one does not exist, called C:\TEMP

Then enter SET from the DOS prompt and see if the environment variables TMP and TEMP point to there (or just post results, but it should hopefully be obvious)

If env vars are not set (they will appear in the output from "SET",  do this (way to much for me to type, so just giving you a link)

http://publib.boulder.ibm.com/infocenter/db2luw/v8/index.jsp?topic=/com.ibm.db2.udb.doc/admin/t0004957.htm
0
 
drzackzussAuthor Commented:
Hello

thank you for replying to my post

there is a directory "c:\temp"

I have run SET from the dos prompt  and TMP and TEMP point to

C:\documents and settings\administrator\local settings\ temp



do i need to alter the destination to the C:\temp now?
0
 
drzackzussAuthor Commented:
when testing it always seems to resolve to the correct destination but adds a folder named "2"

for example i check the variables for temp and tmp

which are set to:

%USERPROFILE%\local settings\temp
%USERPROFILE%\local settings\temp

and when i run SET in command i get

TEMP = c:\docume~1\admini~.sam\locals~1\Temp\2
TMP = c:\docume~1\admini~.sam\locals~1\Temp\2

if i go into system properties and change environment variables for TEMP and TMP to:

C:\TEMP

then run SET from command i get

TEMP = C:\TEMP\2
TMP = C:\TMP\2



also when googling this error i have found this on microsoft site but not sure wether to apply this hotfix.

http://support.microsoft.com/kb/937932



really stuck as to what to do now :(
0
 
drzackzussAuthor Commented:
Hello

this issue was resolved by replacing some .ini files on the software.


thank you for your help though
0
 
DavidCommented:
Great. The INI files are there to add configuration settings for a program, so probably they point to a scratch directory that actually exists.   Anyway, glad you have it resolved.
0

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now