cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dpFr33
Advocate I
Advocate I

C:\Program Files\Microsoft Power BI Report Server\PBIRS\LogFiles\msmdsrv.log : can not delete

Hi,


Power BI Report Server january 2021 (latest version). 

In the RSHostingService_2021_04_30_00_00_05.log, I can see the same error each minute :


"2021-04-30 13:54:16.3798|WARN|55|Exception deleting expired log fileSystem.IO.IOException: Le processus ne peut pas accéder au fichier 'C:\Program Files\Microsoft Power BI Report Server\PBIRS\LogFiles\msmdsrv.log', car il est en cours d'utilisation par un autre processus.
à System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
à System.IO.File.InternalDelete(String path, Boolean checkHost)
à Microsoft.BIServer.HostingEnvironment.Logger.DeleteExpiredFilesInternal(Int32 keepUntilDays, FileInfo[] logFiles)
2021-04-30 13:54:26.4207|INFO|11|Catalog max connection pool size: 100
2021-04-30 13:54:26.4207|INFO|11|Deleting expired log file: C:\Program Files\Microsoft Power BI Report Server\PBIRS\LogFiles\msmdsrv.log Last written: 15/04/2021 04:14:01
2021-04-30 13:54:26.4267|WARN|11|Exception deleting expired log fileSystem.IO.IOException: Le processus ne peut pas accéder au fichier 'C:\Program Files\Microsoft Power BI Report Server\PBIRS\LogFiles\msmdsrv.log', car il est en cours d'utilisation par un autre processus.
à System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
à System.IO.File.InternalDelete(String path, Boolean checkHost)
à Microsoft.BIServer.HostingEnvironment.Logger.DeleteExpiredFilesInternal(Int32 keepUntilDays, FileInfo[] logFiles)
"

 

How to slove this issue?

Regards,
Denis

3 REPLIES 3
Icey
Community Support
Community Support

Hi @dpFr33 ,

 

Please check if the previous version ( October 2020 ) could work if the methods above don't work.

 

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

FarhanAhmed
Super User
Super User

Did you try to restart your PBIRS service? Also let us know if PBIRS working fine or not?







Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!

Proud to be a Super User!




Greg_Deckler
Super User
Super User

@dpFr33 You could check the Issues forum here:

https://community.powerbi.com/t5/Issues/idb-p/Issues

And if it is not there, then you could post it.

If you have Pro account you could try to open a support ticket. If you have a Pro account it is free. Go to https://support.powerbi.com. Scroll down and click "CREATE SUPPORT TICKET".


@ me in replies or I'll lose your thread!!!
Check out my External Tool for Power BI Desktop! Microsoft Hates Greg's Quick Measures
YouTube Channel! Microsoft Hates Greg
Check out my latest book!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.