PS 2022 Installation Error - SAPIENConsole.dll failed to register

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 1 year and 6 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.
stargazer65
Posts: 2
Last visit: Wed Jan 17, 2024 9:45 am

PS 2022 Installation Error - SAPIENConsole.dll failed to register

Post by stargazer65 »

To help you better we need some information from you.

*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***

Product, version and build: PowerShell Studio 2022. 5.8.210_090722 x64
Operating system: Windows 11 (10.0.22000) Parallels Virtual Machine on macOS Monterey 12.5
PowerShell version(s): 5.1.2200.832

*** Please add details and screenshots as needed below. ***

DO NOT POST LICENSES, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM

I just downloaded the latest PowerShell Studio 2022 installation file and received an error during install "SAPIENConsole.dll failed to register". See attached screenshot.
SapienConsole.dll Failed to Register Error.png
SapienConsole.dll Failed to Register Error.png (114 KiB) Viewed 1064 times
I searched the forums but did not see anything related to this error.
I've also tried to manually register the dll using RegSvr32.exe and get a different error.
RegSvr32 Error.png
RegSvr32 Error.png (38.24 KiB) Viewed 1045 times
Rerunning under a command prompt as an Administrator resolved the registration issue. However, why didn't this work during the installation?
User avatar
brittneyr
Site Admin
Posts: 1655
Last visit: Thu Mar 28, 2024 1:00 pm
Answers: 39
Been upvoted: 30 times

Re: PS 2022 Installation Error - SAPIENConsole.dll failed to register

Post by brittneyr »

Are you able to install the previous build (5.8.209) without any issues?
Brittney
SAPIEN Technologies, Inc.
stargazer65
Posts: 2
Last visit: Wed Jan 17, 2024 9:45 am

Re: PS 2022 Installation Error - SAPIENConsole.dll failed to register

Post by stargazer65 »

I've tested each installation file from version 5.8.200 - 5.8.210 and I get the same error.
Although I am prompted for user escalation and also explicitly run as administrator, I still get the error.
User avatar
Alexander Riedel
Posts: 8479
Last visit: Thu Mar 28, 2024 9:29 am
Answers: 19
Been upvoted: 37 times

Re: PS 2022 Installation Error - SAPIENConsole.dll failed to register

Post by Alexander Riedel »

0x80070005 is an access denied error. Since you are on a VM on a Mac, it might just be Windows defender checking the file too slow.
As Parallels is not a supported platform, we are not testing this in particular.
If you can register the dll after the fact, you should be fine.
Alexander Riedel
SAPIEN Technologies, Inc.
This topic is 1 year and 6 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.