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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
t663372
New Member

Getting error while opening PBI Desktop

Whioe opening PBI gwtting below error:

 

Feedback Type:
Frown (Error)

Timestamp:
2024-11-12T06:36:55.7448266Z

Local Time:
2024-11-12T12:06:55.7448266+05:30

Session ID:
5f56cc41-1d32-459d-8573-2fa41794ea58

Release:
September 2024

Product Version:
2.136.1202.0 (24.09) (x64)

Error Message:
Could not load file or assembly 'PowerBIExtensions, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Could not find or load a specific file. (Exception from HRESULT: 0x80131621)

Stack Trace:
Microsoft.PowerBI.Client.Windows.Storage.FileOpenException
at Microsoft.PowerBI.Client.Windows.Storage.FileOpenError.HandleError(IWindowService windowService, LocalizedString title)
at Microsoft.PowerBI.Client.CommandLineFileService.TryOpenOrCreateReport(IPowerBIWindowService windowService, IExceptionHandler exceptionHandler, Boolean forceCreate)
at Microsoft.PowerBI.Client.Program.<>c__DisplayClass7_0.<RunApplicationLegacy>b__0()
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:
Could not load file or assembly 'PowerBIExtensions, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Could not find or load a specific file. (Exception from HRESULT: 0x80131621)

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


PowerBINonFatalError:
{"AppName":"PBIDesktop","AppVersion":"2.136.1202.0","ModuleName":"Microsoft.PowerBI.Client.Windows.dll","Component":"Microsoft.PowerBI.Client.Windows.Storage.FileOpenError","Error":"Microsoft.PowerBI.Client.Windows.Storage.FileOpenException","MethodDef":"HandleError","ErrorOffset":"196","ErrorCode":"DataModelLoadFailed"}

InnerException0.Stack Trace Message:
Could not load file or assembly 'PowerBIExtensions, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Could not find or load a specific file. (Exception from HRESULT: 0x80131621)

InnerException0.Stack Trace:
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
at Microsoft.Mashup.Libraries.AssemblyLibraryProvider..ctor(AssemblyName assemblyName, Func`2 isEnabled)
at Microsoft.Mashup.Client.UI.Shared.UiExtensibility.ExtensionModuleLoader.CreateInternalLibraryProvider(String extensionDllPath, Func`2 isExtensionEnabled)
at Microsoft.PowerBI.Client.Windows.PowerQueryExtensionsLoader.GetPowerBIExtensions()
at Microsoft.PowerBI.Client.Windows.AnalysisServices.AnalysisServicesService.CreateConfigFile(String dataDirectory, Int32 port)
at Microsoft.PowerBI.Client.Windows.AnalysisServices.AnalysisServicesProcess.CreateWorkspace()
at Microsoft.PowerBI.Client.Windows.AnalysisServices.AnalysisServicesProcess.Start()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.PowerBI.Client.Windows.AnalysisServices.AnalysisServicesService.<StartProcess>d__30.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.<HandleAwaitableAsyncExceptions>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.PowerBI.Client.Windows.Utilities.AggregateExceptionHandlingExtensions.WaitAndUnpackException(Task task)
at Microsoft.PowerBI.Client.Windows.AnalysisServices.AnalysisServicesService.CreateEmptyDatabase()
at Microsoft.PowerBI.Client.Windows.Services.CurrentArtifactManager.<OpenNew>d__41.MoveNext()

InnerException0.Invocation Stack Trace:
at Microsoft.Mashup.Host.Document.ExceptionExtensions.GetCurrentInvocationStackTrace()
at Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo.GetFeedbackValuesFromException(Exception e, String prefix)
at Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo.GetFeedbackValuesFromInnerExceptions(Exception e, Int32 depth)
at Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo.CreateAdditionalErrorInfo(Exception e)
at Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo..ctor(String message, Exception exception, Nullable`1 stackTraceInfo, String messageDetail)
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.PowerBI.Client.PowerBIUnexpectedExceptionHandler.HandleException(Exception e)
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
at Microsoft.PowerBI.Client.Program.RunApplicationLegacy(String[] args)
at Microsoft.PowerBI.Client.Program.Main(String[] args)


InnerException0.PowerBINonFatalError:
{"AppName":"PBIDesktop","AppVersion":"2.136.1202.0","ModuleName":"Microsoft.MashupEngine.dll","Component":"Microsoft.Mashup.Libraries.AssemblyLibraryProvider","Error":"System.IO.FileLoadException","MethodDef":".ctor","ErrorOffset":"0","ErrorCode":""}

OS Version:
Microsoft Windows NT 10.0.19045.0 (x64 en-US)

CLR Version:
4.8 or later [Release Number = 528372]

Peak Virtual Memory:
70.4 GB

Private Memory:
122 MB

Peak Working Set:
645 MB

IE Version:
11.3636.19041.0

User ID:
a99a53cd-303f-4d21-a617-b76b3139b528

Telemetry Enabled:
False

PowerBINonFatalError_ErrorCode:
DataModelLoadFailed

PowerBIUserFeedbackServices_IsReported:
True

InnerException0.PowerBIUserFeedbackServices_IsReported:
True

InnerException0.OLEDB_ErrorInfo_IsReported:
True

DPI Scale:
100%

Supported Services:
Power BI

2 REPLIES 2
Anonymous
Not applicable

Hi @t663372 ,

 

Could you please tell us if your problem has been solved?

If so, please accept the helpful reply as a solution or share us with your own solution. More people will benefit from it based on it.

If no, please provide us with more details. Have you successfully opened Power BI Desktop before? If your computer is 32-bit, please download the 32-bit version as well.

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

SamWiseOwl
Super User
Super User

Hi @t663372 
Can you open other PBIX files?


If you cannot open other PBIX files:
I would uninstall Power BI Desktop and then do a fresh install from the Microsoft Store.

If you can open other files:
I would try opening Power BI Service in your browser and upload this report to your workspace.

You can then save it back down to your desktop and check if it repaired the issues.


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.