{"id":43,"date":"2012-11-06T12:55:07","date_gmt":"2012-11-06T12:55:07","guid":{"rendered":"https:\/\/www.sharepoint13.org\/?p=43"},"modified":"2012-11-06T12:55:48","modified_gmt":"2012-11-06T12:55:48","slug":"the-workbook-cannot-be-opened","status":"publish","type":"post","link":"https:\/\/www.sharepoint13.org\/?p=43","title":{"rendered":"The workbook cannot be opened"},"content":{"rendered":"<p>Yesterday I had a little problem with Office Web Apps 2010. After a manual installation in the farm, Word and PowerPoint files viewed fast and nice inside the browser. But.. Excel files said: \u201cThe workbook cannot be opened\u201d. Okei\u2026-must be something wrong with the files, I uploaded a test file from my SkyDrive,&#160; nope, same error\u2026<\/p>\n<p>Like lightning it struck me :-), off course! \u2013the managed service account. I created in AD for the Excel Service app, it doesn&#8217;t`t have any schemas in SQL content_db. In the old days (read 2007) you would provide this manually in SQL manager.<\/p>\n<p>Today we have PowerShell for this \ud83d\ude42<\/p>\n<p><b>PS&gt; $w = Get-SPWebApplication \u2013Identity &lt;<var>URL of the Web application<\/var>&gt;<\/b>    <br \/><b>PS&gt; $w.GrantAccessToProcessIdentity(&quot;&lt;<var>insert service account<\/var>&gt;&quot;) <\/b><\/p>\n<p>It works like a charm after IISreset \u2013noforce<\/p>\n<p><a title=\"http:\/\/support.microsoft.com\/kb\/981293\" href=\"http:\/\/support.microsoft.com\/kb\/981293\">http:\/\/support.microsoft.com\/kb\/981293<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yesterday I had a little problem with Office Web Apps 2010. After a manual installation in the farm, Word and PowerPoint files viewed fast and nice inside the browser. But.. Excel files said: \u201cThe workbook<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[10,7],"class_list":["post-43","post","type-post","status-publish","format-standard","hentry","category-tip","tag-excelservices","tag-sharepoint"],"_links":{"self":[{"href":"https:\/\/www.sharepoint13.org\/index.php?rest_route=\/wp\/v2\/posts\/43","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sharepoint13.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sharepoint13.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sharepoint13.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sharepoint13.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=43"}],"version-history":[{"count":2,"href":"https:\/\/www.sharepoint13.org\/index.php?rest_route=\/wp\/v2\/posts\/43\/revisions"}],"predecessor-version":[{"id":45,"href":"https:\/\/www.sharepoint13.org\/index.php?rest_route=\/wp\/v2\/posts\/43\/revisions\/45"}],"wp:attachment":[{"href":"https:\/\/www.sharepoint13.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=43"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sharepoint13.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=43"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sharepoint13.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=43"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}