Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi all,
I installed powerbi desktop (x64) on windows server 2016 standard. After installation when launched , it gave error that "we weren't able to connect to the model".
note: there is no pbix file before installation, it was the first time that it was launched. I copied a pbix file to server and tried to open but it gave same error.
After that, i read blogs & community but didnt get the solution. I uninstalled latest version and tried to install previous versions (february, december versions ) with uninstall-install every time, yet still same.
what should i do?
Hi Icey,
----- updated ------
i installed feb2020 versions both 32 & 64 and after installation re-started server. but it didnt change anything.
how can i find event log?
I installed on-premises gateway and confgured & published it with my pro-user. On another server i configured another on-premises gateway with same user befor and it's still alive with no problem. I think one user with two gateway on different servers doesn't cause a problem because i even cant start powerbi dektop on my new server.
----- updated ------
I will try both 32&64 versions and let you know.
By the way, when i installed latest version erros description is;
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__DisplayClass2_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.81.5831.821","ModuleName":"Microsoft.PowerBI.Client.Windows.dll","Component":"Microsoft.PowerBI.Client.Windows.Storage.FileOpenError","Error":"Microsoft.PowerBI.Client.Windows.AnalysisServices.InvalidDynamicPortException","MethodDef":"HandleError","ErrorOffset":"76"}
Hi @rkapukaya ,
From the error message you provided, the cause seems to be "InvalidDynamicPortException". But I didn't find relevant documents.
So, if you are a pro user, it is suggested to create a support ticket for further help.
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @rkapukaya ,
1. Please try both 32-bit and 64-bit version of desktop on your machine.
2. Please restart your machine after re-installing Power BI Desktop.
3. Try below tips:
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
97 | |
84 | |
67 | |
60 |
User | Count |
---|---|
150 | |
120 | |
99 | |
87 | |
68 |