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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Can't edit & creat flo...
Power Automate
Answered

Can't edit & creat flows after reinstall the WINDOWS

(0) ShareShare
ReportReport
Posted on by 22

I reinstall windows and PAD.   win10 pro  20h2

I can't edit & creat all flows.

I can run these flows but fail halfway through.

 

 

error info:

Message = Width and height must be non-negative.

error = System.ArgumentException
完整文本 = System.ArgumentException: The width and height must be nonnegative.

在 System.Windows.Size..ctor(Double width, Double height)
在 System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
在 System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
在 System.Windows.Controls.Grid.MeasureOverride(Size constraint)
在 System.Windows.FrameworkElement.MeasureCore(Size availableSize)
在 System.Windows.UIElement.Measure(Size availableSize)
在 System.Windows.Controls.Border.MeasureOverride(Size constraint)
在 System.Windows.FrameworkElement.MeasureCore(Size availableSize)
在 System.Windows.UIElement.Measure(Size availableSize)
在 System.Windows.Window.MeasureOverrideHelper(Size constraint)
在 System.Windows.Window.MeasureOverride(Size availableSize)
在 System.Windows.FrameworkElement.MeasureCore(Size availableSize)
在 System.Windows.UIElement.Measure(Size availableSize)
在 System.Windows.Interop.HwndSource.SetLayoutSize()
在 System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)
在 System.Windows.Window.SetRootVisual()
在 System.Windows.Window.SetRootVisualAndUpdateSTC()
在 System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)
在 System.Windows.Window.CreateSourceWindow(Boolean duringShow)
在 System.Windows.Window.ShowHelper(Object booleanBox)
在 System.Windows.Window.ShowDialog()
在 Microsoft.Flow.RPA.Desktop.Shared.UI.Dialogs.DialogWindow.ShowDialog()
在 Microsoft.Flow.RPA.Desktop.Shared.UI.Dialogs.DialogService.ShowArbitraryContent(Window owner, Object content, String caption, Object titleTemplateKey, Object contentTemplateKey, DialogOptions options, Func`3 closingCallback, Uri dialogResourcesUri)
在 Microsoft.Flow.RPA.Desktop.Common.UI.TeachingGuideService.TeachingGuideStepsConfiguration.ShowDialog(Object content, String caption, Uri resources)
在 Microsoft.Flow.RPA.Desktop.Common.UI.TeachingGuideService.TeachingGuideService.ExecuteStep(GuideStep step)
在 Microsoft.Flow.RPA.Desktop.Common.UI.TeachingGuideService.TeachingGuideService.Start(String groupName)
在 Microsoft.Flow.RPA.Desktop.Designer.Host.MainViewModel.<InitializeAsync>d__187.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Microsoft.Flow.RPA.Desktop.Shared.Common.Extensions.TaskExtensions.<FireAndForget>d__0.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

  • ThomasFonn Profile Picture
    273 on at

    Ignore this post, I was totally off the mark. sorry yanhao

     

    Hi @yanhao 

     

     

    When reading the error text:


    Message = Width and height must be non-negative.


    My guess is that the action is using a relative position of some UI-element and now when you've reinstalled windows, that position is in a different spot.

    Could you try to find which Action/UI-element that fails, and try to reassign it?

    (Please note that if this works, you may have to reassign all of your UI-elements)

    If that doesn't work, could you provide a screenshot of the action that fails?

  • yanhao Profile Picture
    22 on at

    Thank you! But I can’t edit all those flows and creat flow!

    I can’t creat with matters of consequences.

  • Verified answer
    VJR Profile Picture
    7,635 on at

    Check if the solution that worked for two other members works in your case too.

    When creating a flow in desktop I get this message... - Power Platform Community (microsoft.com)

     

  • VJR Profile Picture
    7,635 on at
  • yanhao Profile Picture
    22 on at

    This method solved my problem. Thank you very much

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard