The information in this article applies to:
BUG #: 18763 (SQLBUG_65) 55840 (SQLBUG_70) SYMPTOMSUsing sp_OAGetProperty to retrieve a property value from an inherited COM interface fails. If the property value is requested as an OUTPUT parameter, the following error is returned: When no OUTPUT parameter is supplied, such that sp_OAGetProperty would generate a result set, the command will return an empty result set. CAUSEIf an OUTPUT parameter is requested, sp_OAGetProperty must confirm that the interface supports the call and that it returns a value that is of the same datatype as the one supplied. However, it fails to correctly walk the object hierarchy to determine this information and will generate an error if this occurs. RESOLUTIONA supported fix that corrects this problem is now available from Microsoft, but
it has not been fully regression tested and should be applied only to systems
experiencing this specific problem. If you are not severely affected by this
specific problem, Microsoft recommends that you wait for the next SQL Server service pack
that contains this fix. http://www.microsoft.com/support/supportnet/overview/overview.aspThe English version of this fix should have the following file attributes or later: NOTE: Due to file dependencies, the most recent hotfix or feature that contains the above files may also contain additional files.STATUSMicrosoft has confirmed this to be a problem in SQL Server version 6.5 and 7.0. MORE INFORMATIONConsider, for example, the Command object in Active Data Objects (ADO). In ADO 2.x, the Command object inherits from an interface named _Command15, which was the ADO 1.5 version of the interface. If sp_OAGetProperty is used to request a property in the base interface, such as Parameters, an error occurs. The following code snippet demonstrates the problem:
The definition of an object can be seen by using a tool such as the OLE - COM Object Viewer, available as part of Visual C++.
Additional query words: sp_OAMethod
Keywords : SSrvProg SSrvTran_SQL kbbug6.50 kbbug7.00 kbSQLServ650bug kbSQLServ700bug |
Last Reviewed: December 14, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |