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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Can't open Power BI after June, 2020 update: "We weren't able to connect to the model."

I can't open Power BI after June, 2020 update. I'm getting "We weren't able to connect to the model." error when I'm trying top open updated Power BI Desktop. I tried to reboot my PC and to reinstall Power BI Desktop. I also tried both 64 bit and 32 bit versions of installer.


Feedback Type:
Frown (Error)

Error Message:
We weren't able to connect to the model.

Stack Trace:
at Microsoft.PowerBI.Client.Windows.Storage.FileOpenError.HandleError(IWindowService windowService, LocalizedString title)
at Microsoft.PowerBI.Client.Program.TryOpenOrCreateReport(IUIHost uiHost, ISplashScreen splashScreen, IFileManager fileManager, IFileHistoryManager fileHistoryManager, String filePath, FileType fileType)
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)

Stack Trace Message:
We weren't able to connect to the model.

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.Telemetry.PowerBIUserFeedbackServices.GetStackTraceInfo(Exception e)
at Microsoft.PowerBI.Client.Windows.Telemetry.PowerBIUserFeedbackServices.ReportException(IWindowHandle activeWindow, IUIHost uiHost, FeedbackPackageInfo feedbackPackageInfo, Exception e, Boolean useGDICapture)
at Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.<>c__DisplayClass14_0.<HandleException>b__0()
at Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.HandleException(Exception e)
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
at Microsoft.PowerBI.Client.Program.Main(String[] args)


PowerBINonFatalError:
{"AppName":"PBIDesktop","AppVersion":"2.82.5858.641","ModuleName":"Microsoft.PowerBI.Client.Windows.dll","Component":"Microsoft.PowerBI.Client.Windows.Storage.FileOpenError","Error":"Microsoft.PowerBI.Client.Windows.AnalysisServices.InvalidDynamicPortException","MethodDef":"HandleError","ErrorOffset":"76"}



Feedback Type: Frown (Error) Timestamp: 2020-06-11T07:21:33.7850374Z Local Time: 2020-06-11T09:21:33.7850374+02:00 Session ID: bdd3750c-efb2-49fa-b67a-16bc9648051e Release: June, 2020 Product Version: 2.82.5858.641 (20.06) (x64) Stack Trace: at Microsoft.PowerBI.Client.Windows.Storage.FileOpenError.HandleError(IWindowService windowService, LocalizedString title) at Microsoft.PowerBI.Client.Program.TryOpenOrCreateReport(IUIHost uiHost, ISplashScreen splashScreen, IFileManager fileManager, IFileHistoryManager fileHistoryManager, String filePath, FileType fileType) at Microsoft.PowerBI.Client.Program.<>c__DisplayClass1_0.b__1() at Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.<>c__DisplayClass3_0.b__0() at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action) PowerBINonFatalError: {"AppName":"PBIDesktop","AppVersion":"2.82.5858.641","ModuleName":"Microsoft.PowerBI.Client.Windows.dll","Component":"Microsoft.PowerBI.Client.Windows.Storage.FileOpenError","Error":"Microsoft.PowerBI.Client.Windows.AnalysisServices.InvalidDynamicPortException","MethodDef":"HandleError","ErrorOffset":"76"} OS Version: Microsoft Windows NT 6.1.7601 Service Pack 1 (x64 en-US) CLR Version: 4.7 or later [Release Number = 528049] Peak Virtual Memory: 3.4 GB Private Memory: 222 MB Peak Working Set: 271 MB IE Version: 11.0.9600.19399 User ID: a2b5748f-bb86-4532-8a0a-fe2d7131b276 Telemetry Enabled: True DPI Scale: 100% Supported Services: Power BI

Status: New
Comments
bdarbonneau
Frequent Visitor

Many users in my company have complained about this issue. For the time being, we have all reverted to the May realease.

acolson
New Member

Same problem here.

 

New version doesn't work on windows 7 x64, but works ok in windows 10.

Going back to version of may allow you to open power bi again, but there is a problem when you try to use a data set powerbi as source.

 

https://community.powerbi.com/t5/Service/Cannot-load-model-in-report-on-group-Workspace-starting-fro...

pontes77
New Member

Mesmo problema! Windows 7 Professional 64bits

 

Feedback Type:
Frown (Error)

Timestamp:
2020-06-23T13:48:15.0846180Z

Local Time:
2020-06-23T10:48:15.0846180-03:00

Session ID:
9bc71f97-9431-4d90-8a53-0be40e45a134

Release:
June, 2020

Product Version:
2.82.5858.641 (20.06) (x64)

