Difference between revisions of "Studio:Why is my script terminating unexpectedly?"

From STRIDE Wiki
Jump to: navigation, search
Line 4: Line 4:
  
  
[[Category:KB]]
+
[[Category:Scripting]]
 
[[Category:Troubleshooting]]
 
[[Category:Troubleshooting]]

Revision as of 12:51, 11 December 2007

There may be a data type mismatch. Verify that all data types in pragma statements in the script are spelled correctly. For more information on pragmas, refer to the STRIDE Online Help's SCL Pragmas section. Also make sure that error checking is enabled. Using Perl add the following at the beginning of your scripts:
use strict;
Win32::OLE->Option(Warn => 3);