Object reference not set instance of object

when I assign this value in system name I am getting value in this and when I am executing this query in sql getting value but in uipath object reference not set instance of object error

Is dtQuery is assigned??
I guess dtQuery is uninitialised.
Please check.

resolved thanks this is due database connection issue

1 Like