FIX: Adding ActiveX Designer/Userconnection Results in Shutdown
ID: Q169309
|
The information in this article applies to:
-
Microsoft Visual Studio 97
-
Microsoft Visual Basic Learning, Professional, and Enterprise Editions for Windows, version 5.0
SYMPTOMS
Adding Active-X Designer | Microsoft UserConnection results in a shutdown
of Repository and illegal operation, and then a shutdown of Visual Basic.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. This has been fixed with Visual Studio
Service Pack 1.
For additional information about the Visual Studio 97 Service Pack 1,
please see the following article in the Microsoft Knowledge Base:
Q170365 INFO: Visual Studio 97 Service Packs - What, Where, and Why
MORE INFORMATIONSteps to Reproduce Problem
- Create a new standard.exe project in Visual Basic.
- Save it locally and add it to Source control.
- Select the Tools Menu > SourceSafe > Options and set "Add files to
source control when adding them to a VB project?" to "Ask".
- Choose Add | Active-X Designer | Microsoft UserConnection.
- Get UserConnection Properties dialog box. Click OK.
- Save the UserConnection object and answer "Yes" to "Would you like to
save <object> to the current source code control project?"
Expected:
- UserConnection object is added to Visual Basic project, Visual
SourceSafe project and Repos.
Results:
- Get repos message box:
"An error occurred while adding an object to a collection in the
Microsoft Repository. The relationship name < UserConnectionName> is
already used in the collection, and the collection requires all names to
be unique. Microsoft Repository for Visual Basic is shutting down."
Click OK and Visual Basic shuts down.
Additional query words:
Keywords : kbVBp500 kbVS97sp1fix kbVS97sp2fix kbvbp500sp1fix kbvbp500sp2fix
Version : WINDOWS:5.0,97
Platform : WINDOWS
Issue type : kbbug
|