In our brand-new SharePoint 2013 (RTM) environment, task aggregation is not working. When I tried to view tasks in my sites, I see "last updated at 1/1/1901'and a tooltip saying "sorry, we're having trouble refreshing your tasks." Looking at the Logs, I found: Work Management Service....Could not kick off farm refresh job....'Cannot open database"XXXXXX_MySites_Content" requested by the login. The login failed. Login failed for user 'DOMAIN\XXXXXXX.services'.
In short, the account that work management (and all my service applications) is running under has no permissions to access the My Sites content database. My accounts setup is very simple: all service applications share a service application pool running as the ".services" account and all web applications share a pool running as the "webapps" account. The farm account is seperate. The farm and webapp accounts have permissions in the content databases, but services does not.
Any ideas what I should do about this, or how I got into this mess?
11/29/2012 09:53:02.12 w3wp.exe (0x1A78) 0x2AF4 SharePoint Portal Server Work Management Service ajajw Warning Could not kick off farm refresh job. [bucketHash:B2B8DFBB] Exception details follow. Type: 'System.Data.SqlClient.SqlException', message: 'Cannot open database "XXXXXXX_MySites_Content" requested by the login. The login failed. Login failed for user 'DOMAIN\XXXXXXX.services'.' and stack trace: at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) ... 9bf7e59b-697b-b03e-fcfe-636a4f7123c6