I’ve experienced an intermittent error over the last week or so and I’ve finally got to the bottom of it.
When processing Analysis Services 2005 cubes from a SQL Agent Job the step reports success but occasionally logs the following error:
File system error: Error opening file; Program FilesMicrosoft SQL Server90SharedASConfigmsmdredir.ini is not a disk file or file is not accessible.” Source=”Microsoft SQL Server 2005 Analysis Services” HelpFile=”” />
. The step succeeded.
The cause is due to the fact I have other cubes processing at the same time on a different Analysis Services instance. Both instances attempt to access the msmdredir.ini file around the same time and if one instance already has the file open the other instance loses out.
A few workarounds are possible:
– Determine the processing window and start the jobs appropriately to ensure the cubes on different instances are not processing concurrently.
– Process all cubes on the same instance (and synchronise them over to the alternative instance, once processed)
– Chain the SQL Jobs together to ensure that cubes on different instances are processed sequentially.
All things being equal, the second option is my favored approach. However, due to an MS known bug relating to synchronising large and complex cubes (the reason for processing over separate instances in the first place) I’ve gone for the third.