cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bmcgirr
New Member

Crash on startup

Hi,

 

I get the following error when I try to start Power BI desktop and I've had no luck with a response to "Send a frown"

 

Does anyone have an idea of what's going on?

 

Cheers,

 

Brett

 

Error Message:

We weren't able to connect to the model.

Stack Trace:

System.ApplicationException: We weren't able to connect to the model. ---> System.ArgumentException: Argument should be true.
Parameter name: this.DynamicPort > 0
   at Microsoft.Mashup.Host.Models.Verify.IsTrue(Boolean expression, String argumentName)
   at Microsoft.PowerBI.Client.Windows.AnalysisServices.AnalysisServicesService.EnsureServiceIsReady()
   at Microsoft.PowerBI.Client.Windows.AnalysisServices.AnalysisServicesService.Start(Process process)
   at Microsoft.PowerBI.Client.Windows.AnalysisServices.AnalysisServicesService.EnsureStarted()
   at Microsoft.PowerBI.Client.Windows.AnalysisServices.AnalysisServicesService.<CreateDatabase>b__0()
   at Microsoft.PowerBI.Client.Windows.AnalysisServices.AnalysisServicesService.OnErrorClarify(Action action, String clarification)
   --- End of inner exception stack trace ---
   at Microsoft.PowerBI.Client.Windows.AnalysisServices.AnalysisServicesService.OnErrorClarify(Action action, String clarification)
   at Microsoft.PowerBI.Client.Windows.AnalysisServices.AnalysisServicesService.CreateDatabase(Stream abfStream)
   at Microsoft.PowerBI.Client.Windows.AnalysisServices.AnalysisServicesService.CreateDatabase(Version version, Stream abfStream)
   at Microsoft.PowerBI.Client.Windows.Storage.BIPackageCreatorDesktop.LoadDataModel(IAnalysisServicesService analysisServices, BIPackage package)
   at Microsoft.PowerBI.Client.Windows.Storage.BIPackageCreatorDesktop.TryInitializeAnalysisServicesDatabase(BIPackage biPackage, BIPackageOpenError& error)

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, Exception exception)
   at Microsoft.PowerBI.Client.Program.<>c__DisplayClassd.<Main>b__2()
   at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
   at Microsoft.PowerBI.Client.Program.Main(String[] args)

 

 

1 ACCEPTED SOLUTION
bmcgirr
New Member

I've found a workaround that's helped me progress. I created a new windows user without any special characters in the name. Now, running power BI as that user works fine.

 

My guess at the root cause is incorrect encoding of special characters into XML configuration which is passed between the various components of Power BI.

View solution in original post

5 REPLIES 5
diegoestrada
New Member

Hi, I had the same issue, but i finally fix it.

 

I completely uninstalled the PowerBI Desktop x64 using revo uninstaller. Then, I cleaned the registry and temps using ccleaner. When i finish to clean the system, I have restarted my computer and then I installed the powerbi x32 version.

 

Technical details: PowerBI desktop Version: 2.39.4526.362 32-bit (septiembre de 2016)

 

OS: Windows 10 Enterprise x64 10.0.14393 compilación 14393

Intel core i 7

12gb ram

Nvidia GeFOrce 970m

 

Hope this hel someone to solve this little bug.

bmcgirr
New Member

I've found a workaround that's helped me progress. I created a new windows user without any special characters in the name. Now, running power BI as that user works fine.

 

My guess at the root cause is incorrect encoding of special characters into XML configuration which is passed between the various components of Power BI.

View solution in original post

djx
New Member

Hello, i have the same problem... After spending three hours (reinstalling etc.) still without solution... 😞 Please help!

itchyeyeballs
Impactful Individual
Impactful Individual

Does that happen when you try to open a specific .pbix file or does it happen when opening the program i.e. from the start menu?

It happens when I open the program from the start menu. The splash screen shows for about 30 seconds before the error message.

Helpful resources

Announcements
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Teds Dev Camp Oct. 2021 768x460.jpg

Power BI Dev Camp - October 28th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!