Forum Discussion
Pivot Chart from Power Query on New Excel Sheet throws exception 0x800A03EC
Hi v-huizhn-msft,
I'm using 64-bit Windows 10 and 64-bit Excel 2016.
When I download your Test.xlsx and open it I see five sheets (Sheet1, pivot-chart, Chart2, Chart3, transformed-data) with Chart3 selected. Excel opens the file in PROTECTED VIEW. Selecting the chart tabs in that mode triggers no exception as I move from one to the another. If I click "Enable Editing" to move out of PROTECTED VIEW I then get the exception 0x800A03C when I select any chart tab. Note, this is before External Data Connections are enabled.
If I enable External Connections, the exception continues to occur when selecting the chart tabs. As with my minimum working example, if I move a chart so that it isn't on its own sheet, the exception doesn't occur on that sheet when displaying the chart.
The exception details from selecting one chart tab in your test file are:
Feedback Type:
Frown (Error)
Error Message:
Exception from HRESULT: 0x800A03EC
Stack Trace:
Microsoft.Mashup.Client.Excel.Shim.NativeExcelException: Exception from HRESULT: 0x800A03EC ---> System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x800A03EC
--- End of inner exception stack trace ---
at Microsoft.Mashup.Client.Excel.NativeExcelFunctionsBase.ValidateResult(Int32 result, Int32[] expectedValues)
at Microsoft.Mashup.Client.Excel.NativeExcelFunctionsC2R.Microsoft.Mashup.Client.Excel.INativeExcelFunctions.TryGetActiveListObject(IntPtr uiFrame, String& listObjectName)
at Microsoft.Mashup.Client.Excel.ActiveQueryCache.ActiveListObjectDescriptor.GetActive(IWindowContext windowContext, IWorkbookServices workbookServices)
at Microsoft.Mashup.Client.Excel.ActiveQueryCache.CacheEntry.Create(IWindowContext windowContext, IWorkbookServices workbookServices, PackageManager packageManager)
at Microsoft.Mashup.Client.Excel.ActiveQueryCache.CreateAndSetCacheEntry(IWindowContext windowContext)
at Microsoft.Mashup.Client.Excel.ActiveQueryCache.GetOrCreateCacheEntry(IWindowContext windowContext)
at Microsoft.Mashup.Client.Excel.CustomTaskPaneManagers.UpdateQueriesTaskPaneVisibility(IWindowContext windowContext)
at Microsoft.Mashup.Client.Excel.ExcelEventHandler.PerformPeriodicUpdate(IEnumerable`1 queriesTaskPaneVisibilityUpdateWindows)
at Microsoft.Mashup.Client.Excel.NativeEventHandler.<OnIdle>b__0()
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
Invocation Stack Trace:
at Microsoft.Mashup.Host.Document.ExceptionExtensions.GetCurrentInvocationStackTrace()
at Microsoft.Mashup.Client.ClientShared.FeedbackErrorInfo..ctor(String message, Exception exception)
at Microsoft.Mashup.Client.Excel.Native.NativeUserFeedbackServices.ReportException(IWin32Window activeWindow, WindowsHost windowsHost, FeedbackPackageInfo feedbackPackageInfo, Exception e)
at Microsoft.Mashup.Client.ClientShared.UnexpectedExceptionHandler.<>c__DisplayClass1.<HandleException>b__0()
at Microsoft.Mashup.Client.ClientShared.UnexpectedExceptionHandler.HandleException(Exception e)
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
at Microsoft.Mashup.Client.Excel.ExcelCallbackManager.InvokeAndReturnHResult(Action action)
Supports Premium Content:
True
Thanks,
PowerBIGuest
- v-huizhn-msft8 years agoMicrosoft Employee
Hi PowerBIGuest,
I totally undestand you, while I can't reproduce your scenario, I personally suggest you post it to the excel forum to get dedicated support.
Thanks,
Angelia