I've been recently building some SharePoint Virtual Machines, looking at the media I had available which was SharePoint 2007 RTM, I decided it was best to get a fresh copy of SharePoint 2007 with SP1. I planned to install the Infrastructure Update and instead of installing RTM, applying WSS SP1 and MOSS SP1 and Infrastructure for WSS and MOSS - 4 updates in total sounded daunting.
After installing MOSS SP1 I started to configure the services, during this I got the usual and scary "Cannot complete this action" error, especially as I've used MOSS SP1 before without any errors.
The errors in the event log are:
-----------------------------------------------------------------------------------------------------------------------------
Event Type: Error
Event Source: Windows SharePoint Services 3
Event Category: Database
Event ID: 5214
Date: 04/12/2008
Time: 14:37:38
User: N/A
Computer: COMPUTER_NAME
Description:
Insufficient SQL database permissions for user 'MOSS DATABASE ACCESS ACCOUNT' in database 'SharePoint_AdminContent_c4cfffb3-2065-49e4-b705-33b11b07fcf9' on SQL Server instance 'COMPUTER_NAME'. Additional error information from SQL Server is included below.
EXECUTE permission denied on object 'proc_GetWebNavStruct', database 'SharePoint_AdminContent_c4cfffb3-2065-49e4-b705-33b11b07fcf9', schema 'dbo'.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
-----------------------------------------------------------------------------------------------------------------------------
Event Type: Error
Event Source: Windows SharePoint Services 3
Event Category: Database
Event ID: 5214
Date: 04/12/2008
Time: 14:37:38
User: N/A
Computer: COMPUTER_NAME
Description:
Insufficient SQL database permissions for user 'MOSS DATABASE ACCESS ACCOUNT' in database 'SharePoint_AdminContent_c4cfffb3-2065-49e4-b705-33b11b07fcf9' on SQL Server instance 'COMPUTER_NAME'. Additional error information from SQL Server is included below.
EXECUTE permission denied on object 'proc_GetWebNavAcls', database 'SharePoint_AdminContent_c4cfffb3-2065-49e4-b705-33b11b07fcf9', schema 'dbo'.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
-----------------------------------------------------------------------------------------------------------------------------
I haven't installed SharePoint for a while so questioned whether the permissions were correct. I have four accounts:
| Account | Purpose | Privileges |
| Set up user | Person who installs and configures SharePoint | Member of the administrators group for each WFE |
| Database Access Account | Used as the main service account for MOSS and the Application pool user for CA. | Service account with SQL Roles (DB Creator and Security Admin) privileges and a member of local Administrators group |
| Server Farm Account | Used to run services and identity of application pools | Member of the administrators group |
| Default Content Access Account | Used to index content | None |
The account the error message complains about is the database access account, but this has DB Creator and Security Administration. I reviewed the following information here "Event ID 5214 (Windows SharePoint Services health model)" - http://technet.microsoft.com/en-us/library/cc561019.aspx with no success.
After looking further I found this http://www.eggheadcafe.com/software/aspnet/33333060/execute-permission-was-de.aspx where it was confirmed as a known issue and that the August 2008 update resolves this. For more information please see http://support.microsoft.com/default.aspx/kb/956056/
I choose to install the Infrastructure Update which rolls up these updates. For more information please see:
Please read the notes carefully, with any update you cannot un-install and with MOSS you need to install the WSS update first and then apply the MOSS version of the update.