I am trying to deploy my app to anon development machine and I get the following error
(BTW vs did not built appx for me,i needed to do it manually)
Add-AppxPackage : Deployment failed with HRESULT: 0x800B010A, A certificate chain could not be built to a trusted root
Opening package from location file:///C:/Users/myusername/Documents/ServiceCLNC.appx failed with 0x800B010A
NOTE: For additional information, look for [ActivityId] ee0e7ce4-2e92-0000-d8e8-10ee922ecd01 in the Event Log or use
the command line Get-AppxLog -ActivityID ee0e7ce4-2e92-0000-d8e8-10ee922ecd01
At line:1 char:1
+ add-AppxPackage C:\Users\myusername\Documents\ServiceCLNC.appx
+ CategoryInfo : NotSpecified: (C:\Users\myusername\...erviceCLNC.appx:String) [Add-AppxPackage], Exception
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand
- Taşıyan Matt SmallMicrosoft employee, Moderator 23 Mayıs 2012 Çarşamba 20:22 Tools issue (From:Building Metro style apps with C# or VB )
Even I m facing the same problem while deploying my application in the win8 tablet. I have migrated the application from Beta to Release preview. I am getting an error saying "could not install the developer certificate". Are they any specific steps to be followed for migration from beta to release preview ??? whether the developer certificated needs to be changed from Beta to RP. Please let me know
Yes. The test certificate requirements have changed from Beta to Release Preview. You need to re-generate the test certificate and rebuild the package. To re-generate the test certificate, see the "Renewing a certificate" section in this topic: http://msdn.microsoft.com/en-us/library/windows/apps/br230260(v=vs.110).aspx.
I solved the error by creating a new application manifest file for my application in VS2012 RC and created a new .pfx file. I copied the newly created .pfx file to my application after migrating from VS2011 Express Beta. Then packaged the application. Its now working fine. I guess the error was because of VS2012 not able to update the old certificate with regenerated certificate in pfx file.
- Yanıt Olarak Öneren mailmugu 11 Temmuz 2012 Çarşamba 06:19
Glad it's working for you now. Was your old certificate a *_Storekey.pfx or *_TemporaryKey.pfx? If the first, the replacement does not happen automatically, you will have to delete the .pfx from the project and re-package (which will automatically re-generate the .pfx).