You receive an error message when you get a file from a project label by using OLE automation (196197)
The information in this article applies to:
- Microsoft Visual SourceSafe for Windows 5.0
- Microsoft Visual SourceSafe for Windows 6.0
This article was previously published under Q196197 SYMPTOMS
When you use Visual SourceSafe (VSS) OLE automation to get a version of a file
based on a project-level label, the following unexpected run-time error
might occur:
-2147166583
Version not found.
CAUSE
This problem occurs when you are using a Visual SourceSafe version 5.0
database.
RESOLUTION
Do one of the following to work around this problem:
- Upgrade the database to the version 6.0 format, which also requires the
Visual SourceSafe 6.0 client.
- Add one extra line of code to your task procedure (see the MORE
INFORMATION section of this article for details).
STATUS
This behavior is by design.
REFERENCES
For additional information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
153925
FAQ: How can I find out if my VSS database has been upgraded?
175758 How to trap Visual SourceSafe OLE errors
For documentation on the Visual SourceSafe OLE automation specification,
visit the following Microsoft Developers Network (MSDN) Web site:
Modification Type: | Major | Last Reviewed: | 4/28/2004 |
---|
Keywords: | kbAutomation kbprb KB196197 |
---|
|