FIX: Out of Memory Error Setting SQL Char Properties (223326)



The information in this article applies to:

  • Microsoft Repository (6.10.8265.1) 2.0

This article was previously published under Q223326

SYMPTOMS

An "Out of Memory" error is raised when trying to set a property defined with a SQLType of SQL_CHAR. This error is not raised until you try to commit the property that you are setting.

This does not reproduce against an Access-based Repository.

STATUS

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

This bug was corrected in Visual Studio 6.0 Service Pack 3.

For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base:

194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why

194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed

MORE INFORMATION

Steps to Reproduce Behavior

  1. Open an existing Repository.
  2. Start a Transaction.
  3. Use the CreatePropertyDef method of the InterfaceDef object to create a new property specifying a SQLType of SQL_CHAR.
  4. Commit the tranaction.
  5. Create an Object that implements the Interface.
  6. Instantiate the object.
  7. Set the Property. The result is that an "Out of Memory" error is raised and the calling application hangs.

Modification Type:MajorLast Reviewed:6/2/1999
Keywords:kbbug kbVS600sp3fix KB223326