RSS

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

13 Aug
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.

Advertisements
 
Leave a comment

Posted by on August 13, 2009 in SharePoint Common Issues

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: