Forum Discussion

MattKarriker2's avatar
MattKarriker2
Icon for Helper II rankHelper II
5 years ago

Failed to Load the report TypeError: Cannot read property 'visualType' of undefinedg to

I am receiveing an error trying to open my pbix file.  Everything worked fine this morning but now the file will not open.  Stack trace is below. Any ideas how to fix it?

 

Feedback Type:
Frown (Error)

Timestamp:
2020-10-07T19:31:07.1057705Z

Local Time:
2020-10-07T15:31:07.1057705-04:00

Session ID:
d4ebcb0f-04c8-40e1-824a-07b8772f7498

Release:
September 2020

Product Version:
2.85.985.0 (20.09) (x64)

Error Message:
Failed to load the report.

Stack Trace:
TypeError: Cannot read property 'visualType' of undefined
at VersionUpgrader.upgrade (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:14241:111)
at ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:14179:39
at ExplorationUpgrader.upgradeElement (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:14196:114)
at ExplorationUpgrader.upgrade (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:14178:34)
at ExplorationSerializer.deserializeExploration (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:12926:68)
at ExplorationSerializer.deserializeExploration (ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:38905:33)
at ExplorationProxy.get (ms-pbi://pbi.microsoft.com/minerva/scripts/powerbiDesktop.js:1246:59)
at DesktopExplorationProxyService.get (ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:165077:33)
at DesktopContainerCore.<anonymous> (ms-pbi://pbi.microsoft.com/minerva/scripts/powerbiDesktop.js:867:113)
at step (ms-pbi://pbi.microsoft.com/minerva/scripts/visuals.js:152:23)

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.ErrorHostService.GetErrorDetails(ShowErrorDialogArgs args)
at Microsoft.PowerBI.Client.Windows.ErrorHostService.<>c__DisplayClass3_1.<ShowErrorDialog>b__1()
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
at System.Windows.Forms.WindowsFormsSynchronizationContext.Send(SendOrPostCallback d, Object state)
at Microsoft.PowerBI.Client.Windows.Services.UIBlockingService.AllowModalDialogs(Action action)
at Microsoft.PowerBI.Client.Windows.ErrorHostService.<>c__DisplayClass3_0.<<ShowErrorDialog>b__0>d.MoveNext()
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
at Microsoft.PowerBI.Client.Windows.ErrorHostService.<>c__DisplayClass3_0.<ShowErrorDialog>b__0()
at Microsoft.Mashup.Host.Document.SynchronizationContextExtensions.<>c__DisplayClass1_0`1.<SendAndMarshalExceptions>b__0()
at Microsoft.Mashup.Host.Document.SynchronizationContextExtensions.<>c__DisplayClass0_1.<SendAndMarshalExceptions>b__0(Object null)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at Microsoft.Mashup.Client.UI.Shared.WindowManager.ShowModal[T](T dialog, Func`1 showModalFunction)
at Microsoft.PowerBI.Client.Program.<>c__DisplayClass1_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)
at Microsoft.PowerBI.Client.Program.Main(String[] args)

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi MattKarriker2 ,

    Whether your problem still persist? If yes, could you please try to rename the file and open it? Later check whether it can run normally. Any comment or problem, please feel free to let me know. Thank you.

    Best Regards

    Rena