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 II
Super User II

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 IV
Super User IV

@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!!!

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




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

Proud to be a Super User!




Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!