FIX: Out of Memory Error Setting SQL Char Properties

ID: Q223326


The information in this article applies to:
  • Microsoft Repository (6.10.8265.1), version 2.0


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 this to be a bug in the Microsoft products 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:

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

Q194295 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.


  8. The result is that an "Out of Memory" error is raised and the calling application hangs.

Additional query words:

Keywords : kbRepository kbVS600sp3fix
Version : WINDOWS:2.0
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: June 1, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.