ideallorn

统计

最新评论

Automated build causes ResolveKeySource failed unexpectedly.(zz)

Automated build causes ResolveKeySource failed unexpectedly.

http://codehunter-uk.blogspot.com/2009/02/automated-build-causes-resolvekeysource.html

I came across this error the other day after updating our ClickOnce manifest to be signed with a new digital certificate with a password. After searching google I discovered that this error was down to the fact that the user account that the automated build service was running under had never come across the certificate so msbuild was attempting to prompt the service with a password dialog box, needless to say this doesn’t end well and you get “The "ResolveKeySource" task failed unexpectedly”. The solution is to import the digital certificate into the personal store of the account the service is running under.

To do this follow these simple steps.

  1. Logon to the machine the automated build service is running on.
  2. Run the management console (start->run->mmc)
  3. Add the Certificates snap-in.
  4. Choose Service account, then Local computer.
  5. Now you should see a list of services pick the automated build service.
  6. Right click <ServiceName>\Personal choose All Tasks –> Import
  7. Navigate to the digital certificate.
  8. You must not enable strong private key protection.
  9. Finish the wizard.

posted on 2012-04-17 16:24 releng 阅读(131) 评论(0)  编辑 收藏 引用

只有注册用户登录后才能发表评论。