Microsoft KB Archive/223322

From BetaArchive Wiki

Article ID: 223322

Article Last Modified on 6/18/1999



APPLIES TO

  • Microsoft Visual Basic Repository 2.0



This article was previously published under Q223322

SYMPTOMS

Renaming an existing relationship to a name that is 260 characters long and then trying to get the name of the target object results in the following error:

"The cached relationship collection does not match the repository database"

This error only occurs if the renamed relationship is part of a UNIQUENAMING relationship collection. In addition, the problem goes away if the new name is only 259 characters or less.

CAUSE

The engine was not taking into account the null character when setting its size for a relationship name.

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. Start a new transaction.
  2. Rename the relationship to a name with 260 characters.
  3. Commit the transaction.
  4. Retrieve the name of the relationship's target object.RESULT: Step 4 results in the error:

    The cached relationship collection does not match the repository database.



Additional query words: repos

Keywords: kbbug kbfix kbvs600sp3fix KB223322