Power BI is crashing on startup. It is not working on my profile. When i login as another user it works fine. i tried reinstalling, but it is not working. Find below the error. Is my profile corrupted. If yes, how do i resolve?
Feedback Type:
Frown (Error)
Error Message:
Error: Access to the path 'C:\Users\{username}\AppData\Local\Microsoft\Power BI Desktop\temp.User.zip' is denied.
File 'User.zip' snapshot:
FullName: 'C:\Users\{username}\AppData\Local\Microsoft\Power BI Desktop\User.zip'
IsReadonly: False
IsHidden: False
File 'temp.User.zip' snapshot:
FullName: 'C:\Users\{username}\AppData\Local\Microsoft\Power BI Desktop\temp.User.zip'
IsReadonly: False
IsHidden: False
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__DisplayClass2.<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.SetStringSetting(String settingName, String value)
at Microsoft.Mashup.Host.Document.UISettings.set_LastKnownPBICloudConfig(String value)
at Microsoft.PowerBI.Client.Windows.PowerBIService.CloudConfigurationManager.CacheDiscovery(CachedCloudConfiguration cloud)
at Microsoft.PowerBI.Client.Windows.PowerBIService.CloudConfigurationManager.SetCloud(String emailAddress)
at Microsoft.PowerBI.Client.Windows.PowerBIService.AuthenticationManager.TryGetUserIdentityInfo(UserIdentityInfo& userIdentityInfo)
at Microsoft.PowerBI.Client.Windows.PowerBIService.AuthenticationManager.EnsureSignInStatusInitialized()
at Microsoft.PowerBI.Client.Windows.PowerBIService.AuthenticationManager.get_IsSignedIn()
at Microsoft.PowerBI.Client.Windows.Ux.RibbonSignInForm.UpdateUsernameLabel()
at Microsoft.PowerBI.Client.Windows.Ux.RibbonSignInForm..ctor(IWindowHandle ownerWindow, WindowsHost windowsHost, IWindowService windowService, ICloudConfigurationManager cloudManager, IAuthenticationManager authenticationManager, IAuthenticationUIHandler authenticationUIHandler, IPowerBIServiceClient powerbiServiceClient, IEventAggregationService eventAggregationService, IPowerBITelemetryService powerbiTelemetryService, IExceptionHandler exceptionHandler, Boolean showLoginButton)
at Microsoft.PowerBI.Client.Windows.MainWindow..ctor(IPowerBIWindowServiceFactory windowServiceFactory, IEventAggregationService eventAggregationService, IFileOperationUIHandler fileOperationUIHandler, IFileManager fileManager, IModelAuthoringRoutingService modelAuthoringRoutingService, IUIBlockingService uiBlockingService, ISchemaItemActivationService schemaItemActivationService, IViewSelectionService viewSelectionService, IUpdateNotificationManager updateNotificationManager, IPowerBIStringProvider stringProvider, IPowerBITelemetryService telemetryService, ITypeNameProvider typeNameProvider, WindowsHost windowsHost, MainWindowParameters initializationParameters, FormulaHistoryManager formulaHistoryManager, IReportManager reportManager, IPowerBIServiceClient powerBIServiceClient, IAuthenticationManager authenticationManager, IAuthenticationUIHandler authenticationUIHandler, ICloudConfigurationManager cloudManager, ApplicationTracingHost applicationTracingHost, IFileHistoryManager fileHistoryManager, ICefBrowserFactory cefBrowserFactory, IDiagramViewManager diagramViewManager, IPowerBISettings powerBISettings, IAnalysisServicesLoadContextFactory analysisServicesLoadContextFactory, IApplicationCommands applicationCommands, IUISettings uiSettings, IFileDialogManager fileDialogManager, EditorScaler editorScaler)
at Microsoft.PowerBI.Client.Program.<>c__DisplayClassa.<Main>b__0()
at Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.<>c__DisplayClass7.<HandleExceptionsWithNestedTasks>b__6()
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
Stack Trace Message:
Error: Access to the path 'C:\Users\{username}\AppData\Local\Microsoft\Power BI Desktop\temp.User.zip' is denied.
File 'User.zip' snapshot:
FullName: 'C:\Users\{username}\AppData\Local\Microsoft\Power BI Desktop\User.zip'
IsReadonly: False
IsHidden: False
File 'temp.User.zip' snapshot:
FullName: 'C:\Users\{username}\AppData\Local\Microsoft\Power BI Desktop\temp.User.zip'
IsReadonly: False
IsHidden: False
Invocation Stack Trace:
at Microsoft.Mashup.Host.Document.ExceptionExtensions.GetCurrentInvocationStackTrace()
at Microsoft.Mashup.Client.ClientShared.StackTraceInfo..ctor(String exceptionStackTrace, String invocationStackTrace, String exceptionMessage)
at Microsoft.Mashup.Client.ClientShared.FeedbackErrorInfo..ctor(String message, Exception exception)
at Microsoft.PowerBI.Client.Windows.Telemetry.PowerBIUserFeedbackServices.ReportException(IWindowHandle activeWindow, WindowsHost windowsHost, FeedbackPackageInfo feedbackPackageInfo, Exception e, Boolean useGDICapture)
at Microsoft.Mashup.Client.ClientShared.UnexpectedExceptionHandler.<>c__DisplayClass1.<HandleException>b__0()
at Microsoft.Mashup.Host.Document.SynchronizationContextExtensions.SendAndMarshalExceptions(SynchronizationContext context, Action callback)
at Microsoft.Mashup.Client.ClientShared.UnexpectedExceptionHandler.HandleException(Exception e)
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
at Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.HandleExceptionsWithNestedTasks(IExceptionHandler exceptionHandler, Action action)
at Microsoft.PowerBI.Client.Program.Main(String[] args)
5 Comments
- v-jiascu-msft
Microsoft Employee
Hi birepuser,
The error message seems clear. Please check these things below.
1. Did anyone change the security settings of the folder?
>>>Error: Access to the path 'C:\Users\{username}\AppData\Local\Microsoft\Power BI Desktop\temp.User.zip' is denied.
2. Did you try the method below?
1) Uninstall the Desktop;
2) Restart the Windows;
3) Install the Desktop again.
3. Did you try to install the Desktop from the Windows Store?
Best Regards,
Dale
- Vicky_Song
Impactful Individual
Status changed:NewtoNeeds Info - westwardoneRegular Visitor
I am having this issue as well. I am not able to log into the Power BI desktop. I have performed the
above function and the result did not change. I have a PRO license and it still does not work. Funny
that I can access my dashboard online but not on my laptop.
- westwardoneRegular Visitor
I was able to Fix this problem!
Steps
1. Navigate to the user\username\appdata\local\microsoft\Power BI Desktop folder
2. Right Click on the User.zip folder
3. Click on Security
4. Make sure that your user profile has full control
5. If changes are needed click edit
6. Click Allow Full Control
7. Click OK
8. Click OK again
9. Repeat steps 1-8 for Temp.User.zip
- AnonymousNot applicable
Has someone been able to find a final solution to this?? I have a similar problem but one of the solutions here are resolving it.