Search code examples
ssissql-server-2008-r2ssassql-server-agent

Analysis Services Processing Task Fails When Run By SQL Server Agent


I have an SSIS package which contains an Analysis Services Processing Task. This package is kicked off by a SQL Server Job in SQL Server 2008 R2.

If I run this job myself or process the cube manually everything is fine.

However if I schedule the job and let the SQL server agent run it then the Analysis Services Processing task fails stating Errors in the OLAP storage engine and that an error occurred while processing the one of the measure groups.

Has anyone else every seen anything like this?


Solution

  • So after months of looking at this I finally realised the answer; of course it's a simple one.

    The SSIS job I had created was processing the Cube only, while every time I processed manually in management studio I was processing the whole SSAS database.

    I've now changed the SSIS package to process the whole database and everything seems to be working correctly.