"X" ist ungültig für "System.Windows.Automation.AutomationPeer". Es wird erwartet, dass er mit einem Fenster verknüpft ist, dass der Automatisierung bekannt ist.
Click to search this error in Google
English version
'X' is not a valid System.Windows.Automation.AutomationPeer. It is expected to be associated with a Window known to Automation.