Failed to open a document with a Office Web App in SharePoint 2010
Today I got this error while opening a Word document stored in a SharePoint library. This document should be opened in the Word Web App. – IT WAS A DOCUMENT IN A MIGRATED CONTENT DATABASE…
(“Word Web App cannot open this document for viewing because of an unexpected error. To view this document, open it in Microsoft Word.”)
I looked into SharePoint log and found this error message:
(“Requesting item that was not generated”)
Then I looked into Windows Event Viewer and found this critical error event:
(“SQL Database ‘…’ on SQL Server instance ‘…’ not found. Aditional error information from SQL Server is included below.” … Followed by some messages in german (because the SQL Servers language is german)… “Fehler bei der Anmeldung” which means: “Access Denied”
Solution:
The Service Account of the SharePoint Web Services System needs “db_owner” rights on the migrated content databases!!! (You see this account in the event log message!!!)