PowerShell Studio 2022 Issue

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.
waqas-khan
Posts: 2
Last visit: Wed Jun 08, 2022 12:34 pm

PowerShell Studio 2022 Issue

Post by waqas-khan »

I am a newbie to Sapien DevOps Subscription/Products Suite :? . I am getting following error messages in the Output when loading my current project. Could you please advice on how to fix this issue.

Could not load file or assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
Could not load file or assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
Could not load file or assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
Could not load file or assembly 'System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Could not load file or assembly 'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
Could not load file or assembly 'System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Could not load file or assembly 'System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Could not load file or assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
Could not load file or assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
Could not load file or assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
Could not load file or assembly 'System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Could not load file or assembly 'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
Could not load file or assembly 'System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Could not load file or assembly 'System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

My PowerShell Studio information:

Product: PowerShell Studio 2022 (64 Bit)
Build: v5.8.206
OS: Windows 10 Enterprise (64 Bit)
Build: v10.0.19043.0
User avatar
brittneyr
Site Admin
Posts: 1165
Last visit: Thu Aug 11, 2022 8:10 am
Answers: 25
Been upvoted: 20 times

Re: PowerShell Studio 2022 Issue

Post by brittneyr »

Your project is unable to find the referenced assemblies. It looks like older versions of the .NET Framework. Updating them may help with this issue. How are you referencing them?

Also, private messaging is not the best way to contact us nor will it get you a response faster.
Brittney
SAPIEN Technologies, Inc.
waqas-khan
Posts: 2
Last visit: Wed Jun 08, 2022 12:34 pm

Re: PowerShell Studio 2022 Issue

Post by waqas-khan »

Thank you for your prompt response and support. Sorry I am a newbie to Sapien DevOps Subscription/Products Suite, didn't know that I have to post in a forum to get product help.

Should I update .Net Framework on the local machine as I recently moved to the new machine and started getting this error.
User avatar
brittneyr
Site Admin
Posts: 1165
Last visit: Thu Aug 11, 2022 8:10 am
Answers: 25
Been upvoted: 20 times

Re: PowerShell Studio 2022 Issue

Post by brittneyr »

You need to update the references to those assemblies or install an older version of the .NET Framework.
Brittney
SAPIEN Technologies, Inc.