Primarily technical blog on Lisp, .NET, C# development.

Friday, December 5, 2014

Error running Lightswitch app on a different machine

If you run into this error: Error 1 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. Client Error 2 Importing key file "ClientGenerated_1_TemporaryKey.pfx" was canceled. Client... Warning 3 The referenced component 'Microsoft.LightSwitch.Client.Internal' could not be found. Client... On the target machine: Go find the key file in your Project -> Client folder, double-click it and import it to the new machine. You will have to enter the password for the key. Source: