FIX: IColumnsInfo::GetColumnInfo() Returns S_OK with ICommandPrepare::Prepare on Nonexistent Tables (314972)
The information in this article applies to:
- Microsoft OLE DB Provider for Jet 4.0
This article was previously published under Q314972 SYMPTOMS
If your SELECT statement refers to a table name that does not exist or is not valid, OLE DB Provider for Jet 4.0 returns S_OK for the ICommandPrepare::Prepare method and the IColumnsInfo::GetColumnInfo method.
Although the Microsoft Jet engine returns an error message to the provider, the provider does not propagate the error message to the consumer.
RESOLUTION
The provider has been fixed so that IColumnsInfo::GetColumnInfo returns E_FAIL on nonexistent tables. To resolve this problem, install the latest Microsoft Jet service pack.
For additional information about the latest Jet service pack, click the following article number to view the article in the Microsoft Knowledge Base:
239114
ACC2000: Updated Version of Microsoft Jet 4.0 Available in Download Center
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
For additional information about the latest Jet service pack, click the following article number to view the article in the Microsoft Knowledge Base:
239114
ACC2000: Updated Version of Microsoft Jet 4.0 Available in Download Center
Modification Type: | Minor | Last Reviewed: | 9/26/2005 |
---|
Keywords: | kbHotfixServer kbQFE kbbug kbfix KB314972 kbAudDeveloper |
---|
|