Distributed transaction is not supported while running SQL Server internal query. Check your logon trigger definition and ...