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 :
Power Apps - Building Power Apps
Unanswered

Component Library Update - Stays at Loading...

(1) ShareShare
ReportReport
Posted on 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,

I have the same question (0)
  • d2034 Profile Picture
    49 on at
    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.

  • stephenbrownproduct Profile Picture
    13 on at
    Component Library Update - Stays at Loading...
    I'm having the same issue with the same JS errors....
  • Jon Magnusson Profile Picture
    5 on at
    Component Library Update - Stays at Loading...

    “I’m experiencing a similar issue: ‘Failed to load component library. Try refreshing the page.’ After that, it prompts me to reload.

    Could this be caused by the same underlying problem?”

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 766 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 419 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 235

Last 30 days Overall leaderboard