Hi Folks.
I am trying to do a scheduled refresh of an excel workbook which has a powerpivot model. It fails with:
"Call to Excel Services returned an error"
If I dig through the ULS logs I see this:
05/02/2013 15:05:17.02 w3wp.exe (0x1FA4) 0x1B8C Excel Services Application External Data ajeso Information Failed to create an external connection or execute a query. Provider message: Out of line object 'DataSource', referring to ID(s) 'd3cd8d31-d808-4faa-8f66-7b0ade73bcd3', has been specified but has not been used. OLE DB or ODBC error: Login failed for user 'myusername'.; 28000. OLE DB or ODBC error: Login failed for user 'myusername'.; 28000. , ConnectionName: ThisWorkbookDataModel, Workbook: MyTestWorkbook.xlsx. 3a918f85-110a-45a4-8296-af17c6adeaaa
That reads a lot like the error described in http://msdn.microsoft.com/en-us/library/jj879294.aspx but that is for interactive refresh, this is scheduled. (Though, I did follow the steps to make our analysis services account 'Act as part of the operating system' anyway).
The weird thing to me is that it references the connection 'ThisWorkbookDataModel' ... which should just be the embedded powerpivot data ($Embedded$ in the 2010 world)... but its trying to use 'myusername' which is what we specify for theexternal data connection.
Anybody have hints/ideas here?