Re: sn -tp mykeys.snk fails with Bad version of provider
From: Nicole Calinoiu (calinoiu)
Date: 01/21/05
- Next message: JH Higgins: "Connection string user ID changes to (null)"
- Previous message: Joe: "sn -tp mykeys.snk fails with Bad version of provider"
- In reply to: Joe: "sn -tp mykeys.snk fails with Bad version of provider"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 21 Jan 2005 12:32:25 -0500
Joe,
sn -tp should not be run on a snk file that contains both the private and
public keys. Try first extracting the public key using sn -p, then running
sn -tp on the file that contains only the public key. If this still doesn't
work, perhaps your key pair file is corrupted, in which case generating a
new key pair using sn -k might be your best bet.
HTH,
Nicole
"Joe" <J_no_spam@_no_spam_Fishinbrain.com> wrote in message
news:OqMTuv9$EHA.2316@TK2MSFTNGP15.phx.gbl...
>I create a key pair using sn -k mykeys.snk. When I try to view the keys
> using sn -tp mykeys.snk I get an error:
>
> Failed to convert key to token -- Bad Version of provider.
>
> Any ideas? I can't strong name an asembly with the generated file.
>
>
- Next message: JH Higgins: "Connection string user ID changes to (null)"
- Previous message: Joe: "sn -tp mykeys.snk fails with Bad version of provider"
- In reply to: Joe: "sn -tp mykeys.snk fails with Bad version of provider"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|