Article ID: 183728
Article Last Modified on 10/15/2002
APPLIES TO
- Microsoft Visual SourceSafe 5.0 Standard Edition
- Microsoft Visual SourceSafe 6.0 Standard Edition
- Microsoft Visual Basic 5.0 Control Creation Edition
- Microsoft Visual Basic 5.0 Professional Edition
- Microsoft Visual Basic 6.0 Professional Edition
- Microsoft Visual Basic 5.0 Enterprise Edition
- Microsoft Visual Basic 6.0 Enterprise Edition
This article was previously published under Q183728
SYMPTOMS
Opening a Visual Basic group file (.vbg) under source control generates the following error:
CAUSE
The .vbg file may have been added to SourceSafe, marking it read-only.
Please refer to the REFERENCES section for other articles relating to this error message.
RESOLUTION
Before opening the .vbg file, remove the read-only attribute. In addition, if the .vbg file has been added to SourceSafe, delete it, making sure the "Destroy permanently" option is checked. Placing the group file under source control is currently unsupported.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.
MORE INFORMATION
Steps to Reproduce Behavior
- Create a new Visual Basic (VB) project (.vbp), and save it as "Project1". From the Tools menu, choose SourceSafe, and then select Add Project to SourceSafe.
- From the File menu, choose Add Project, and add a new project.
- Save the new .vbp as "Project2" and add it to SourceSafe using the menu options given in Step 1.
- Exit VB, and save the .vbg file as "Group1" when prompted.
- Right-click the Group1.vbg, and then select Properties.
- Set the read-only flag.
- Restart VB and open Group1.vbg.
- Select "Yes" when you see "Get latest checked-in version of files when opening the VB Project".
NOTE: Make sure to have this option set to either "Ask" or "Yes". From the Tools menu, click Sourcesafe and then select Options.
REFERENCES
For additional information, please see the following article(s) in the Microsoft Knowledge Base:
176351 BUG: Referenced Project Causes "Failed to Reload the Project"
177409 BUG: "Failed to Reload Project" Error When Checking In VB File
174650 PRB: VBG Files Do Not Appear to Work with Visual SourceSafe
Keywords: kbbug KB183728