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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Unexpected Error when launching Power BI Desktop(Access to the path Evaluation.bin is denied)

My Power BI Desktop crashes with the error :
 
Access to the path 'C:\Users\v-essahu\AppData\Local\Temp\Power BI Desktop\6cc6c47c-efce-49ec-9b3e-ed6f4697c35f\Evaluation\Evaluations.bin' is denied. I have the latest version of PBI desktop installed.
 
I tried uninstall/re-install , system reboot , it still doesn't seem to work.
I gave full control access to the folder but still it doesn't seem to work.
Running as PBIdesktop as Admin doesn't work as well.
 
 

Access to the path 'C:\Users\AppData\Local\Temp\Power BI Desktop\6cc6c47c-efce-49ec-9b3e-ed6f4697c35f\Evaluation\Evaluations.bin' is denied.

Stack Trace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at Microsoft.Mashup.Host.Document.Storage.Local.TempLocalStorage.CreateFile(String filePath)
at Microsoft.Mashup.Host.Document.Storage.Local.TempLocalStorage..ctor(String filePath)
at Microsoft.Mashup.Host.Document.Storage.Local.FileLocalStorageManager.GetEvaluationStorage()
at Microsoft.Mashup.Host.Document.Storage.Local.LocalWorkspaceStorage..ctor(WorkspaceManager workspaceManager)
at Microsoft.Mashup.Host.Document.Storage.PackageStorageHandlers.InitializeBasic(String userFolderPath, String evaluationFolderPath)
at Microsoft.Mashup.Host.Document.Storage.PackageStorageHandlers.InitializeLocal(String userFolderPath, String evaluationFolderPath)
at Microsoft.Mashup.Host.Document.Storage.PackageStorageHandlers.EnsureInitialized()
at Microsoft.Mashup.Host.Document.Storage.PackageStorageHandlers.get_FeatureSwitchStorage()
at Microsoft.Mashup.Host.Document.PreviewFeatureSwitch.LoadEnabled()
at Microsoft.Mashup.Host.Document.FeatureSwitch..ctor(Guid id, Boolean defaultValue, Boolean changeRequiresRestart)
at Microsoft.PowerBI.Client.Windows.Services.FeatureSwitchManager.RegisterPreviewFeatureSwitches()
at Microsoft.PowerBI.Client.Windows.Services.FeatureSwitchManager.RegisterKnownSwitches()
at Microsoft.PowerBI.Client.Program.<>c__DisplayClass4_0.<Main>b__1()
at Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.<>c__DisplayClass3_0.<HandleExceptionsWithNestedTasks>b__0()
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)

Stack Trace Message:
Access to the path 'C:\Users\AppData\Local\Temp\Power BI Desktop\6cc6c47c-efce-49ec-9b3e-ed6f4697c35f\Evaluation\Evaluations.bin' is denied.

Invocation Stack Trace:
at Microsoft.Mashup.Host.Document.ExceptionExtensions.GetCurrentInvocationStackTrace()
at Microsoft.Mashup.Client.UI.Shared.StackTraceInfo..ctor(String exceptionStackTrace, String invocationStackTrace, String exceptionMessage)
at Microsoft.PowerBI.Client.Windows.Telemetry.PowerBIUserFeedbackServices.GetStackTraceInfo(Exception e)
at Microsoft.PowerBI.Client.Windows.Telemetry.PowerBIUserFeedbackServices.ReportException(IWindowHandle activeWindow, IUIHost uiHost, FeedbackPackageInfo feedbackPackageInfo, Exception e, Boolean useGDICapture)
at Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.<>c__DisplayClass14_0.<HandleException>b__0()
at Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.HandleException(Exception e)
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
at Microsoft.PowerBI.Client.Program.Main(String[] args)

Status: Accepted
Comments
sumitkpande
New Member

Facing the same issue, tried permssions, opening in Admin mode, but nothing seems to be working.

 

Soclatotle
New Member

FYI, this repros on my rs4 machine, not on rs5 machine though.

The RS4 machine is 17134.765.

tyagiyash32
Helper I

Hi,

My power BI desktop (32-bit) is crashing freqently with below error message

Does anyone have any clue on how to fix this?

Error.PNG

gautam_power
Regular Visitor

@tyagiyash32  i faced similar issue in the pasth .if your machine is 64bit and you are installing 32 bit Power BI desktop you may face this issue. Try installing 64bit installer Hopefully it will work

tyagiyash32
Helper I

@gautam_power thanks for the advice, finaly shifted to 64bit

gautam_power
Regular Visitor

@eswar_chandra @sumitkpande @Soclatotle  group policy update solved the issue for me.

Go to the below location : 
C:\Windows\System32\GroupPolicy\Machine
Rename the existing policy file
open cmd in Administrator and type -gpupdate /force/ wait:-1
 
Hop it helps
 
KarthickSellakk
Microsoft Employee

@eswar_chandra I have reinstalled Power BI desktop from Windows store and it is working fine now 🙂

sathishcg
New Member

Is there any updates to the following issue?

 

Access to the path 'C:\Users\v-essahu\AppData\Local\Temp\Power BI Desktop\6cc6c47c-efce-49ec-9b3e-ed6f4697c35f\Evaluation\Evaluations.bin' is denied. I have the latest version of PBI desktop installed.
 
I tried uninstall/re-install , system reboot , it still doesn't seem to work.
I gave full control access to the folder but still it doesn't seem to work.
Running as PBIdesktop as Admin doesn't work as well.
KarthickSellakk
Microsoft Employee

@sathishcgI have unistalled and installed through windows store and didnt use msi. It resolved for me.

gautam_power
Regular Visitor

@sathishcg @KarthickSellakk  posted my solution above .. hope it resolves the isssue 

Go to the below location : 

C:\Windows\System32\GroupPolicy\Machine
Rename the existing policy file
open cmd in Administrator and type -gpupdate /force/ wait:-1