• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1690
  • Last Modified:

cannot import the following key file: . The key file may be password protected.

I am getting the following error when I tried to compile the project

Cannot import the following key file: . The key file may be password protected. To correct this, try to import the certificate again or import the certificate manually into the current user’s personal certificate store.
0
Varshini S
Asked:
Varshini S
  • 2
1 Solution
 
käµfm³d 👽Commented:
Is the key file password protected?
0
 
Varshini SAuthor Commented:
I have downloaded the sample project from the following link

http://code.msdn.microsoft.com/windowsdesktop/How-To-Create-Webcam-bbdcc90f

and convert this project to vs2012.
0
 
käµfm³d 👽Commented:
Ah, if it's just a sample project, then just turn the key signing off. Right click the project from within Solution Explorer, and select "Properties". Once the properites page opens, go to the "Signing" tab. Uncheck the "Sign the ClickOnce manifests" checkbox.
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now