RSS

Monthly Archives: August 2009

Event ID: 6482 Office SharePoint Server & Event ID: 7034 Windows SharePoint Services 3

When firing up the Excel Calculation Services  on a new farm, if you get the following “Handle is Invalid” error:
 
System.Security.Cryptography.CryptographicException: The handle is invalid.

   at System.Security.Cryptography.Utils.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer)
   at System.Security.Cryptography.Utils.GetKeyPairHelper(CspAlgorithmType keyType, CspParameters parameters, Boolean randomKeyContainer, Int32 dwKeySize, SafeProvHandle& safeProvHandle, SafeKeyHandle& safeKeyHandle)
… and so on …

You need to set permissions as follows:
 
“C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys”
Add Local Administrators – Full
Add NETWORK SERVICE – Read

In the Security tab of the folder’s Properties:

Click Advanced

Click the Owner tab

Ensure the current owner says Administrators, if not, click it in the “Change owner to” box

Check the checkbox that says “Replace owner on subcontainers and objects”

Hit Apply & Ok

On the Permissions Tab

Add the Everyone group (if you haven’t already) by using the Add button, type Everyone, and click OK

Highlight the Everyone group and click Edit

Ensure “Allow” is checked for all the boxes and click OK

Check the box that says “Replace permission entries on all child objects with entries shown here that apply to child objects”

Click Apply, then Yes on the warning to continue

Click OK

Then click Apply & OK on the MachineKeys Properties window.

This should allow the Excel Calculation Service to start in Central Admin.

 
Leave a comment

Posted by on August 13, 2009 in SharePoint Common Issues