From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
02-26-2021 07:49 AM
Hello all,
i am trying to interact from c# wpf with the TestStand engine.
when i run the line:
m_Engine = new Engine();// lets get an new Engine Object
i get this error:
Retrieving the COM class factory for component with CLSID {B2794EF6-C0B6-11D0-939C-
i have TestStand 2019 32bit on Windows7 64bit.
so am i trying to register the wrong thing?
please advise
Thanks in advance
Lior Meister
Solved! Go to Solution.
02-26-2021 10:38 AM - edited 02-26-2021 10:40 AM
Is your application's platform set to 32-bit (x86) ? If you don't install 64-bit TestStand, then you probably need to do that.
02-26-2021 03:22 PM
Thank you for ypur answer.
Yes. My c# (.net) application is set to x86 (32 bit).
Should i install TestStand in its 64bit vesion?
Regards
Lior Meister
02-26-2021 05:02 PM
You could try that, but it seems like a long shot since your app didn't work as 32-bit.
Do the example C# user interfaces from your 32-bit install launch ok? If not, you should reinstall TestStand. If so, then there is something different about your app.
02-28-2021 05:41 AM
hi,
i fixed both the solution and projects to be x86 and now it works fine!
thank you very much
Lior Meister
10-03-2023 04:00 AM
even i am getting the same error in WINDOWS FORMS Application
tried so many alternatives
but still getting the same error
10-06-2023 02:38 AM
What version of Teststand and Visual Studio did you use?
Usually, for Teststand2017, 2019, 2020, 2021, 2022, I suggest that you can try to use Visual Studio 2017 to open the demo and choose the correct architecture version (x86 or x64), which will ensure that you can open it correctly and compile without any errors.