Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

BUG: Setting Data Using DBTYPE_STR Binding Fails with OSP


View products that this article applies to.

This article was previously published under Q183592

↑ Back to the top


Symptoms

The Microsoft OLE DB SDK contains the Microsoft OLE DB Simple Provider (Msdaosp.dll) file.

When you try to set a column of a simple provider by binding with type DBTYPE_STR and calling IRowsetChange::SetData() or IRowsetChange::InsertRow(), the column will not be updated. The setVariant() method of the user written OSP object will not be called.

↑ Back to the top


Cause

This is caused by a bug in the OLE DB Simple Provider, Msdaosp.dll file.

↑ Back to the top


Resolution

Use another DBTYPE for the DBBINDING object such as DBTYPE_BSTR or DBTYPE_WSTR.

↑ Back to the top


Status

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.

↑ Back to the top


Keywords: KB183592, kbpending, kbbug

↑ Back to the top

Article Info
Article ID : 183592
Revision : 3
Created on : 10/15/2003
Published on : 10/15/2003
Exists online : False
Views : 424