证书问题 - 导入密钥“对象已存在”错误后Windows 7升级 [英] Certificate problem - Error Importing Key "object already exists" after Windows 7 upgrade

查看:665
本文介绍了证书问题 - 导入密钥“对象已存在”错误后Windows 7升级的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个项目的所有主要程序集约60个.pfx文件。它们是唯一的文件,但我使用相同的密码。



从Windows Vista升级到Windows 7后,我得到一个导入密钥文件对话框,当我在Visual Studio 2008中单击Build。



这将是很好,但在插入密码后,我得到一个错误对话框:错误导入键 - 对象已经存在。 / p>

任何想法?

解决方案

b
$ b

从Vista升级到Windows 7后,包含证书C:\Users \All Users \Microsoft\Crypto\RSA\MachineKeys的文件夹的权限已更改。 / p>

更改授予完全访问权限后,问题消失了。



让我知道这对任何人都有帮助! :)


I have about 60 .pfx files for all major assemblies for a project. They are unique files, but I use the same password for all.

After an upgrade from Windows Vista to Windows 7 I get an Import Key File dialog requesting the password for them when I click Build in Visual Studio 2008.

This would have been fine, but after inserting the password I get an error dialog: Error Importing Key - Object Already Exists.

Any ideas?

解决方案

Solved it!

After the upgrade from Vista to Windows 7 the permissions of the folder containing certificates C:\Users\All Users\Microsoft\Crypto\RSA\MachineKeys had changed.

After changing the permissions granting full access the problem went away.

Let me know if this was helpful to anyone! :)

这篇关于证书问题 - 导入密钥“对象已存在”错误后Windows 7升级的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