"Script could not be recompiled or run: Attempted to read or write protected memory. This is often an indication that other memory is corrupt"
OR
“Error 1 Validation error. Script Task : The task is configured to pre-compile the script, but binary code is not found. Please visit the IDE in Script Task Editor by clicking Design Script button to cause binary code to be generated.”
Answer:
- Check the pre-complied property of script task.
- Change it to TRUE
- Add the following code in your script, before imports statement.
Option Strict Off
Option Explicit OnImports System
.
.
No comments:
Post a Comment