CruiseControl.NET service failing to build due to MSBuild ResolveKeySource error, despite certificate being imported -
Only one XBAP / WBA project was added to our build server, it uses a PFX file to sign it. I have a cruise control for the PFX file. The Net Service Certificate was imported into the store, and I can see it in the certificate store for the service. However, we are still seeing an exception:
c: \ wINDOWS \ Microsoft.NET \ framework \ v3.5 \ Microsoft.Common.targets (1805,7): errorMSB4018: "ResolveKeySource" work failed unexpectedly System.InvalidOperationException: When a user is not running in interactive mode, a model is showing a dialog box or form, there is no valid operation. Service Notification or DefaultDesktop Only Specify Style to display any information from the Service Information
< / P> Has anyone seen this behavior or can recommend any other approach? I know I'm Cruise Control Net can be run as a user (the solution is compiling from the command line), but it is possible that if all permissions are configured against service account and prefer to run as a service, then Want to escape?
Thanks for the suggestion, I was able to work it using the following process:
- Created a user for the CruiseControl.NET service.
- The user has logged on as the right of service and cruise control to run as this user. Net service changed.
- Run this XBAP project as a user and from the command line.
- ResoveKeySource indicated by the task when the PFX password was entered.
- CruiseControl.NET, green light, tested from horray building!
What's interesting is that as part of step 3 After entering this user, I imported the PFX file in its certificate store before running MSWebly from the command line. To solve this problem did not , I had to build the project from the command line, enter the password and then it's cruise control. Worked from Net Service
Thanks Preet!
Comments
Post a Comment