SQL OLAP - The file '<ccon>NLevelDecodeStore_<GUID>.tmp</ccon>' could not be deleted. Please check the file for permissions.

Zbynek Polisensky 0 Reputation points
2024-08-18T09:56:33.8133333+00:00

Hello,

I use MS SQL Server 2022 with Analysis Services. I see a lot of errors in the log:
The file '<ccon>NLevelDecodeStore_<GUID>.tmp</ccon>' could not be deleted. Please check the file for permissions.

The file '<ccon>PropStore_<GUID>.tmp</ccon>' could not be deleted. Please check the file for permissions.

The file '<ccon>PropStore_<GUID>idx.tmp</ccon>' could not be deleted. Please check the file for permissions.

etc.

The Temp folder has all the privileges it needs. The service account running Analysis Service has all the privileges. I also see that the tmp files are created when the service starts and deleted when it stops, so it looks like it has permissions to work with those files.

Any idea what could be wrong?

Thanks

Zbynek

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,278 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Zbynek Polisensky 0 Reputation points
    2024-08-18T13:19:01.4666667+00:00

    There was one more message in the log, "Software usage metrics failed to start."

    I found the article below, applied the workaround and restarted the server. The message "Software usage metrics failed to start." is still there, but other errors seem to have disappeared. We'll see in a few days, but it looks promising.

    https://learn.microsoft.com/en-us/troubleshoot/sql/analysis-services/error-1032-application-log


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.