BUG: Update-Help Error PS2014

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 10 years and 1 week 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
durantjw
Posts: 9
Last visit: Tue Sep 22, 2015 10:29 am

BUG: Update-Help Error PS2014

Post by durantjw »

WHen clicking update-help in the toobar, the follwoign error occurs:

>> Run Update Help...
Cannot instantiate PowerShell object>> Script Ended
The I/O operation has been aborted because of either a thread exit or an application request

Thanks,

Jon
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: BUG: Update-Help Error PS2014

Post by davidc »

What OS do you have installed?
And what version of PowerShell do you have installed?

David
David
SAPIEN Technologies, Inc.
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: BUG: Update-Help Error PS2014

Post by davidc »

Please try the latest build.

David
David
SAPIEN Technologies, Inc.
User avatar
durantjw
Posts: 9
Last visit: Tue Sep 22, 2015 10:29 am

Re: BUG: Update-Help Error PS2014

Post by durantjw »

Just updated to the newest version as suggested. Still recieve the same error in the output tab.

I tried this on 2 Machines, just ot be sure:

My Main Physical machine:
OS: Windows 8.1
PoSH: 4.0

A virtual Machine:
OS: Winodws 8.1
PoSH: 4.0
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: BUG: Update-Help Error PS2014

Post by davidc »

Are you able to run any scripts using the same platform selection as when you press the Update-Help button?

David
David
SAPIEN Technologies, Inc.
User avatar
PGomersall
Posts: 131
Last visit: Thu Feb 15, 2024 12:14 pm

Re: BUG: Update-Help Error PS2014

Post by PGomersall »

Using latest version with W8.1 x64 and PSS2014 x64 I get same error.
Pete
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: BUG: Update-Help Error PS2014

Post by davidc »

Please run the RegisterControls.exe located in the same folder as PowerShell Studio.

Check all the options and hit OK.

Then try to run a script.

David
David
SAPIEN Technologies, Inc.
User avatar
PGomersall
Posts: 131
Last visit: Thu Feb 15, 2024 12:14 pm

Re: BUG: Update-Help Error PS2014

Post by PGomersall »

Used the registercontrols executable.
So with a test script with only update-help. Running it prompts for elevation but the output is:
>> Running (Test-Script.ps1) Script...
>> Platform: V4 64Bit (STA) (Elevated)
Cannot instantiate PowerShell object>> Script Ended
The I/O operation has been aborted because of either a thread exit or an application request.
If I test with:
Import-Module Storage
Get-Disk
Running prompts for elevation but the output is again the exact same.
If I run same script with PSS2014 already elevated then the script executes as intended and returns disk info.
However the Update-Help button still doesn't work.
Pete



Pete
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: BUG: Update-Help Error PS2014

Post by davidc »

This may be a permissions issue then.

Do you have UAC set at a higher value then the default or have any additional restrictions set on your machine or user?

David
David
SAPIEN Technologies, Inc.
User avatar
PGomersall
Posts: 131
Last visit: Thu Feb 15, 2024 12:14 pm

Re: BUG: Update-Help Error PS2014

Post by PGomersall »

No David everything is as it should be permission side on this machine. The only problem is with PSS14 not working as designed.
Pete
This topic is 10 years and 1 week 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.