PowerShell runtime error

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 17 years and 5 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
TomL
Posts: 32
Last visit: Thu Sep 12, 2013 5:52 am

PowerShell runtime error

Post by TomL »

I have just installed v4.1 and I am getting an error when opening/running PowerShell scripts. PowerShell v1.0 was installed prior to the v4.1 install.

the error is as follows:

Microsoft Visual C++ runtime Library
Runtime Error!
Program: C:Prog...
This application has requested the Runtime to treminate it in an unusual way.
Please contact the application's support team for more information.

any suggestions?
User avatar
Alexander Riedel
Posts: 8489
Last visit: Thu Apr 18, 2024 9:59 am
Answers: 20
Been upvoted: 37 times

PowerShell runtime error

Post by Alexander Riedel »

Is this powershell RC2 or Powershell RTM?

Alex
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
TomL
Posts: 32
Last visit: Thu Sep 12, 2013 5:52 am

PowerShell runtime error

Post by TomL »

I not sure. the version for the exe is 1.0.9567.1
User avatar
Alexander Riedel
Posts: 8489
Last visit: Thu Apr 18, 2024 9:59 am
Answers: 20
Been upvoted: 37 times

PowerShell runtime error

Post by Alexander Riedel »

We will check on it. The version I have here (RC2) is 6.0.5429.0
Maybe you should install the latest PowerShell drop from the MS site.

In the meantime, go to Tools - Options - Text Editor - PrimalSense
and set "Connect to Windows PowerShell" to "Never".
Press OK.

Restart PrimalScript. You should be able to open PowerShell file now.

Alex
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
TomL
Posts: 32
Last visit: Thu Sep 12, 2013 5:52 am

PowerShell runtime error

Post by TomL »

Thanks. It is now working with the recent PowerShell.
Version installed is 6.0.5430.0
This topic is 17 years and 5 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.