Synchronization job failed when service MSSQLServerOLAPService crashed -[ Task category 256, event ID 22 ] -- File system error: the process can not access the file beacuse it is being used by the another process <file path>

Komal Sahu 311 Reputation points
2020-09-08T06:24:41.39+00:00

Hi All,

SSAS DB synchronization failed with error: "Synchronization Database Error: The connection eiter timed out or was lost"
When checked MSSQLServerOLAPService service was stopped and it logged below error in application log(event viewer):

The description for event id 22 from source mssqlserverolapservice cannot be found. Either the component that raises this event isnot installed on your local computer or the installation is corrupted. you can install or repair the component on the local computer. If the event originated on another computer....
file system error: the following error occurred during a file operation:The process cannot access the file because it is being used by another process.. (\?\F:\OLAP\Data\ESS MOLAP ISSUMT.381.db\EAL.2167.cub\kjsd.det\sdsds.2152.prt\2258.fact.data)

23134-molapservicecrashed.png

And msmdsrv.log file logged below error:

(2/9/2020 3:51:55 AM) Message: (Source: \?\E:\OLAP\Log\msmdsrv.log, Type: 3, Category: 256, Event ID: 0xC1000016)

Since this issue is intermittent(approx once in a month), couldn't use profiler till now.
Does any of you think using SQL profiler will capture more detail.
please help with any advise /solution

SQL Server Analysis Services
SQL Server Analysis Services
A Microsoft online analytical data engine used in decision support and business analytics, providing the analytical data for business reports and client applications such as Power BI, Excel, Reporting Services reports, and other data visualization tools.
1,253 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Lukas Yu -MSFT 5,816 Reputation points
    2020-09-11T05:50:50.707+00:00

    If this is intermittently happening, would it possible for us to know the trigger or time ? So that you could trace it .
    But as the error info, it could be the db is being processed and blocking by other job or task.


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.