安装VS2005之后发现VSS6.0没有了,VC6中的源代码管理倒是可以正常使用,但VB中不可以。
解决方法:
安装VSS6,执行vs6安装目录\Common\VSS\win32下的ssinit.exe,这时VB的源代码管理有了。
重启机器,发现VS2005下源代码管理报错(我使用internet方式),本机同时做服务器和客户端。错误为:
Thr current source control operation cannot be completed.
The visual sourcesafe web service returned the following error:
Unable to case COM object of type 'Microsoft.VisualStudio.SourceSafe.Interop.VSSDatabaseClass' to interface type 'Micresoft.VisualStudio.SourceSafe.Interop.IVSSDatabase'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{2A0DE0EE-2E9F-11D0-9236-00AA00A1EB95}' failed due to the following error: 不支持此接口(Exception from HRESULT:0x80004002(E_NOINTERFACE)).
重新注册vss2005安装目录下的ssapi.dll(regsvr32),重启机器。
至此,VSS6和VSS2005就都可以使用了,不知道有没有办法让VB也能使用VSS2005,那样就不用这么麻烦了。也不用装VSS6了
解决方法:
安装VSS6,执行vs6安装目录\Common\VSS\win32下的ssinit.exe,这时VB的源代码管理有了。
重启机器,发现VS2005下源代码管理报错(我使用internet方式),本机同时做服务器和客户端。错误为:
Thr current source control operation cannot be completed.
The visual sourcesafe web service returned the following error:
Unable to case COM object of type 'Microsoft.VisualStudio.SourceSafe.Interop.VSSDatabaseClass' to interface type 'Micresoft.VisualStudio.SourceSafe.Interop.IVSSDatabase'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{2A0DE0EE-2E9F-11D0-9236-00AA00A1EB95}' failed due to the following error: 不支持此接口(Exception from HRESULT:0x80004002(E_NOINTERFACE)).
重新注册vss2005安装目录下的ssapi.dll(regsvr32),重启机器。
至此,VSS6和VSS2005就都可以使用了,不知道有没有办法让VB也能使用VSS2005,那样就不用这么麻烦了。也不用装VSS6了

浙公网安备 33010602011771号