Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 5.x > Installation and deployment > Problems building Kentico Full Source in VS2010 View modes: 
User avatar
Member
Member
lancetek - 4/14/2011 3:23:12 AM
   
Problems building Kentico Full Source in VS2010
Hi,
I can't get the source solution to build in VS2010, here's the error I get:

Cannot import the following key file: CMS.pfx. The key file may be password protected. To correct this, try to import the certificate again or manually install the certificate to the Strong Name CSP with the following key container name: VS_KEY_3539F2B5C2614B07

I've tried importing one of the key files manually, via Windows Explorer, and it seems to do it successfully, yet I still get a bunch of these errors.

I've also tried running VS2010 as administrator, but that still doesn't work.

In the Instructions.txt, it says that VS2010 will ask for a password... but VS2010 never asked me for a password. FYI - when I installed one of the certificates manually via Windows Explorer, it did ask for a password.


User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 4/14/2011 3:37:20 AM
   
RE:Problems building Kentico Full Source in VS2010
Hi,

Could you please try to follow the instructions posted on the following page?
stackoverflow.com/questions/2815366/cannot-import-the-following-keyfile-blah-pfx-the-keyfile-may-be-password-prote

This is a common VS problem and there are a few suggestions on forums online.
social.msdn.microsoft.com/Forums/en/csharpide/thread/e7f79610-7da6-485e-a042-f757a7dd08c5
connect.microsoft.com/VisualStudio/feedback/details/462005/visual-studio-does-not-ask-for-password-for-projects-having-pfx-files

Best regards,
Ivana Tomanickova

User avatar
Member
Member
lancetek - 4/14/2011 6:14:05 AM
   
RE:Problems building Kentico Full Source in VS2010
Thanks,
The highest-voted answer from StackOverflow worked for me: http://stackoverflow.com/questions/2815366/cannot-import-the-following-keyfile-blah-pfx-the-keyfile-may-be-password-protec


User avatar
Member
Member
Peter - 12/1/2011 5:33:51 PM
   
RE:Problems building Kentico Full Source in VS2010
Hi,

I had the same problem. Ended up going to each projects properties and click on signing- change password, enter old password provided and reenter it as new password.

You must do it for all signed projects.

Regards,
Peter