Share via

Power Query possibly? - Exception from HRESULT: 0x800A03EC

Anonymous
2016-12-07T10:00:55+00:00

Since upgrading to Excel 2016 (O365) reports which run under automation (VBA driven) and have PQ (it seems only those) raise a very ugly error. It appears this happens when the VBA tries to save the workbook.

It is out of the control of VBA as it is a 'native' error, but has only recently started to happen. These are on a windows server 2008 R2 server and run under task scheduler.

The full stack trace is below if this helps

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.EndUndo(IntPtr workbookPointer, Boolean success, UndoableActionType actionType)

   at Microsoft.Mashup.Client.Excel.Shim.NativeFillServices.PerformPostRefreshFixups(IWorkbook workbook, IListObject listObject, String[] columnNames, FillColumnType[] columnTypes, String[] previousColumnNames, FillColumnType[] previousColumnTypes, FillColumnType[] recordFieldTypes, Boolean removeBlankColumns, Boolean applyResultStyle)

   at Microsoft.Mashup.Client.Excel.FillManager.RefreshFillSession.CompleteRefresh(IWorkbook workbook, Boolean onTimer)

   at Microsoft.Mashup.Client.Excel.FillManager.RefreshFillSession.UpdateRefreshStatus(IWorkbook workbook, Boolean onTimer)

   at Microsoft.Mashup.Client.Excel.FillManager.RefreshFillSession.ResumeFill(Boolean onTimer)

   at Microsoft.Mashup.Client.Excel.FillManager.UpdateQueries()

   at Microsoft.Mashup.Client.Excel.FillManager.<OnFillUpdateTimerTick>b__5()

   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.StackTraceInfo..ctor(String exceptionStackTrace, String invocationStackTrace)

   at Microsoft.Mashup.Client.ClientShared.FeedbackErrorInfo..ctor(String message, Nullable`1 errorCode, String requestId, Exception exception)

   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.Mashup.Client.Excel.FillManager.OnFillUpdateTimerTick(Object sender, EventArgs eventArgs)

   at System.Windows.Forms.Timer.OnTick(EventArgs e)

   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2016-12-08T01:47:15+00:00

    It's better to post your query here: https://social.technet.microsoft.com/Forums/en-US/home

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2016-12-08T07:21:52+00:00

    You can still try to post your query there, maybe someone have a workaround that they can share with you.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2016-12-08T07:08:50+00:00

    Jaquilin

    Thanks for suggesting this,. after much searching there, and for completeness, it appears this thread replicates the issue precisely and as yet there appears no solution

    https://social.technet.microsoft.com/Forums/en-US/99135e84-f981-4bbe-9834-94c68659f4a3/intermittent-error-exception-from-hrestult-0x800a03ec?forum=powerquery

    Was this answer helpful?

    0 comments No comments