Windows 10 Update 1703 for Windows 10 Enterprise made UI Automation unstable.

  • Thread starter Thread starter Treexters
  • Start date Start date
T

Treexters

Guest
Hi, after update 1703 for Windows 10 Enterprise UI Automation becomes unstable due to COM responses.

Simple calls to find objects are now throwing this:

System.Runtime.InteropServices.COMException (0x80131505): Operation timed out. (Exception from HRESULT: 0x80131505)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at MS.Internal.Automation.UiaCoreApi.CheckError(Int32 hr)
at MS.Internal.Automation.UiaCoreApi.UiaFind(SafeNodeHandle hnode, UiaFindParams findParams, Condition findCondition, UiaCacheRequest request)
at System.Windows.Automation.AutomationElement.Find(TreeScope scope, Condition condition, UiaCacheRequest request, Boolean findFirst, BackgroundWorker worker)
at System.Windows.Automation.AutomationElement.FindFirst(TreeScope scope, Condition condition)


And sometimes this:

System.Runtime.InteropServices.COMException : Checking whether server is LowBox
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
at MS.Internal.Automation.UiaCoreApi.CheckError(Int32 hr)
at MS.Internal.Automation.UiaCoreApi.UiaFind(SafeNodeHandle hnode, UiaFindParams findParams, Condition findCondition, UiaCacheRequest request)
at System.Windows.Automation.AutomationElement.Find(TreeScope scope, Condition condition, UiaCacheRequest request, Boolean findFirst, BackgroundWorker worker)
at System.Windows.Automation.AutomationElement.FindFirst(TreeScope scope, Condition condition)



We used our automation based on UIA for years till now, and now it becomes unstable and we cannot do anything about it.

It happens occasionally.

More...
 
Back
Top