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
- Open an existing Repository.
- Start a Transaction.
- Use the CreatePropertyDef method of the InterfaceDef object to create a new property specifying a SQLType of SQL_CHAR.
- Commit the tranaction.
- Create an Object that implements the Interface.
- Instantiate the object.
- Set the Property.
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