FIX: SQL Server 7.0 sp_OASetProperty Method Does Not Accept More Than 255 Characters (324146)



The information in this article applies to:

  • Microsoft SQL Server 7.0

This article was previously published under Q324146
BUG #: 33934 (SQLBUG_70)

SYMPTOMS

If you try to pass character data that is larger than 255 characters to the sp_OASetProperty extended stored procedure, you receive the following error message:
HRESULT: 0x8004271d Source: ODSOLE Extended Procedure Description: Error in srv_sendrow

CAUSE

The sp_OA extended stored procedures in SQL Server 7.0 are not designed to handle character data types that are larger than 255 characters.

RESOLUTION

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Version     File name
   -------------------------

   7.00.1073   Odsole70.dll
				
NOTE: Because of file dependencies, the most recent hotfix or feature that contains the files may also contain additional files.


STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

This correction is limited to the sp_OASetProperty property only. The correction upgrades the functionality and lets char and varchar values that are up to 8000 in length to pass successfully to the sp_OASetProperty extended stored procedure.

Modification Type:MinorLast Reviewed:10/18/2005
Keywords:kbHotfixServer kbQFE kbbug kbfix kbQFE kbSQLServ700preSP5fix KB324146