Metalogix Website Migration Manager

SharePoint 2010 Cookbook: SharePoint 2010 Excel Services - An Error Has Occurred

Published 09/15 courtesy of Bamboo Solutions Community

SharePoint 2010 offers a wide variety of features that make our work lives easier, but every now and again, SharePoint can still be less than kind to users.

Challenge:

When I was trying to open an Excel 2007 spreadsheet once, this error came up unexpectedly:

And then:

Which was followed by:

Hmm. So I started investigating to determine the source of the problem, gathered all of the solutions I found to be potentially relevant, and was finally able to get my Excel Service up and running. If you are experiencing any of the above errors, hopefully the information below will help you to find the solution to your own problem.

Solution:

Possible Causes:

  1. The SharePoint 2010 Excel Services Application has not started properly.
  2. The Security Token Service Application is not started properly.
  3. The Excel Service account does not have permissions for the SharePoint content database.

 

Resolutions Checklist:

Step 1: Go to Central Administration -> Application Management -> Manage service applications -> Verify that the Excel Services Application and Security Token Service Application have started.

Step 2: Go to Central Administration -> System Settings -> Manage services on server -> Verify that Excel Calculation Services has started.

Step 3: Go to Central Administration -> Security -> Configure service accounts -> select Service Application Pool - SharePoint Web Services Default if you are using out-of-the-box SharePoint Excel Service; if you have created a new application pool for your Excel Service, select it instead.  Note the service account currently being used.

Step 4: Verify that your service account includes the db_owner role in the SharePoint content database of that Web application. You can do this in SQL Management Studio on your SQL Server, or by using the following PowerShell commands to grant permission to your service account:

  • On the SharePoint Server, click Start -> All Programs -> Microsoft SharePoint 2010 Products -> SharePoint 2010 Management Shell.
  • Enter these commands:
1: $w = Get-SPWebApplication -Identity http://portal 2: $w.GrantAccessToProcessIdentity("domainserviceaccount")

Step 5: Provision the Excel Services Application by running these PowerShell commands:

1: $excel = Get-SPExcelServiceApplication 2: $excel.Provision()

Step 6: Open IIS Manager on the SharePoint Server, and verify that SecurityTokenServiceApplicationPool has started.

Step 7: Reset IIS

Notes:

  • This blog post only applies to SharePoint Server 2010 Enterprise.
  • This blog post was written with basically the out-of-the-box SharePoint Excel Services Application in mind, and may not cover problems arising from customizing Excel Service.

See also:

Read more



Recent SharePoint Questions

more sharepoint questions


More Articles By

Develop Mobile Applications for SharePoint with Mobile Entree - CMSWire


Develop Mobile Applications for SharePoint with Mobile Entree
CMSWire, CA
By Barb Mosher | Jun 5, 2009 Seeing as how SharePoint (news, site) is so widely used within the enterprise today, it's…

Read more

Bamboos Year in Review: Marc OBrien Introduces the Bamboo Online Applications Division

Editor's note:  Last year we introduced the Bamboo Year in Review feature, kicking off with a note

Read more

Working with the Admin Links on your SharePoint Blog

While writing the final sentences of my post on how to create a SharePoint blog last week, I realized that I needed to circle back and spend some time…

Read more

More Articles Under "News from Around the Web"

Guest Blog by H3 Solutions Jason Hall - Mobile Entrée, Taking a Look Under the Hood

Mobile Entrée is installed as a SharePoint solution and is deployed as a series of features. 

Read more

SharePoint on Your SmartPhone, Android Moves to Laptops, Best Practices Conference Speakers List

Top News Stories
Google Wave - A Developer's Eye View (The Register)
Last week, Google announced Wave, a…

Read more

Announcing the Best Practices Conference Speakers List!

Make your plans now to attend the Best Practices Conference this August 24-26 in Washington, D.C. to ensure that you don't miss out on sessions presented by some…

Read more



Metalogix FileShare Migration Manager