Solved

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

Posted on 2013-11-12
3
1,528 Views
Last Modified: 2013-11-13
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
Comment
Question by:Varshini S
  • 2
3 Comments
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 39642696
Is the key file password protected?
0
 

Author Comment

by:Varshini S
ID: 39643973
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
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 500 total points
ID: 39644873
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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now