Hola,
Estoy experimentando un fallo crítico con la aplicación de automatización. Al intentar iniciarla o ejecutar un flujo, se cierra inmediatamente lanzando una excepción de tipo System.Runtime.InteropServices.COMException (0x80263001).
El error indica que la composición de escritorio está deshabilitada al intentar ejecutar DwmExtendFrameIntoClientArea mediante WindowChromeWorker._ExtendGlassFrame().
Log completo del error: Mensaje = {La composición de escritorio está deshabilitada} No se puede completar la operación porque la composición de escritorio está deshabilitada. (0x80263001)
Error = System.Runtime.InteropServices.COMException
Texto completo = System.Runtime.InteropServices.COMException (0x80263001): {La composición de escritorio está deshabilitada} No se puede completar la operación porque la composición de escritorio está deshabilitada. (0x80263001)
at Standard.NativeMethods.DwmExtendFrameIntoClientArea(IntPtr hwnd, MARGINS& pMarInset)
at System.Windows.Shell.WindowChromeWorker._ExtendGlassFrame()
at System.Windows.Shell.WindowChromeWorker._UpdateFrameState(Boolean force)
at System.Windows.Freezable.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
at Microsoft.Flow.RPA.Desktop.Shared.UI.Controls.WinAutomationWindow.WinAutomationWindow.SystemParameters_StaticPropertyChanged(Object sender, PropertyChangedEventArgs e)
at System.Windows.SystemParameters.OnPropertiesChanged(String[] propertyNames)
at System.Windows.SystemParameters.InvalidateProperty(Int32 slot, String name)
at System.Windows.SystemResources.SystemThemeFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
He verificado que los efectos visuales de Windows y la composición de escritorio están activados en
sysdm.cpl.No estoy en una sesión remota (RDP) que limite los gráficos.
He realizado una instalación limpia de los drivers gráficos utilizando DDU (Display Driver Uninstaller).
He ejecutado las herramientas de reparación del sistema
sfc /scannowyDISM /RestoreHealth(ambas finalizaron correctamente sin errores pendientes).Intentar desactivar la aceleración por hardware en el registro (
DisableHWAccelerationen Avalon.Graphics) provoca una inestabilidad general en mi entorno gráfico.El error persiste incluso tras crear un perfil de usuario local de Windows completamente nuevo y limpio.
El Administrador de Ventanas de Escritorio (DWM) funciona bien en el resto del sistema y videojuegos, el conflicto ocurre exclusivamente cuando la app intenta renderizar los bordes de su ventana flotante de automatización.
¿Existe algún parámetro de configuración interna (config file) o directiva para forzar a la aplicación a omitir los efectos de transparencia de DWM sin romper el renderizado general del sistema?
Muchas gracias.

Report
All responses (
Answers (