EcoStruxure Geo SCADA Expert Forum
Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-10-03 03:03 PM
Hi,
I am using App.LogOnUser to automatically logon viewx using a script on a mimic. The approach works fine with ClearSCADA 2017 R3 under Windows 7 Professional.
Now, I have to upgrade the OS to Windows 10 Pro, the same function call App.LogOnUser runs into error
"Class not registered".
Any suggestions ?
Thanks,
Richard
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-10-08 06:37 PM
Thanks everyone for support.
I found a Windows 10 Pro 2019 edition. Likely, it works.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-10-04 03:51 AM
"Class not registered" is a COM error from Windows and scripting is built on COM.
I would suggest repairing the ClearSCADA installation from "Programs and Features" in the Windows Control Panel. It sounds like the Windows upgrade has 'interfered' with the registration of some COM component (which are stored in the Windows registry).
NB. ClearSCADA 2017 R3 went out of support almost 3 years ago.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-10-04 04:46 AM
Thanks Andrew.
I have tried re-install numerous times with different versions of windows 10 pro and two different versions of 2017 R3 (2019 and the last revision).
They all had the same problem.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-10-04 06:29 AM
I had assumed you had just done an in-place upgrade to Windows 10. Its very strange you're seeing this across all of those versions and re-installs. The error points to an installation issue as something is missing from the Windows registry.
The error message doesn't make it clear which class is not registered, but logically it would be the ViewX Object Library which provides the "App" object (amongst others).
You could check that the following registry keys are present (including sub-keys). These should be created by the ClearSCADA installer.
"Serck Controls ViewX Object Library" type library:
HKEY_CLASSES_ROOT\WOW6432Node\TypeLib\{EEAD1000-0777-11D2-AF05-0000E82E7A14}
"IViewXScriptApp" interface:
HKEY_CLASSES_ROOT\WOW6432Node\Interface\{59C98D2C-7F90-482F-A915-290383B68715}
You may be better off raising a support ticked with Schneider as this doesn't look like a straightforward issue.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-10-08 06:37 PM
Thanks everyone for support.
I found a Windows 10 Pro 2019 edition. Likely, it works.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.