• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Microsoft.Mashup.Container.Loader.exe kills Excel after queries refresh|Power Query|Excel Forum|My Online Training Hub

You are here: Home / Microsoft.Mashup.Container.Loader.exe kills Excel after queries refresh|Power Query|Excel Forum|My Online Training Hub

vba course banner

Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumPower QueryMicrosoft.Mashup.Container.Loader.e…
sp_PrintTopic sp_TopicIcon
Microsoft.Mashup.Container.Loader.exe kills Excel after queries refresh
Avatar
jaryszek
Member
Members
Level 0
Forum Posts: 183
Member Since:
February 1, 2019
sp_UserOfflineSmall Offline
1
May 14, 2021 - 5:45 pm
sp_Permalink sp_Print

hi Guys,

i am refreshing few queries using button and code.

Sub RefreshAllOutputQueries()

Dim conn As WorkbookConnection

For Each conn In ThisWorkbook.connections
With conn.OLEDBConnection
.BackgroundQuery = False 'or true, up to you
.Refresh
End With
End If
Next conn

End Sub

And this is working fine but after code Power Query creates additional processes in my PC memory:

Screenshot_167.pngImage Enlarger

This is making my pc slow. How to get rid of them? Why Power Quert created them?

Best,
Jacek

sp_PlupAttachments Attachments
  • sp_PlupImage Screenshot_167.png (140 KB)
Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 873
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
2
May 14, 2021 - 7:35 pm
sp_Permalink sp_Print

Hello,

Not a really an answer to why these tasks are created, but you can always kill them if they are not needed.

Br,
Anders

Avatar
jaryszek
Member
Members
Level 0
Forum Posts: 183
Member Since:
February 1, 2019
sp_UserOfflineSmall Offline
3
May 14, 2021 - 8:37 pm
sp_Permalink sp_Print

Hi,

thanks, i know how to kill task from task manager. 
I want to prevent them to still staying there after queries refreshed.

Best,
Jacek

Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 873
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
4
May 15, 2021 - 8:19 am
sp_Permalink sp_Print

Hello,

Well, my thought was that you could call the taskkill command from whithin your VBA code.

Br,
Anders

Avatar
jaryszek
Member
Members
Level 0
Forum Posts: 183
Member Since:
February 1, 2019
sp_UserOfflineSmall Offline
5
May 15, 2021 - 9:18 pm
sp_Permalink sp_Print sp_EditHistory

Hmm. it is force method to delete it. 

My question is why Power query doesnt kill the process alone? 
Why i have still this open? 

maybe i could finish power query somehow in code? 

Best,
Jacek

Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 873
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
6
May 17, 2021 - 7:44 am
sp_Permalink sp_Print

Hello,

I searched for the exe file and found this blog post, seems you get to live with it.
Question: does it behave differently if you run the .BackgroundQuery with yes parameter than with no parameter?

Br,
Anders

Avatar
jaryszek
Member
Members
Level 0
Forum Posts: 183
Member Since:
February 1, 2019
sp_UserOfflineSmall Offline
7
May 17, 2021 - 5:42 pm
sp_Permalink sp_Print sp_EditHistory

Hello Anders,

thanks.
Yes it is the same but refreshin time is faster or seems to be faster (and still goin in background). 

I have even more mashupContainers now.
Question is if they will kill my CPU ? 

If not how we can destroy it using VBA or some kind of PowerQuery process? 

I read here on forum that you can add one query with "ZZZZZZ" (to be refreshed as last one) to cheat PQ and finish all queries so i did:

1. I added table with only one row called "ZZZZZZZ_PQ" and now i refresh also it as last one (PQ takes queries alphabetically)
2. It didnt change anything - still mashups shows up.

Best,
Jacek

Avatar
JF Guilbert

New Member
Members
Level 0
Forum Posts: 1
Member Since:
June 4, 2021
sp_UserOfflineSmall Offline
8
June 4, 2021 - 1:45 am
sp_Permalink sp_Print

Happened to me this morning too. Not sure what is happening with the Mashup. I run my refresh, all data is brought back but the Mashup.Container.Loader stays there. If I try to load the data again, I get an error that it doesn't work. I need to kill the mashup for the refresh to work a second time.

I'm getting my data from a website. Not sure if this is the problem. This is the first time I have a problem with Power Query not refreshing...

Avatar
jaryszek
Member
Members
Level 0
Forum Posts: 183
Member Since:
February 1, 2019
sp_UserOfflineSmall Offline
9
June 4, 2021 - 6:40 pm
sp_Permalink sp_Print

Try my solution from post above. I think that it helped. 

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Lavina Dhanwani, Jorn Bast, Malcolm Sawyer
Guest(s) 8
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 873
Purfleet: 414
Frans Visser: 346
David_Ng: 306
lea cohen: 222
Jessica Stewart: 216
A.Maurizio: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Melanie Ford
Isaac Felbah
Adele Glover
Hitesh Asrani
Rohan Abraham
Anthony van Riessen
Erlinda Eloriaga
Abisola Ogundele
MARTYN STERRY
Rahim Lakhani
Forum Stats:
Groups: 3
Forums: 24
Topics: 6355
Posts: 27792

 

Member Stats:
Guest Posters: 49
Members: 32324
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.