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.
User avatar
TomL
Posts: 32
Joined: Wed Nov 15, 2006 12:26 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: 7458
Joined: Tue May 29, 2007 4:43 pm

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
Joined: Wed Nov 15, 2006 12:26 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: 7458
Joined: Tue May 29, 2007 4:43 pm

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
Joined: Wed Nov 15, 2006 12:26 am

PowerShell runtime error

Post by TomL »

Thanks. It is now working with the recent PowerShell.
Version installed is 6.0.5430.0