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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
galymbek
New Member

Unexpected failure when opening PBIX

Hi!

 

I worked in Power BI, then saved it, and now I can't open this pbix file. However I can open other pbix files.

 

Error:

 

Feedback Type:
Frown (Error)

Timestamp:
2021-04-27T10:58:23.6785649Z

Local Time:
2021-04-27T16:58:23.6785649+06:00

Session ID:
46af46f7-134c-4797-b8fd-42b485c56a78

Release:
April 2021

Product Version:
2.92.706.0 (21.04) (x86)

Stack Trace:
System.InvalidOperationException
в Microsoft.Mashup.Host.Document.OperationResult.ThrowIfFailed()
в Microsoft.PowerBI.Client.Windows.Modeling.Hosting.ModelingMashupDocumentBuilder.<>c__DisplayClass18_0.<BuildQueries>b__2(PackageEditor packageEditor)
в Microsoft.Mashup.Host.Document.Model.Queries.<>c__DisplayClass163_0.<InvokeWithWritablePackageEditor>b__0(PackageEditor packageEditor)
в Microsoft.Mashup.Host.Document.Model.Queries.ChangeScope.Invoke[T](Func`2 action, Nullable`1 changeReason)
в Microsoft.Mashup.Host.Document.Model.Queries.InvokeWithPackageEditor[T](Nullable`1 changeReason, Func`2 action)
в Microsoft.Mashup.Host.Document.Model.Queries.InvokeWithWritablePackageEditor(ChangeReason changeReason, Action`1 action)
в Microsoft.PowerBI.Client.Windows.Modeling.Hosting.ModelingMashupDocumentBuilder.BuildQueries()
в Microsoft.PowerBI.Client.Windows.Modeling.Hosting.ModelingMashupDocumentBuilder.BuildRestorationInput()
в Microsoft.PowerBI.Client.Windows.Modeling.Utilities.MashupQueryGenerator.GenerateRestorationInputFromModel(IDataModel dataModel, QueriesSettings queriesSettings)
в Microsoft.PowerBI.Client.Windows.Services.ReportFactory.CreateReportFromPowerBIPackage(IPowerBIPackage powerBIPackage, String pbixFilePath, Byte[] securityBindings, Boolean requiresConversionToReportLayout, PowerBIPackageOpenOptions options, IPowerBITelemetryService powerBITelemetryService, IAnalysisServicesService analysisServices, Version pbixFileVersion, PackageValidationResult& mashupValidationResult)
в Microsoft.PowerBI.Client.Windows.Services.PowerBIPackagingService.Open(Stream stream, String streamName, IPowerBIWindowService windowService, Nullable`1 entryPoint, PowerBIPackageOpenOptions options, ReportPreparerResult& prepareResult)
в Microsoft.PowerBI.Client.Windows.Services.FileManager.<LoadFromPbix>d__23.MoveNext()
--- Конец трассировка стека из предыдущего расположения, где возникло исключение ---
в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
в Microsoft.PowerBI.Client.Windows.Services.UIBlockingService.<>c__DisplayClass14_0`1.<<BlockUIAndRun>b__0>d.MoveNext()
--- Конец трассировка стека из предыдущего расположения, где возникло исключение ---
в Microsoft.PowerBI.Client.Windows.Services.UIBlockingService.WaitOnUIThreadForTaskCompletion[T](Task`1 task)
в Microsoft.PowerBI.Client.Windows.Services.UIBlockingService.BlockUIAndRun[T](Func`1 asyncMethod)
в Microsoft.PowerBI.Client.Windows.Services.FileManager.OpenFile(IPowerBIWindowService windowService, IPbixFile fileToOpen, Nullable`1 entryPoint)
в Microsoft.PowerBI.Client.Program.TryOpenOrCreateReport(IUIHost uiHost, IPowerBIWindowService windowService, IFileManager fileManager, IFileHistoryManager fileHistoryManager, String filePath, FileType fileType, IFileInformationProtectionManager fileInformationProtectionManager)
в Microsoft.PowerBI.Client.Program.<>c__DisplayClass4_0.<Main>b__1()
в Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.<>c__DisplayClass3_0.<HandleExceptionsWithNestedTasks>b__0()
в Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)

PowerBINonFatalError:
{"AppName":"PBIDesktop","AppVersion":"2.92.706.0","ModuleName":"Microsoft.Mashup.Document.dll","Component":"Microsoft.Mashup.Host.Document.OperationResult","Error":"System.InvalidOperationException","MethodDef":"ThrowIfFailed","ErrorOffset":"34"}

 

OS Version:
Microsoft Windows NT 10.0.19042.0 (x64 ru-RU)

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

Peak Virtual Memory:
1.25 GB

Private Memory:
216 MB

Peak Working Set:
339 MB

IE Version:
11.789.19041.0

User ID:
08fbb795-ceba-4b4d-9bc7-f80f3449446f

Telemetry Enabled:
True

DPI Scale:
150%

Supported Services:
Power BI

 

Please help me!

9 REPLIES 9
v-jingzhang
Community Support
Community Support

Hi @galymbek 

Do you have other PC or is it possible to reach your colleagues to test whether this pbix file is able to open on other computers?

 

And what is the RAM size of your computer? If you are using other applications at the same time, could you close other applications and open this pbix file again?

 

Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.

Anonymous
Not applicable

I have the same issue since yesterday on one of my important files

galymbek
New Member

I updated the Power BI version to the latest one. Deleted it and then again installed. Cleaned the cashe. However I can't find any solution.

@galymbek , there is an issue report, check if it is same as yours. check all updates

https://community.powerbi.com/t5/Issues/PBI-Desktop-will-not-start/idi-p/1796162

 

if not log a new issue - https://community.powerbi.com/t5/Issues/idb-p/Issues

I looked for every post concerning "Unexpected failure". And there too. However no solution. Thank you!

AliceW
Impactful Individual
Impactful Individual

You should open a support ticket if you have a Pro license.. https://powerbi.microsoft.com/en-us/support/

No Pro license.... 🙂

AliceW
Impactful Individual
Impactful Individual

Ouch 😏 Can you reach one of your colleagues with a Pro license and ask them to create the ticket?

@galymbek , Update that issue and vote for it.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.