User adds a SQL script file in Automation model and tests the automation. SQL file does run and log file shows the following error:
"Script_1.log: Object reference not set to an instance of an object.
Script_1.log: at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
at Quest.Toad.Util.Global.Invoke(Delegate handler, Object[] args)"
Script file holds a Select statement that runs OK via Editor or Query Builder.
The path holding file contains a subfolder with the name "updates" as such:
C:\Program Files\Updates..."
Workaround 1:
Rename subfolder to remove the word "updates" or change path of file
Workaround 2:
Download and install "Toad for Data Analysts 3.0 Base Installer" via:
https://support.quest.com/Search/SearchDownloads.aspx?ActiveTab=1
© 2025 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center