Access is Denied trying to connect
Moderator: SourceGear
Access is Denied trying to connect
Aplogies if this topic has been covered already but I couldn't find anything on the forums with this exact problem and solutions to similar problems did not seem to work.
I am currently doing a trial of SOS and when any client tries to login to the server, the login fails and this message is reported in the log:
Exception during Login: Unable to cast COM object of type 'SourceSafeTypeLib.VSSDatabaseClass' to interface type 'SourceSafeTypeLib.IVSSDatabase'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{2A0DE0E2-2E9F-11D0-9236-00AA00A1EB95}' failed due to the following error: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
I am using the encrypted version 4.2 of the product against a VSS 2005 database. Both VSS and SOS server are installed on a Win 2000 Server machine. The same error appears even when using the non encrypted port to connect. I've tried with the client on the same machine as the server and with it installed on another machine. Every time the result is the same.
Any help would be greatly appreciated.
I am currently doing a trial of SOS and when any client tries to login to the server, the login fails and this message is reported in the log:
Exception during Login: Unable to cast COM object of type 'SourceSafeTypeLib.VSSDatabaseClass' to interface type 'SourceSafeTypeLib.IVSSDatabase'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{2A0DE0E2-2E9F-11D0-9236-00AA00A1EB95}' failed due to the following error: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
I am using the encrypted version 4.2 of the product against a VSS 2005 database. Both VSS and SOS server are installed on a Win 2000 Server machine. The same error appears even when using the non encrypted port to connect. I've tried with the client on the same machine as the server and with it installed on another machine. Every time the result is the same.
Any help would be greatly appreciated.
Can I have you verify the automation component that is registered and its exact version number? Instructions for how to do that can be found here: Automation Component Version.
What account is the SOS service running under?
What account is the SOS service running under?
I have tried re-registering ssapi.dll and restarting the SOS server without any luck. The version is 8.0.50727.42.
The service is currently running under the LocalSystem account. I tried changing this to a domain account with local admin priviliges but the error was still the same when I tried to connect so I changed it back.
The service is currently running under the LocalSystem account. I tried changing this to a domain account with local admin priviliges but the error was still the same when I tried to connect so I changed it back.
In addition to the other information in the email, can you tell me what are the OS's of the clients trying to connect?
Had you tried an SOS client right on the server? That will help narrow down the issue. When you try that client on the server, try using 'localhost' for the server name once and then try the machine name, IP address (internal and external), etc, and let me know the results for each.
Had you tried an SOS client right on the server? That will help narrow down the issue. When you try that client on the server, try using 'localhost' for the server name once and then try the machine name, IP address (internal and external), etc, and let me know the results for each.