I've installed VB6, I've installed Sourcegear Vault 5.x and now I get this message on every VB6 startup.
And of course, I can't use the built-in source control commands.
I've tried reinstalling SourceGear Vault, to no avail. What am I missing?
How do I fix it?
General Info
You'll get this error message when VB6 loads the Source Code Control add-in but it there is no default MSSCCI provider.
MSSCCI stands for Microsoft Source Code Control Interface and it is the standard API that is used by most IDEs to connect to a version control system (VCS). It was initially developed for Visual SourceSafe, and when you installed SourceSafe it included the MSSCCI provider for IDE integration. For some modern VCSs the MSSCCI provider has to be installed separately.
You can verify what MSSCCI providers have been installed on your system by looking at the registry key
HKLM\SOFTWARE\SourceCodeControlProvider\InstalledSCCProviders
. (On a 64-bit system look atHKLM\SOFTWARE\Wow6432Node\SourceCodeControlProvider\InstalledSCCProviders
instead.)Most IDEs, including VB6, only support the default provider if more than one is installed. The default provider is stored in the registry key
HKLM\SOFTWARE\SourceCodeControlProvider\ProviderRegKey
.Note: a handy app called SCCSwitcher is great if you have a need to change the default MSSCCI provider.
SourceGear Vault
Since you specifically mention the problem is with SourceGear Vault, it could be that you're running into the problem described in the Vault knowledge base called VB6 and VC++ 6.0 Integration on Windows 7 that includes the following steps: