sign: SignService server: error while signing "The application has failed to start because its side-by-side configuration is incorrect"
While trying to update our SignService instance to the most recent master branch code per https://github.com/dotnet/SignService/issues/60#issuecomment-489245289, ran into the following error running the latest code:
The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detailSystem.ComponentModel.Win32Exception (14001): The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detailat SignService.Utils.Kernel32.ActivationContext…ctor(String assemblyName) in d:\a\1\s\src\SignService\Utils\Kernel32.cs:line 77at SignService.AzureSignToolSignService.RunSignTool(AuthenticodeKeyVaultSigner signer, String file, String description, String descriptionUrl) in d:\a\1\s\src\SignService\SigningTools\AzureSignToolSignService.cs:line 105
I deployed to our Azure Website that we’ve been using to host the SignService instance using an artifact deployment via the https://github.com/dotnet/SignService/blob/master/azure-pipelines.server.yml file in this repository.
Is this a configuration issue with my specific deployment? Or an issue with the latest code?
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 15 (2 by maintainers)
Got everything working on my end finally - I think the issue was how we’re doing the Azure App Service deployment from Azure Pipelines. I’d recommend we take your advice from the Twitter thread we had earlier and add that to the development documentation:
https://twitter.com/onovotny/status/1125771206529961985
I’m certain my issue was caused by a dirty deployment. But it’s happily code-signing away now.