Could not get public key from server - error

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

Moderator: SourceGear

Post Reply
dotnetnoob
Posts: 10
Joined: Sun Oct 14, 2007 5:05 pm

Could not get public key from server - error

Post by dotnetnoob » Thu May 15, 2008 2:06 am

I'm finally able to log into vault and creating an account for myself. i'm using one free liscense. i've created an user account beside the default admin account. I solved the partial trust problem by making the site where i have vault assoicated with with full trust on that site.

however, when i try to connect to the vault via vault client i got this error "Could not get public key from server"

I'm using the latest version of vault and vault client.

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

Post by Beth » Thu May 15, 2008 8:02 am

Try the suggestions in this forum post first: Could not get public key from server. That should take care of it.

dotnetnoob
Posts: 10
Joined: Sun Oct 14, 2007 5:05 pm

Post by dotnetnoob » Thu May 15, 2008 12:47 pm

Beth wrote:Try the suggestions in this forum post first: Could not get public key from server. That should take care of it.
i follow it and the user that run Vault (Network Service) have all the permission on that folder.

i don't know if i should delete that "ed.." file since this server is also used for share hosting and i don't want to mess up the setting.

I also can't access it to make a backup copy even when i log in as admin.

Does anyone know what's the purpose of machine key? I don't have this much problem when i install vault on my other server.

dotnetnoob
Posts: 10
Joined: Sun Oct 14, 2007 5:05 pm

Post by dotnetnoob » Sat May 17, 2008 12:09 pm

follow the kb on troubleshooting public key...deleted the file in the Machinkeys and double check the permission on the folder.

I'm still getting the same error.

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

Post by Beth » Mon May 19, 2008 9:49 am

Is there any chance that you have any of the 3.x .NET frameworks on your system?

If so, try the following:
  • 1. Go to the vaultguiclient.exe.config file in the Vault directory on your client.
    2. Look at the top between <configuration> and <system.net>.
    • a. Add in the lines I show in between those below.

      <configuration>

      <startup>
      <requiredRuntime version="v2.0.50727" safemode="true"/>
      </startup>

      <system.net>
    3. Restart your system afterwards and then try using Vault.

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

Post by Beth » Mon May 19, 2008 10:14 am

I also want to add here, you need to go into your IIS Manager on your Vault server, right click Vault Service, go to the ASP.NET tab, and make sure that is set for the 2.0 .NET framework as well.

Post Reply