dll failed to register when installing PrimalScript 2021

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.
johanlorier
Posts: 2
Last visit: Mon May 17, 2021 7:13 am

dll failed to register when installing PrimalScript 2021

Post by johanlorier »

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: Primalscript 2021 8.0.149
Operating system: Windows10 20H2
PowerShell version(s): 5.1

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

When installing Primalscript 2021 I get error 'Product: PrimalScript 2021 -- Error 1904. Module C:\Program Files\SAPIEN Technologies, Inc\PrimalScript 2021\ADSIWizard.dll failed to register. HRESULT -2147024770. Contact your support personnel.'
Same error for other dlls:
HTMLWizard.dll
NetWizard.dll
PrimalHost64.dll
WMIWizard.dll
WSCWizard.dll
WSHWizard.dll

Primalscript does not start after installation finished.

User avatar
Alexander Riedel
Posts: 7714
Last visit: Fri Jul 23, 2021 9:06 am
Answers: 4
Been upvoted: 10 times

Re: dll failed to register when installing PrimalScript 2021

Post by Alexander Riedel »

The error indicates that a specified module was not found.
Please check that the files indicated where actually copied to your install folder.
If they are there, please check if the Visual Studio Runtime 2015 - 2019 was installed.
Our installer normally installs this runtime if it is missing, but the Microsoft runtime installer sometimes fails to recognize that the runtime is not present.
If you require assistance in how to detect this runtime, please let us know.
Alexander Riedel
SAPIEN Technologies, Inc.

johanlorier
Posts: 2
Last visit: Mon May 17, 2021 7:13 am

Re: dll failed to register when installing PrimalScript 2021

Post by johanlorier »

Installation of the Microsoft Visual C++ Redistributable for Visual Studio 2019 did the trick, now installation was successfull.