Stack Trace:
em Microsoft.PowerBI.Client.Windows.Storage.FileOpenError.HandleError(IWindowService windowService, LocalizedString title)
em Microsoft.PowerBI.Client.Program.TryOpenOrCreateReport(IUIHost uiHost, ISplashScreen splashScreen, IFileManager fileManager, IFileHistoryManager fileHistoryManager, String filePath, FileType fileType)
em Microsoft.PowerBI.Client.Program.<>c__DisplayClass1_0.<Main>b__1()
em Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.<>c__DisplayClass3_0.<HandleExceptionsWithNestedTasks>b__0()
em Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)

PowerBINonFatalError:
{"AppName":"PBIDesktop","AppVersion":"2.82.5858.641","ModuleName":"Microsoft.PowerBI.Client.Windows.dll","Component":"Microsoft.PowerBI.Client.Windows.Storage.FileOpenError","Error":"Microsoft.PowerBI.Client.Windows.AnalysisServices.InvalidDynamicPortException","MethodDef":"HandleError","ErrorOffset":"76"}

OS Version:
Microsoft Windows NT 6.1.7601 Service Pack 1 (x64 pt-BR)

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

Peak Virtual Memory:
3.5 GB

Private Memory:
245 MB

Peak Working Set:
279 MB

IE Version:
11.0.9600.19266

User ID:
00e7408b-85ca-4af5-97e7-80cf1ff20003

Telemetry Enabled:
True

DPI Scale:
100%

Supported Services:
Power BI

saraMissBI
Resolver I

I have been struggling with the same problem over here : windows 7  64bits

I am not able to connect to datasets I used to work with (May version)

I upgraded to June version to solve the issue, but I am not able to launch Power BI Desktop

 

Feedback Type:
Frown (Error)

Error Message:
We weren't able to connect to the model.

Stack Trace:
at Microsoft.PowerBI.Client.Windows.Storage.FileOpenError.HandleError(IWindowService windowService, LocalizedString title)
at Microsoft.PowerBI.Client.Program.TryOpenOrCreateReport(IUIHost uiHost, ISplashScreen splashScreen, IFileManager fileManager, IFileHistoryManager fileHistoryManager, String filePath, FileType fileType)
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)

Stack Trace Message:
We weren't able to connect to the model.

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.Telemetry.PowerBIUserFeedbackServices.GetStackTraceInfo(Exception e)
at Microsoft.PowerBI.Client.Windows.Telemetry.PowerBIUserFeedbackServices.ReportException(IWindowHandle activeWindow, IUIHost uiHost, FeedbackPackageInfo feedbackPackageInfo, Exception e, Boolean useGDICapture)
at Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.<>c__DisplayClass14_0.<HandleException>b__0()
at Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.HandleException(Exception e)
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
at Microsoft.PowerBI.Client.Program.Main(String[] args)


PowerBINonFatalError:
{"AppName":"PBIDesktop","AppVersion":"2.82.5858.641","ModuleName":"Microsoft.PowerBI.Client.Windows.dll","Component":"Microsoft.PowerBI.Client.Windows.Storage.FileOpenError","Error":"Microsoft.PowerBI.Client.Windows.AnalysisServices.InvalidDynamicPortException","MethodDef":"HandleError","ErrorOffset":"76"}

dhoff01
Regular Visitor

I was told by Microsoft support that a fix will be released most likely Thursday or Friday of this week.

niteshdambale
Regular Visitor

Similar Problem with Windows 7 64 Bit..

 

Luckily @Anonymous had a backup which she shared.. Uninstalled the previous version and installed the one post downloading it fromhttps://drive.google.com/file/d/11lH2PMa5lWPE5GsuqdLI88C5cUHSoHDq/view?usp=sharing  

 

Started working..

 

Cheers

 

 

CindyCCI2020
Regular Visitor

Very long message exceed the limit

 

Feedback Type:

Frown (Error)

 

Error Message:

Value cannot be null.

Parameter name: exceptionType

 

