Describe the bug
Within XrmToolBox, when running a query which does not return data, an Operation is not valid due to the current state of the object Error is returned.
To Reproduce
The following query demonstrates the issue.
insert into account (name) values ('Test Account')
Expected behavior
Query should execute with no error.
Screenshots

Environment (please complete the following information):
- XrmToolbox version 1.2025.10.74
- Results of
SELECT @@VERSION:
Microsoft Dataverse - 9.2.26051.148
SQL 4 CDS - 10.4.0.0
May 27 2026 09:37:25
Copyright © 2020 - 2025 Mark Carrington
Describe the bug
Within XrmToolBox, when running a query which does not return data, an
Operation is not valid due to the current state of the objectError is returned.To Reproduce
The following query demonstrates the issue.
Expected behavior
Query should execute with no error.
Screenshots

Environment (please complete the following information):
SELECT @@VERSION: