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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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