Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
dpFr33
Advocate II
Advocate II

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
Community Champion
Community Champion

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".



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.