This is a discussion on NTVDR Problem within the C# Programming forums, part of the Software Development category; Hi, I am calling the c exe from C#.NET website using System.Diagnostics.Process class. While calling the exe, ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| Hi, I am calling the c exe from C#.NET website using System.Diagnostics.Process class. While calling the exe, the following error occurred. --------------------------- 16 bit MS-DOS Subsystem --------------------------- C:\WINDOWS\system32\ntvdm.exe Error while setting up environment for the application. Choose 'Close' to terminate the application. --------------------------- Close Ignore --------------------------- Can anyone tell me how to solve the problem? Thanks... S.Balasubramanian.. |
| Sponsored Links |
| |||
| Here is what i got from googling the info.Most ntvdm errors can be fixed by modifying the TEMP and TMP environment settings to make them 8.3 namespace compatible. The default path for the TEMP directories is %USERPROFILE%\Local Settings\Temp Which will (typically) expand to something like: C:\Documents and Settings\Administrator\Local Settings\Temp 16 bit applications can’t manage the spaces or long file names, and will generate ntvdm errors, even if they are not explicitly referencing the TEMP directory. You can either use a common temp location (e.g. C:\Temp) or use the short version of the path. For the Administrator ID, the short filename path is C:\DOCUME~1\ADMINI~1\LOCALS~1\TEMP Your can check these names by using ‘dir /x’ The variable settings can then be changed for each user by going into My Computer -> Properties -> Advanced -> Environment Variables -> Set TEMP and TMP to c:\temp or the short filename version You should also consider the PATH environment variable, and any INI files that may be used. The short filename for the "c:\Program Files" directory is "c:\progra~1" |
| |||
| Thanks for all your post, I have the same problem and now it has been sorted
__________________ business card printing |
![]() |
| Thread Tools | |
| Display Modes | |
| |
LinkBacks (?)
LinkBack to this Thread: http://www.discussweb.com/c-programming/1490-ntvdr-problem.html | |||
| Posted By | For | Type | Date |
| C# Programming [Archive] - DiscussWeb IT Community - Technical Support and Technology Discussions | This thread | Refback | 03-06-2008 09:21 AM |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| a new problem? | saravanan | Computer Hardware | 0 | 03-24-2008 07:09 AM |
| Laptop problem | ammulu | Computer Hardware | 1 | 02-11-2008 03:31 AM |
| Problem in IE | krishnakumar | HTML, CSS and Javascript Coding Techniques | 13 | 11-28-2007 09:51 PM |
| Problem on .net 3.0 WPF! | theone | C# Programming | 0 | 07-19-2007 10:56 PM |
| DNS problem | vadivelanvaidyanathan | Server Management | 0 | 07-15-2007 06:49 PM |