Unable to run form with error: "I/O operation has been aborted"

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 5 years and 2 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
zgf-techpurchasing
Posts: 4
Last visit: Thu Apr 06, 2023 9:46 am

Unable to run form with error: "I/O operation has been aborted"

Post by zgf-techpurchasing »

Hi, I am working on a .psf form in Powershell Studio and am now no longer able to run the form. In the output pane, I get the error,

"Cannot instantiate PowerShell V5 object: 80040154>> Script Ended
The I/O operation has been aborted because of either a thread exit or an application request"

Product: PowerShell Studio 2019 (64 Bit)
Build: v5.6.156
OS: Windows 10 Enterprise (64 Bit) 1809
Build: v10.0.17763.0

A couple days ago, this was running fine. There was a recent product update to PrimalScript, which I also have installed, but no updates to PSS I'm aware of. I did not knowingly make any configuration changes to the product, only script/form edits as I've been working.

When I try to run the form, I get the error above, but a "xxx.Run.ps1" does get created. I can right-click this and execute in Powershell and it runs fine. I can also open the "xxx.Run.ps1" file in PrimalScript and run it successfully from there as well. So the script itself appears to be okay.

Thanks for your assistance
User avatar
Alexander Riedel
Posts: 8478
Last visit: Tue Mar 26, 2024 8:52 am
Answers: 19
Been upvoted: 37 times

Re: Unable to run form with error: "I/O operation has been aborted"

Post by Alexander Riedel »

Please try to uninstall and re-install PowerShell Studio. That should re-register the COM objects missing.
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
zgf-techpurchasing
Posts: 4
Last visit: Thu Apr 06, 2023 9:46 am

Re: Unable to run form with error: "I/O operation has been aborted"

Post by zgf-techpurchasing »

Yep, that did the trick. I wouldn't have expected bits to go missing, but maybe something happened with the PrimalScript install?

Thanks a lot for your help, I'm all set!
This topic is 5 years and 2 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.