Troubles with CryptoAPI on connecting to a server

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
eds
Posts: 3
Joined: Sun Nov 05, 2006 2:44 pm

Troubles with CryptoAPI on connecting to a server

Post by eds » Sun Nov 05, 2006 2:57 pm

Hello,

I'm using VaultClient 3.5.1 (4786). When I'm trying to connect to a repository server using GUI client I get this error:

'CryptoAPI cryptographic service provider (CSP) for this implementation could not be acquired.' I tried to follow the instructions written at http://kb.sourcegear.com/VaultHelp/mess ... e+acquired.
but that does help a bit.

I have 3 .net frameworks installed on my machine: 1.0, 1.1 and 2.0. Might that relate to a problem in some way?

One more thing: I managed to run the command-line "vault" using mono on the same windows machine - under mono it runs fine, but under 1.1 framework it 'can not acquite CSP' - isn't that weird?

Thanks in advance for any help or hints,
-- Ed

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Mon Nov 06, 2006 9:10 am

Just to make sure I understand correctly so I don't go down the wrong path, the Vault server itself is working fine and the other clients are working, correct?

eds
Posts: 3
Joined: Sun Nov 05, 2006 2:44 pm

Post by eds » Mon Nov 06, 2006 10:43 am

Beth wrote:Just to make sure I understand correctly so I don't go down the wrong path, the Vault server itself is working fine and the other clients are working, correct?
Yes, the vault server works fine and client from other machines are connecting, I can connect to the vault server using mono on my machine, but not using .net framework v1.1.4322.

-- Ed

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Tue Nov 07, 2006 9:58 am

Vault really only uses one .NET framework at a time. You can have multiple ones installed, but Vault won't use all three. I believe you just need to make a decision on which you wish to use on your client.

You may need to reregister IIS on your client I think. I thought mono was for Linux??

eds
Posts: 3
Joined: Sun Nov 05, 2006 2:44 pm

Post by eds » Tue Nov 07, 2006 12:09 pm

Beth wrote:Vault really only uses one .NET framework at a time. You can have multiple ones installed, but Vault won't use all three. I believe you just need to make a decision on which you wish to use on your client.
Actually I've tried to run Vault client with every framework I have installed (I understand that I can't run it with 3 or more frameworks simultaneously) and as expected it only works with 1.1.433 framework (it does not work that is - cause I can't use it - CSP problem remains).
Beth wrote: You may need to reregister IIS on your client I think. I thought mono was for Linux??
No, mono is not only for linux, it runs on windows and macs too - it just does not support native things like WinForms - so I can run command-line vault client with mono - but not the VaultGUIClient. And command-line client is barely useable - I think it was not really meant to be used from command-line (at least by a human being).

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Wed Nov 08, 2006 1:13 pm

Have you attempted a reinstall of your Vault client?

It's looking a little more like a .Net issue.

Could you send me a Vault Server Log to support at sourcegear.com and reference this post? I'll need to know also either your login name or IP address so I know what I'm looking for.

Post Reply