Certificate problem - Error Importing Key “object already exists” after Windows 7 upgrade

前端 未结 2 1693
日久生厌
日久生厌 2021-02-20 05:24

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 Win

相关标签:
2条回答
  • 2021-02-20 06:10

    I didn't really want to start changing file permissions to fix this. But the answer about file permissions did push me in the right direction.

    Instead of changing the file permissions I ran VS.NET as administrator, which also resolved the key import problem.

    0 讨论(0)
  • 2021-02-20 06:12

    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! :)

    0 讨论(0)
提交回复
热议问题