BUG: Invalid TMP Directory Causes GPF in DataEnvironment (190636)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q190636 SYMPTOMS
Visual Basic terminates abruptly with an application error when working
with the Custom Properties window of an ADO Data Control or the Data
Environment if the temporary directory is invalid or does not exist. This
occurs on NT Workstation and NT Server.
Note: Windows 2000 creates a TEMP directory for each profile. If this TEMP directory for the profile is deleted or renamed, the same symptoms may occur.
CAUSE
The ODBC OLE DB provider needs to find a valid directory in which to store
temporary information. This directory is specified in the TMP environment
variable. If the TMP environment variable specifies a directory that does
not exist or cannot be written to (due to a lack of disk space or other
disk problem), the ODBC OLE DB provider cannot find a valid temporary
directory and an application error occurs.
A variation of this error may occur with other OLE DB providers.
The TMP environment variable should not be confused with the TEMP
environment variable, which also stores a directory name.
RESOLUTION
Ensure that the directories listed in the TEMP and TMP environment
variables exist. It is always important to have valid temporary
directories, stored on a drive having adequate free space.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article.
Modification Type: | Minor | Last Reviewed: | 3/3/2005 |
---|
Keywords: | kbbug KB190636 |
---|
|