رفع خطای excell
Then tried opening the file in the browser again only to be confronted with a new error "The workbook cannot be opened." This had me scratching my head for a little while until I looked in the event log where I found that the Service Account being used for Excel Services hadn't been given any rights on the content database. After which the fix was easy to implement with the following PowerShell commands
- $webApp = Get-SPWebApplication "http://YourSharePointSite"
- $webApp.GrantAccessToProcessIdentity("YourDomain\ExcelServicesAccountName")
$webApp = Get-SPWebApplication "http://YourSharePointSite"
$webApp.GrantAccessToProcessIdentity("YourDomain\ExcelServicesAccountName")
Hopefully this will save someone else a bit of time.



