DIXF error when export data in batch

i received this error when i export data with DIXF “The data source is not embedded within a (parent) data source.”

this error is related with queryrun.next but i have data in queryrun i don’t understand the problem

any one can help please