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

COM Object has been separated from its underlying RCW.

edhans_0-1602547134098.png

Closed a Power Query window and said "Apply changes later." 

Nothing had ever been loaded to the Data Model. Just some PQ work. Details below, and I did press Report Error. Nothing confidential, so here is the PBIX file link. It expires Oct 30, 2020.

 

Feedback Type:
Frown (Error)

Timestamp:
2020-10-12T23:56:58.3903316Z

Local Time:
2020-10-12T16:56:58.3903316-07:00

Session ID:
d0c103b2-a4ab-4d4e-9283-bb7dda3ff41c

Release:
September 2020

Product Version:
2.85.985.0 (20.09) (x64)

Stack Trace:
   at System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, IntPtr& ppTarget, Boolean& pfNeedsRelease)
   at System.Windows.Forms.UnsafeNativeMethods.IWebBrowser2.get_Document()
   at System.Windows.Forms.WebBrowser.get_Document()
   at Microsoft.Mashup.Client.UI.Windows.HostedWebBrowser.Microsoft.Mashup.Client.UI.Shared.IHostedWebBrowser.get_Document()
   at Microsoft.Mashup.Client.UI.Windows.JsHostedScript.TryGetBrowserDocument(IHostedWebDocument& document)
   at Microsoft.Mashup.Client.UI.Windows.JsHostedScript.get_CanInvoke()
   at Microsoft.Mashup.Client.UI.Windows.JsHostedScript.TryInvoke[T](String script, T& result)
   at Microsoft.Mashup.Client.UI.Shared.Ux.Navigator.EditorNavigatorHost.GetScrollTop()
   at Microsoft.Mashup.Client.UI.Shared.Ux.Navigator.QueriesNavigatorModelBase.OnQueriesContentChangeStarted(Object sender, EventArgs e)
   at Microsoft.Mashup.Host.Models.EventHandlerExtensions.RaiseEvent(EventHandler handler, Object sender)
   at Microsoft.Mashup.Host.Document.Model.Queries.CreateChangeScope(Boolean commitEachEdit)
   at Microsoft.PowerBI.Client.Windows.PowerBIQueryStalenessEvaluator.IsLoadRequired(Report report, Boolean includePendingUpgrades)
   at Microsoft.PowerBI.Client.Windows.Services.ReportFactory.CreatePowerBIPackageFromReport(Report report, DataModelSaveMode abfSaveState, Queries overrideQueries, IReadOnlyDictionary`2 parameterExpressionsToUpdate)
   at Microsoft.PowerBI.Client.Windows.Services.PowerBIPackagingService.Save(Report report, FileStream fileStream, DataModelSaveMode dataModelSaveMode, Queries overrideQueries, IReadOnlyDictionary`2 parameterExpressionsToUpdate)
   at Microsoft.PowerBI.Client.Windows.Services.AutoRecoveryManager.<>c__DisplayClass79_0.<PerformAutoSave>b__3()
   at Microsoft.PowerBI.Client.Windows.Services.AutoRecoveryManager.<>c__DisplayClass82_0.<TryIOActionAndLogException>b__0()
   at Microsoft.PowerBI.Client.Windows.Services.AutoRecoveryManager.TryIOActionAndLogException[T](Func`1 action, String description)
   at Microsoft.PowerBI.Client.Windows.Services.AutoRecoveryManager.<<PerformAutoSave>b__79_1>d.MoveNext()

PowerBINonFatalError:
{"AppName":"PBIDesktop","AppVersion":"2.85.985.0","ModuleName":"Microsoft.Mashup.Client.UI.dll","Component":"Microsoft.Mashup.Client.UI.Windows.HostedWebBrowser","Error":"System.Runtime.InteropServices.InvalidComObjectException","MethodDef":"Microsoft.Mashup.Client.UI.Shared.IHostedWebBrowser.get_Document - PowerBIPackager.Save","ErrorOffset":"0"}

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

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

Peak Virtual Memory:
38.6 GB

Private Memory:
781 MB

Peak Working Set:
1.01 GB

IE Version:
11.1082.18362.0

User ID:
7f3f6fa5-3d78-4fc7-b131-baaf88bfc20c

Workbook Package Info:
1* - en-US, Query Groups: 0, fastCombine: Disabled, runBackgroundAnalysis: True.

Telemetry Enabled:
True

Model Default Mode:
Empty

Model Version:
PowerBI_V1

Is Report V3 Models Enabled:
True

Enabled Preview Features:
PBI_shapeMapVisualEnabled
PBI_NewWebTableInference
PBI_ImportTextByExample
PBI_inlineExplore
PBI_dataPointLassoSelect
PBI_narrativeTextBox

Disabled Preview Features:
PBI_SpanishLinguisticsEnabled
PBI_qnaLiveConnect
PBI_dataSearchCuration
PBI_azureMapVisual

Disabled DirectQuery Options:
TreatHanaAsRelationalSource

Cloud:
GlobalCloud

DPI Scale:
150%

Supported Services:
Power BI

 

 

Status: New
Comments
v-chuncz-msft
Community Support

@edhans 

 

That seems to work fine for me except for the last step of query named Rotations.

edhans
Super User

Yeah, that query wasn't done which is why I told it not to apply. Yet that error came up.