Setup Problems

Can't install 2.0 distributed build server on XP SP3

Started by willdean on 9,549 views

While running the 2.0 beta build server install on an XPSP3 box, I got the following exception after entering a server password:

************** Exception Text **************
System.PlatformNotSupportedException: The specified cryptographic algorithm is not supported on this platform.
at System.Security.Cryptography.CapiNative.AcquireCsp(String keyContainer, String providerName, ProviderType providerType, CryptAcquireContextFlags flags, Boolean throwPlatformException)
at System.Security.Cryptography.SHA256CryptoServiceProvider..ctor()
at nCrunch.Core.Configuration.GridServerReference.HashPassword(String passwordText)
at NCrunch.GridNode.Configuration.Wizard.ServerPassword.ServerPassword_WizardNext(Object sender, WizardPageEventArgs e)
at nCrunch.VSAddIn.UI.Wizards.Framework.WizardPage.OnWizardNext(WizardPageEventArgs e)
at nCrunch.VSAddIn.UI.Wizards.Framework.WizardSheet.#=q4riPgQxqnB6FED_53E2OFbvqe1Zk_IFPk7mKwf6Ru0Q=(Object #=qIU0$V4_B$6qxh08dxPNlkQ==, EventArgs #=qdjIf5TYU0bNKJzTzReiUhA==)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


This is a box which does VS2010 builds OK, so it's not a complete backwater.

Edited

Hi,

Thanks for sharing this. It looks like an XP compatibility issue that will require a fix to be made to the grid node server. The node is supposed to support Windows XP, so I'll see if I can include this in the next beta build.


Cheers,

Remco
Looks like this works around it: http://siderite.blogspot.com/2010/11/make-sha256cryptoserviceprovider-work.html
Thanks for sharing the workaround. I've also managed to confirm this issue is specific to Windows XP SP3. A fix will be out in the next v2 beta build.
I’m happy to say that this issue has been resolved. If you’re interested in grabbing the fix, you can download v2.1b from the NCrunch download page - http://www.ncrunch.net/download

Post a reply

Log in to reply.