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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Error: Access to the path is denied

Whenever I launch Power BI Desktop, I get an error saying "Access to path C:\Users\jeff.lindskoog\Microsoft\Power BI Desktop Store App\temp.User.zip" is denied.  IsReadonly: False IsHidden:False

 

I've tried uninstalling Power BI, re-installing it, Uninstalling and re-installing from the MS Store, rebooting along the way.  Nothing is working.  I've made the temp.User.zip  and User.zip files read only and not read only. 

 

It was working last week, but now I cannot get Power BI Desktop to run.

 

HELP!

 

Here is the error text:

 

Feedback Type:
Frown (Error)

Timestamp:
2019-06-28T12:48:22.0604188Z

Local Time:
2019-06-28T08:48:22.0604188-04:00

Session ID:
83106080-a82d-47a4-8a1e-996454296c0f

Release:
June 2019

Product Version:
2.70.5494.761 (19.06) (x64)

Stack Trace:
   at Microsoft.Mashup.Host.Document.Storage.Local.SharedLocalStorageAccessor.CopyStreamToFile()
   at Microsoft.Mashup.Host.Document.Storage.Local.SharedLocalStorageAccessor.EnsureFolderCreated(Action action)
   at Microsoft.Mashup.Host.Document.Storage.Local.SharedLocalStorageAccessor.<>c__DisplayClass13_0.<Access>b__0(SharedLocalStorage sharedLocalStorage)
   at Microsoft.Mashup.Host.Document.Storage.Local.SharedLocalStorageAccessor.SharedLocalStorage.Dispose()
   at Microsoft.Mashup.Host.Document.Storage.Local.LocalUISettingsStorage.SetSettings(MetadataSet metadataSet)
   at Microsoft.Mashup.Host.Document.Storage.TracingUISettingsStorage.SetSettings(MetadataSet metadataSet)
   at Microsoft.Mashup.Host.Document.UISettings.SetBoolSetting(String settingName, Boolean value)
   at Microsoft.PowerBI.Client.Windows.FloatingDialog.StartDialog.NeedToShowAtStartup(DateTime today, IUISettings uiSettings, IAuthenticationManager authenticationManager)
   at Microsoft.PowerBI.Client.Program.<>c__DisplayClass4_7.<<Main>b__5>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.PowerBI.Client.Windows.MainWindow.<<OnMainWindowInitializationCompleted>b__196_2>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.<HandleAwaitableAsyncExceptions>d__1.MoveNext()

InnerException.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)
   at System.IO.FileInfo.Open(FileMode mode, FileAccess access, FileShare share)
   at Microsoft.Mashup.Host.Document.Storage.Local.SharedLocalStorageAccessor.WriteTempFile()
   at Microsoft.Mashup.Host.Document.Storage.Local.SharedLocalStorageAccessor.CopyTempToFile(Boolean resetFileAttributes)
   at Microsoft.Mashup.Host.Document.Storage.Local.SharedLocalStorageAccessor.<>c__DisplayClass16_0.<CopyStreamToFile>b__0()
   at Microsoft.Mashup.Host.Document.Storage.Local.SharedLocalStorageAccessor.TryInvokeWithExponentialBackoffRetry(Func`1 operation, Func`2 exceptionHandler, Int32 slotTime, Int32 maxRetries)

OS Version:
Microsoft Windows NT 10.0.17134.0 (x64 en-US)

CLR Version:
4.7 or later [Release Number = 461808]

Peak Virtual Memory:
37.7 GB

Private Memory:
303 MB

Peak Working Set:
431 MB

IE Version:
11.648.17134.0

User ID:
0ed8ac81-fcba-4269-8d4e-31919b80f96a

Workbook Package Info:
1* - en-US, Query Groups: 0, fastCombine: Disabled, runBackgroundAnalysis: True.

Telemetry Enabled:
True

Model Default Mode:
Empty

Snapshot Trace Logs:
C:\Users\jeff.lindskoog\Microsoft\Power BI Desktop Store App\FrownSnapShot1274441627.zip

Disabled Preview Features:
PBI_shapeMapVisualEnabled
PBI_SpanishLinguisticsEnabled
PBI_NewWebTableInference
PBI_showIncrementalRefreshPolicy
PBI_showManageAggregations
PBI_improvedFilterExperience
PBI_qnaLiveConnect
PBI_keyDrivers
PBI_userFavoriteResourcePackagesEnabled

Disabled DirectQuery Options:
TreatHanaAsRelationalSource

Cloud:
GlobalCloud

DPI Scale:
100%

Supported Services:
Power BI

Status: New
Comments
v-chuncz-msft
Community Support
roboskoog
Frequent Visitor

I looked at the attached post, and tried most of what was in there; renaming the User.zip file,changing the read-only status on both the temp.User.Zip and User.zip files.  I don't have the option of turning off my anti-virus software.