This documentation is archived and is not being maintained.

Troubleshooting LightSwitch

This topic contains information about typically encountered issues and the steps that are required to resolve them.

Note Note

For issues that are not listed here, you may be able to find information or obtain help in the LightSwitch Forums on the MSDN website.

When opening a project that is stored in a Source Code Control repository, you may encounter one of several errors related to importing a key file. For projects that are signed with a certificate, the certificate must be present on every development computer that will check out the project.

To fix the error

  1. Close the project and undo the checkout in your Source Code Control repository.

  2. Obtain a copy of the certificate (.pfx) file that was used to sign the project and save it to the local computer. Right-click the .pfx file and then click Install PFX.

    Note Note

    You will also need the private key password for the certificate.

  3. In the Certificate Import Wizard, click Next.

  4. On the File to Import page, verify the path of the certificate file and then click Next.

  5. On the Password page, enter the private key password for the certificate and then click Next.

  6. On the Certificate Store page, select Automatically select the certificate store based on the type of certificate and then click Next.

  7. Click Finish to install the certificate. Once the certificate is installed you can check out and open the project.