cancel
Showing results for 
Search instead for 
Did you mean: 
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
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!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.