Stack Trace:

   at Microsoft.Mashup.Client.UI.Windows.JsErrorHandler.WrapInvokeScript(Func`1 invokeScript)

   at Microsoft.Mashup.Client.UI.Windows.JsHostedScript.TryInvoke[T](String script, T& result)

   at Microsoft.Mashup.Client.UI.Windows.JsHostedScript.TryInvoke(String script)

   at Microsoft.Mashup.Client.UI.Shared.Ux.Navigator.QueryNavigatorPreviewHost.SetPreview(String preview)

   at Microsoft.Mashup.Client.UI.Shared.Ux.Navigator.QueryNavigatorPreviewHost.OnGetPreview(PreviewResult preview)

   at Microsoft.Mashup.Client.UI.Shared.Ux.Navigator.QueryNavigatorPreviewHost.<>c__DisplayClass17_0.<SetPreviewFromQuery>b__1(PreviewReference preview)

   at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)

 

Stack Trace Message:

Value cannot be null.

Parameter name: exceptionType

 

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.Telemetry.PowerBIUserFeedbackServices.GetStackTraceInfo(Exception e)

   at Microsoft.PowerBI.Client.Windows.Telemetry.PowerBIUserFeedbackServices.ReportException(IWindowHandle activeWindow, IUIHost uiHost, FeedbackPackageInfo feedbackPackageInfo, Exception e, Boolean useGDICapture)

   at Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.<>c__DisplayClass14_0.<HandleException>b__0()

   at Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.HandleException(Exception e)

   at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)

   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.WebDialogs.WebDialog.<>n__0(IWindowHandle owner)

   at Microsoft.Mashup.Client.UI.Shared.WindowManager.ShowModal[T](T dialog, Func`1 showModalFunction)

   at Microsoft.Mashup.Client.UI.Shared.Ux.FloatingDialog.NavigatorFloatingDialog.ShowEditLoad(IWindowHandle owner, IUIHost uiHost, Query query, ITelemetryService telemetryService, Boolean multiSelectionEnabledByDefault, ILearnedTableImporterHost learnedTableImporterHost)

   at Microsoft.PowerBI.Client.Windows.PowerBIDataImporter.ShowNavigator(Query query)

   at Microsoft.Mashup.Client.UI.Shared.DataImporter.ShowNavigatorOnSourceQuery(Query query, IEnumerable`1& importedQueries)

   at Microsoft.Mashup.Client.UI.Shared.DataImporter.ImportNavigationSource(Query query)

   at Microsoft.Mashup.Client.UI.Shared.DataImporter.OnGetPreviewResult(PreviewResult preview, Query query, String sourceID, String formulaTitle, Nullable`1 explicitImportDestination, Boolean isNewQuery, Boolean isFromEditor)

   at Microsoft.Mashup.Client.UI.Shared.DataImporter.GetPreviewResult(Query query, String sourceID, String formulaTitle, Boolean isNewQuery, Boolean isFromEditor, Nullable`1 explicitImportDestination)

   at Microsoft.Mashup.Client.UI.Shared.DataImporter.<>c__DisplayClass81_1.<OnQuerySettingsResolved>b__0()

   at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)

   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.WebDialogs.WebDialog.<>n__0(IWindowHandle 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)

 

 

PowerBINonFatalError:

{"AppName":"PBIDesktop","AppVersion":"2.82.5858.961","ModuleName":"","Component":"","Error":"Microsoft.Mashup.Host.Document.JavaScriptException","MethodDef":"","ErrorOffset":""}

 

InnerException0.Stack Trace Message:

Value cannot be null.

Parameter name: exceptionType

 

InnerException0.Stack Trace:

(at ms-pbi://pbi.microsoft.com/ts/Navigator/QueryNavigatorPreviewViewHost.js:193:17)

Error: Value cannot be null.

Parameter name: exceptionType

   at QueryNavigatorPreviewViewHost.prototype._onRenderPreview (ms-pbi://pbi.microsoft.com/ts/Navigator/QueryNavigatorPreviewViewHost.js:193:17)

   at ResultViewHost.prototype._onRefreshSuccess (ms-pbi://pbi.microsoft.com/ts/Shared/ResultViews/ResultViewHost.js:265:13)

   at ResultViewHost.prototype.setPreviewContent (ms-pbi://pbi.microsoft.com/ts/Shared/ResultViews/ResultViewHost.js:53:13)

   at QueryNavigatorPreviewViewHost.prototype.setPreview (ms-pbi://pbi.microsoft.com/ts/Navigator/QueryNavigatorPreviewViewHost.js:90:17)

   at eval code (eval code:1:1)

 

 

Anonymous
Not applicable

@niteshdambale  I am glad, it worked for you.

I tried installing it from the link shared by other members but didn't work for me and unfortunately I was not having a back-up set-up(May Release) in my system. I took the back-up file from one of my colleague and kept it here for people like me who are unable to download the May set-up from power BI archive folder.

niteshdambale
Regular Visitor

Thanks again @Anonymous 

 

Guys,

 

For windows 7 if you face this issue, request you to download the earlier version of Power BI desktop form

https://drive.google.com/file/d/11lH2PMa5lWPE5GsuqdLI88C5cUHSoHDq/view?usp=sharing 

 

 

Regards

 

 

 

bdarbonneau
Frequent Visitor

Version 2.82.5858.961 of Power BI Desktop was posted a few hours ago. Maybe it fixes the issue.
Can someone confirm ?