"Unspecified Error" Adding Records to Sorted ADO Recordset (327749)



The information in this article applies to:

  • Microsoft Data Access Components 2.7
  • Microsoft Data Access Components 2.7 SP1

This article was previously published under Q327749

SYMPTOMS

After you apply a sort clause that contains a column of 255 bytes to a disconnected ADO Recordset, in certain cases, repeated AddNew calls cause an "Unspecified error" to be reported.

RESOLUTION

A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem. This fix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next MDAC 2.7 that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone 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 typical 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.
   Date         Time   Version           Size     File name
   --------------------------------------------------------------
   28-Aug-2002  18:37  2.71.9001.19      307,200  Msadce.dll
   28-Aug-2002  18:37  2.71.9001.19       57,344  Msadcf.dll
   28-Aug-2002  18:37  2.71.9001.19      131,072  Msadco.dll
   28-Aug-2002  18:37  2.71.9001.19       53,248  Msadcs.dll
   28-Aug-2002  18:37  2.71.9001.19      147,456  Msadds.dll
   28-Aug-2002  18:37  2.71.9001.19      180,224  Msdaprst.dll
   28-Aug-2002  18:37  2.71.9001.19      110,592  Msdarem.dll
   28-Aug-2002  18:37  2.71.9001.19       32,768  Msdfmap.dll
   09-Sep-2002  17:31  5.50.4134.600     495,376  Q327749_mdac27_x86.exe
				

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 can occur when you create a fabricated ADO Recordset that contains an adVarChar field of size 255, then you sort by this field and another field, and then you repeatedly add and delete records from the ADO Recordset.

Modification Type:MajorLast Reviewed:4/7/2006
Keywords:kbQFE KBHotfixServer kbbug kbfix KB327749