[ACP-1685]  Interrupting Script raises new error 0x80070715 - New with Windows 10 Update
Type Bug
Priority High
Severity Show Stopper
Component Main Program
Fixed In Version [8.2.18.2.1
Versions Affected [8.28.2
Severity Closed
Resolution Complete
Reported By Bob Denny
Resources Bob Denny
Start Date 3/20/2019

Description
See this Comm Center thread by multiple people. Starting with a mid-March Windows 10 Update, and only on Windows 10, any script that is interrupted erroneously reports an error

0x80070715 from ThinScript.ActiveScript:
The specified resource type cannot be found in the image file..

The script completes normally, however on exit from the script engine, this error is found in the ErrorInfo, and is (properly) caught and shown by ACP. THis can cause various issues and is ugly.

Comments
5/13/2019 3:01:00 PM   Bob Denny
Looks good, no more reports. Closed.
3/25/2019 6:13:53 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/acp
SVN Revision 1196
Affected files /trunk/ACP.vbp (Modified)
Check-in comment Damn had not saved the VBP for the 8.2.8 version and description as Hot Fix 1.1 GEM:1685
3/25/2019 6:12:14 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/acp
SVN Revision 1195
Affected files /trunk/HotFixes/8.2HF1/Readme82HF.txt (Modified)
/trunk/main.frm (Modified)
Check-in comment Catch the 0x80070715 no matter what. It also appears for uncaught run time errors in VBS. GEM:1685
3/25/2019 6:10:03 PM   Bob Denny
VBS uncaught run time errors also trigger the new exception. Remove the condition that it should be caught only for interrupted scripts. Now no matter why a script fails, this exception is caught if it appears. Issued a second hot fix exe 8.2.9.
3/25/2019 5:49:55 PM   Bob Denny
FAILURE

This code is also received on a VBScript run time error, not just a script abort. 
3/21/2019 8:59:51 PM   Bob Denny
Hot Fix released for testing and hopefully fixing. See this Comm Center post for the hot fix release.
3/21/2019 8:33:01 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/acp
SVN Revision 1193
Affected files /trunk/HotFixes/8.2HF1/8.2HF1.iss (Modified)
Check-in comment OOPS! I needed to check that this hot fix can be applied ONLY to ACP 8.2. GEM:1685
3/21/2019 7:43:32 PM   Bob Denny
This error is treated as another error code from an interrupted script, and handled the same as the older one 0x8007013D. This had to be handled in the script console as well as the ASP engine.
3/21/2019 7:37:15 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/acp
SVN Revision 1192
Affected files /trunk/ACP.vbp (Modified)
/trunk/ASPEngine.cls (Modified)
/trunk/HotFixes/8.2HF1 (Added)
/trunk/HotFixes/8.2HF1/8.2HF1.iss (Added)
/trunk/HotFixes/8.2HF1/Readme82HF.txt (Added)
/trunk/main.frm (Modified)
Check-in comment Handle new error code coming from Windows Script Engine when a script is interrupted. #12228 on the Comm Center. NOTE this commit includes a Hot Fix installer that just replaces acp.exe. GEM:1685
3/21/2019 4:50:22 PM   Bob Denny
Confirmed that this is KB4489899 (or KB4490481 if on Windows Insider). Jeff Morganthaler reports installing 4482887 breaks it as well. I found in the info for 4489899 that it is a cumulative update that includes specifically 4482887. Microsoft calls it a security fix.
3/21/2019 1:55:56 PM   Bob Denny
I am looking right at the area where this is happening, Now for more research and to determine, by elimination, which Windows 10 Update causes this. I'm pretty sure I can cover it up harmlessly, but  I need to tread very carefully here. It's complex and I haven't been in here for so many years.