This is a migrated thread and some comments may be shown as answers.

StrongNameKeyPair

1 Answer 51 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Bryant
Top achievements
Rank 1
Bryant asked on 07 May 2012, 12:13 PM
We recently had a need to start using Telerik JustMock to go along with the other telerik products we are using. Upon installation and running the sample Mock code we ran into exception setting up Mock classes "Unable to obtain public key for StrongNameKeyPair". We're running on Windows 7 x64. After hunting around in the forums and net for possible solutions, I noticed other Mocking software having similar type problems on Windows 7 x64. It turns out if we open up the security on the "C:\users\all users\microsoft\crypto\rsa" folder (Read &execute / List Folder/ Read/ Write) it resolves the issue.

Is there a better workaround that we could be using, or atleast a change in the installer so the security permissions get updated properly? or better yet, a different solution that I missed?

1 Answer, 1 is accepted

Sort by
0
Ricky
Telerik team
answered on 07 May 2012, 07:35 PM
Hi Bryant,

Thanks for letting us know about your issue and we are sorry that you have to manually go through the configuration process.

I am logging your problem into our PITS issue tracking system and we hope to fix it at the earliest possible. In the meantime, you can track the task here:

http://www.telerik.com/support/pits.aspx#/public/justmock/11007

In addition, I would like to include that you have to run visual studio as an administrator in order to access that folder.

Kind Regards
Ricky
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
General Discussions
Asked by
Bryant
Top achievements
Rank 1
Answers by
Ricky
Telerik team
Share this question
or