5046 - Error in script file <ScriptFile>

This error is generated by scripting host when script specified in $WBRun function contains the error. WBSP provides detailed error report and processed script code saved in temporary file.