web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : lT9wgaBwjlrJIQ3kwS6ZuR
Power Apps - Building Power Apps
Unanswered

Component Library Update - Stays at Loading...

Like (1) ShareShare
ReportReport
Posted on 14 Mar 2024 15:34:44 by 49

Hi,

I have an issue when I update a component library from my consuming Canvas app.

Of course, everything was functional, this misbehavior started yesterday.

 

I open the Canvas app (git from Azure Repos) and I see the banner saying "Component library updates available".  Fine, it's my recent published changes catched by the app.  So I click "Review".  In the popup, I confirm I want to update the component library.

 

Then, the infamous "Loading" dialog is shown and it stays there.

d2034_0-1710428288089.png

 

The Component library contains around 15 components, it's mostly formatted controls, no big deal, normally it takes something line 10-15 seconds to update.

 

How may I see what is going on under the hood?  Where the update process is hanging?  What is causing this issue?

 

I took a look at the Browser's Console and there is Crash Reports there.  There is many errors saying:

     Refused to set unsafe header "Content-Length"

 

Crash Reports concerns the following FileNames:

  • /_common/global.ashx
  • /main.aspx
  • /_static/_controls/globalquickcreate/globalquickcreatebehavior.js
File nameMessage
main.aspxError initializing component with element id='crmHistoryManager' and with type='Mscrm.HistoryManager': Failed to read a named property 'href' from 'Location': Blocked a frame with origin "https://_____.dynamics.com" from accessing a cross-origin frame.
global.ashxUncaught SecurityError: Failed to read a named property 'Xrm' from 'Window': Blocked a frame with origin "https://_____.dynamics.com" from accessing a cross-origin frame.
globalquickcreatebehavior.jsUncaught SecurityError: Failed to read a named property 'Mscrm' from 'Window': Blocked a frame with origin "https://_____.dynamics.com" from accessing a cross-origin frame.

Note: I have masked the Dynamics URL, it's not _____ in the Browser console.

 

I tried to locate a JS variable or something that might contains more details, but I couldn't find anything helpful.

 

Is someone can help me finding why the Component Library Update process stays in "Loading..." forever?  

Is there somewhere I can find more details on where is the hiccup in the update process ?

 

Thanks,

  • stephenbrownproduct Profile Picture
    9 on 16 Aug 2024 at 17:26:36
    Component Library Update - Stays at Loading...
    I'm having the same issue with the same JS errors....
  • d2034 Profile Picture
    49 on 15 Mar 2024 at 12:31:52
    Re: Component Library Update - Stays at Loading...

    UPDATE

    I was able to update the Component Library with another app that uses it.

    So, it means the problem is my previous application.  My best guess is there is probably a property, set by the application, that doesn't update well.

     

    But still, Microsoft, we need to get a log, or something, to be able to locate the issue.  I am wasting so much time searching why Power Apps don't do it's job.  I don't want Power Apps to tell me the solution to all problems, I just need to know where it is in it's update progress.  Having this kind of information will make it looks more stable than a mysterious black box.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2

Loading complete