C# 2008 - TestStand2012 ActiveX control not registered error in Win7 64 bit OS

Hello all,
I hope someone can help with pointing me in the right direction.
I have a C# 2008 application working with TestStand2010 ActiveX control (on the form). It is originally created in WinXp, 32bit and it is working fine.
Now I try to move the program to another PC with TestStand2012 and Win7 64bit.
I've already successfully recompiled the solution with TS2012 on Win7 64bit OS and I set the configuration manager from "Any CPU" to "x86". But when I debugging or running the program, I always get an exception "Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))".
When I remove the TestStand ActiveX control on the form, the program works just fine. So I was wondering, if TestStand2012 is available for 64bit? I install TS2012 directly from the CD. Is there any other TS 2012 special package for 64 bit? or the version from the CD is for both 32bit and 64 bit?
If nothing wrong with the software, did I miss anything in the C# settings? Any suggestion is appreciated.
Thanks and have a nice day.
Solved!
Go to Solution.

0049 wrote:
Thanks.
I already did.
Is it working now then? It should work if you have the platform set to x86. There must be an issue with the way you set the platform. Look at the example C# UI project. It already does this. Maybe you are not running the right executeable. The exe is built to a different directory for each platform by default.
-Doug

Similar Messages

  • Class Not Registered : Error -2147221164

    Let's see if anyone can solve this one :
    I have a *.tlb file, and I'm using the "Automation Open" vi to open the file so that I can invoke methods on it.
    This vi is giving me the following error "Class Not Registered : Error -2147221164". This is only happening on one of my computers.
    Can anyone shed any light on this one?
    Thanks, Gene

    I am assuming from your response then that you have tried to use regtlib anyways. All I can find on the error says to register it again. Maybe try to un-register it and then re-register it. Here is a Knowledgebase that talks about the methods to register it.
    How Do I Manually Register Type Libraries, ActiveX Controls, and ActiveX Servers?
    One thing is to make sure you are logged in as an administrator. Also what version of LabVIEW and are you running this as a VI or an exe?

  • Excel Viewer: Class not registered (error -214722116​4)

    Hello,
    I am using the Excel examples shipped with Labview 8.21 to read from an Excel file and this works well. Now I need to do the same but on a PC that does not have Microsoft Office or Excel installed but only the free XLVIEWER (Microsoft Office Excel Viewer). When I try to change the ActiveX class of my reference to feed the 'Automation Open' vi I get the Class not registered (error -2147221164) although I can browse down to the XLVIEWER.exe and select it. Then I thought that maybe XLVIEWER had no ActiveX to communicate with other application; I thus installed a package called excelocx.exe, rebooted the PC but that did not change anything. I am still stuck with the same error.
    What am I doing wrong?
    Thanks a lot,
    Christophe

    Please find attached the VI I am using together with the XLS file that I try to read with Labview on a Pc that does not have MS Excel installed, only the XLVIEWER.
    OpenOffice is not supported in our company so cannot be considered as a valid solution.
    Thanks,
    Christophe
    Attachments:
    Read Excel File with Labview 820.zip ‏31 KB

  • Class Not Registered error upon using MS Office Report

    Hello,
    Using LabVIEW 2010, I've just installed the Microsoft RGT trial from NI, along with the Office 2010 trial from Microsoft. Upon trying to drag the MS Office Report VI to my block diagram, the configuration dialog appears but immediately an error dialog shows up over top, with a Class Not Registered error. Attached is the screenshot. If I close the error and try to configure the VI for a basic Excel report, I get a file-not-found error in reference to the Excel template, which I have verified is indeed at the target path and opens with my version of Excel just fine. Any ideas how to get past this error?
    Attachments:
    error.JPG ‏42 KB

    Hello,
    It sounds like you have to reinstall the RGT. Have a look at this documentation.
    http://digital.ni.com/public.nsf/allkb/B7F980D169474D568625760E0055D55E
    Eric
    Eric Liauw
    AE Specialist - Automated Test | CLD | CTD
    National Instruments

  • SSRS 2008 R2 Calendar Control not working and report not refreshing on pressing enter in Chrome.

    SSRS 2008 R2 Calendar Control not working and report not refreshing on pressing enter in Chrome.

    SSRS reports are always best viewed in IE and the report result what you see in IE always will not be same and consistent in thirdy party browswers.
    So consider using IE as workaround.
    Also please refer:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/2188de10-cff9-4e24-b14f-da5121f1c4a4/ssrs-calender-control-not-visible-in-chorme-on-server?forum=sqlreportingservices
    Workaround here:
    http://www.rajbandi.net/Fixing-SSRS-Report-Viewer-control-date-picker-in-Google-chrome/
    -Vaibhav Chaudhari

  • Library not registered error in Visual Studio 2013.

    Whenever I attempt to build a solution, build multiple projects, or even run a program (with debugging) in visual studio 2013, I receive the error below.
    "Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED))"
    I have attempted to fix this by repairing my Visual Studio installation, but without success. 
    I believe the issue to be with Visual Studio itself, though, because this happens with every solution I have tried it with.
    Any assistance in resolving this issue would be most appreciated.

    Hi ndowney,
    Based on your issue, could you please tell me if you install some other tools on your machine before you get the ""Library not registered" error?
    (1) If yes, please you disable or un-install these tools and then build solution/project check this issue again.
    (2)If no, to check if the issue is related to the VS IDE, please refer the following steps to check this error message.
    (2.1) I suggest you could try the following commands to check if it is helpful.
    a.  Run devenv /Safemode to see if you can apply it correctly. This can eliminate the possibility that third party Add-ins or packages are causing problems.
    b. Run devenv /Resetsettings to eliminate the cause of corrupted settings.
    c. Run devenv /ResetSkipPkgs in Command Prompt.
    If above still cannot work, try use this command again: devenv /resetsuerdata
    (2.2) If the above suggestion still could not help you, maybe you will need to re-install the VS2013 and then check this issue again.
    If you have any latest message about your issue, please tell me.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Getting Class not registered error when I run wmi queries

    Getting Class not registered error when I run win32 wmi queries. Eg:

    Specs: 
    Lenovo 3000 N100
    Windows Vista Home Premium
    Genuine Intel (R) CPU T2080 @ 1.73 GHz (2 CPUs)
    1014 MB RAM
    DirectX 10
    Intel(R) GMA 950 

  • ActiveX controls not downloaded when using Internet Explorer 10

    We have many legacy applications developed using ASP and VB(InterDev). Our organization is moving to use Internet Explorer 10 in the near future.
    We had a IE10 compatibility testing for our legacy applications and we observed that the applications using ActiveX controls are not working. Applications works perfectly fine with the older version of Internet Explorer.
    We looked for the various workarounds but we did not find any.
    Some application does nothing when we click on a button to generate the report but some applications throws the below error:
    <div id="x_x_imcontent"> <div style="font-size: 9pt; direction: ltr;">"ActiveX
    control failed to load! -- This control is required to use the Address Book and Attachment features.  Please check your browser security settings and/or contact PC Support to install the digitally signed control."</div>
    </div>
    We will be glad if we get any assistance on this issue.

    Hi,
    Please post your ActiveX feature testing scripts to the IE Web Developer forum.
    (f12>Debug tab, search for ActiveX.... you should be able to find code blocks where you are feature testing for your ActiveX controls eg var ourcontrol=new ActiveX('foobar');
    these code blocks will be the origin of the error messages that are injected into the page. (you can also search for where the "ActiveX control failed to load" string is in your code.)
    http://social.msdn.microsoft.com/Forums/ie/en-US/home?forum=iewebdevelopment
    IE10 has ActiveX filtering.... a blue circle with a line through it appears in the Address bar if any ActiveX content is blocked by Tools>ActiveX filtering.
    IE10 has Enhanced protected Mode turned on by default in the Internet and Restricted Zones. I assume that you are mapping your test domain to the Intranet zone (where EPM is turned off by default and x32 bit controls are used.... if not you should see information
    bars asking for permission to run the 32bit activeX controls)
    Ensure you are using the Default IE security settings, (and also that you have applied the new admx files to your GPO and GPEdit control panels....)
    Tools>Internet Options>Security tab, click "Reset all zones to default".
    Ensure your test environment maps to the Intranet Zone (File>Properties) and that Enhanced Protected Mode is turned off for that zone (Security tab of Internet Options)
    Ensure that your ActiveX controls are enabled (Tools>Manage Addons>Show all Addons) and that they have the correct permissions..... find them in the Addons manager and then click the item in the list to display their properties and permissions... at
    the bottom of the Addons Properties there is a textarea with "You have approved this addon to run in the follow websites"... you testing and production domains should be listed.
    For the best solutions/answers you should probably open a support ticket at support.microsoft.com so a support engineer can access your testing environment and do some tests.
    Regards.
    Rob^_^

  • CPIC-CALL Transaction program not registered Error while creating RFC Desti

    Hi All,
    I am trying to create a new RFC Destination.
    Details I have provided are..
    1.RFC Destination Name
    2.Connection Type - TCP/IP
    3.Description
    4. Activation Type - Registered Server Program.
    5.Program Id.
    6. Gateway Host and Gateway Service.
    But When I Test the connection, I am getting the following error.
    <b>" program xyz not registered / CPIC-CALL: 'ThSAPECMINIT'# Transaction program not registered"</b>
    However I was able to create and connect RFC Destinations successfully previously.
    I am not SAP guy. Could someone help resolve this issue.
    Thanks,
    Phani

    hi Sekhar,
    I request you to please help me out in this issue. I am getting similar kind of problem. I am trying to replicate the customer from CRM to R/3 and i get a bdoc message in SMW01 that "RFC connection failed please press the save button again". When the basis team further investigated they came up with the below error..
    User: CRREMOTE (Client: 071)
    Destination: OCR (handle: 1, , )
    Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1462
    CPIC-CALL: 'ThSAPECMINIT'
    Transaction program not registered
    DEST =OCR
    HOST =%%RFCSERVER%%
    PROG =dpssrfc
    Trace file opened at 20061121 140451 EST SAP-REL 640,0,109 RFC-VER
    3 804778
    resize I/O buffer to 28000 bytes
    >>>> [2] MQ_LINK      : TCP  <ac: 3> K %%RFCSERVER%% >>> OPEN
      {45632F14-288E-0046-0000-0000A888A7AA}-
    ======> CPIC-CALL: 'ThSAPECMINIT'
    can you please tell me where can be probelm. Regarding your message, where can i get the communication channel to assign the program id.
    Awaiting your reply,
    Thanks & Regards,
    Yogesh

  • Office 2013 ActiveX Controls not working

    Hello,
    We have two users that are not able to interact with any ActiveX controls in a Word document. When they try to  put a check mark in a check box, the whole object gets surrounded by a box like it does when you have it in design mode. Design mode is not
    enables and double clicking the object does not bring up Visual Basic. This occurs no matter who is logged into the PC.
    I have deleted all files that end in .exd and even ran the MS Fix it tool that does the same. I ran the Office repair tool, both quick and online, and even uninstalled office and re-installed it. None of this
    has fixed the issue. Any help would be greatly appreciated.

    Hi,
    Try deleting one of the checkboxes and place a new one see if it will work then. Or do set the form in design mode, save the document, open it again and place it back in form mode then try again. Do you have code behind the document?
    Maurice
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer. Thank You

  • Getting a "Class not registered" error in VC++

    I'm after a bit of advice concerning a system that I'm
    supporting. The system is an Oracle 7.3.4 DB with Oracle
    Objects for Ole v2.2, and the Microsoft ODBC driver for Oracle,
    with the application consisting of a VB(ODBC) frontend and a
    VC++ DLL(OO4O) backend.
    The client has reported that one of the sites the software is
    installed at is generating the error "Specified Class not
    registered in Registry". I've narrowed this down to an OO4O
    call in the VC++ DLL, which does a simple select statement, it
    seems to be able to make the database connection and then
    crashes, however I've been unable to duplicate it in the
    development environment.
    No other sites have reported this problem, so I'm assuming that
    the OO40 installation has become corrupted. Has anyone else
    experienced similar problems and can offer advice or solutions
    to getting it working, and how I can reproduce the problem in
    the development environment.
    Thanks
    Andrew

    Andrew,
    May be the name 'Oracle Objects' does not clearly reflect it
    being the forum for Oracle's Object-Relational Technology. There
    is a separate forum for OO4O (Oracle Objects for OLE).
    Regards,
    Geoff
    Just to let everyone know, I've managed to duplicate the problem
    on a development PC and come up with a fix, which I modified
    from a similar fix I found for Oracle 8i. The fix is to
    reregister OIP22.dll which is the inprocess server for Oracle
    Objects, and to run Oo4oParm.reg and Oraipsrv.reg which restore
    any missing entries in the registry. I've sent the client the
    steps to follow, and hopefully this should cure the PC.
    Andrew

  • Class Not Registered error when opening COM+ Applications folder

    Hi,
    This question was originally posted in the Microsoft Community / Win 7 forum, but I was asked to post it here.
    As you can see below, I'm getting Error Code 80040154 - Class Not Registered when clicking on COM+ in Component services.
    ...picture 1 coming / Account verification
    I took a look at the event logs but couldn't glean much information from them.
    I also have issues associated with MSInstallVSSProvider when Uninstalling / Installing Norton Ghost 15. Not sure if they are related or not.
    Below are the errors I get when Installing Norton Ghost 15. This app had been loaded on the PC earlier with no problems whatsoever. A few months later when launching the app, I got several error messages. Couldn't resolve them so I thought I would uninstall
    / reinstall. That's when I started seeing the MSInstall errors, which lead me to the Component Services area.
    ...picture 2 coming
    ...picture 3 coming
    ...picture 3 coming
    I suspect a registry cleaner (GlarySoft) is the culprit here. My mistake was not backing up the registry before running the scan. This won't happen again.
    Thanks,
    Tracy

    Hi,
    In the event error, can you read what {GUID} encounters the error message? Please also let us know the full error message.
    Based on my search, this issue can be caused by the incorrect registry permission settings.
    Please launch Registry Editor and navigate to HKEY_CLASSES_ROOT\CLSID\{GUID} to verify the permission settings.
    If it does not work, you may run Process Monitor to check what process encounters this error.
    Process Monitor v3.05
    http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx
    Here is the related blog for your reference:
    How to troubleshoot the “Red Arrow” issue in Component Services ( I )
    http://blogs.msdn.com/b/asiatech/archive/2010/02/22/how-to-troubleshoot-the-red-arrow-issue-in-component-services.aspx
    Kate Li
    TechNet Community Support

  • AxInterop.AcroPDFLib.dll throws "Class not registered" error on 64 bit OS

    I have an vb.net application which uses AxInterop.AcroPDFLib.dll to open PDF files. The application works fine on a 32 bit operating system. But when the same application is accessed from a 64 bit Operatiog system, it throws error "Class not Registered".
    Am i supposed to use different version of AcroPDFLib.dll for 64 bit OS.
    I have Acrobat reader 9.1 installed on 64 bit OS machine. Is there any newer version of SDK/dll which will fix ths problem.
    Please let me know solution for this problem.
    Thanks in advance.

    I am pretty sure if you compile your client application as x86 itwill work fine....you are probably compiling it with the configuration set to AnyCPU. The application loads up as 64bit or 32bit depending on the OS when set to AnyCPU. You want to force it to load as 32bit by compiling as x86. That way the app runs under WOW and loads the AcroPDFLib correctly.
    Hope this helps

  • Class not registered error

    Hello ,
    I am getting an error for Class not registered. I registered this dll on the machine again. However now i get an error msg. saying unknown system error with some weired numbers like -2146828235. I looked at some of the previous threads. I did clean up the duplicate copies. but i dont know why it keeps giving me this error.
    Also to be noted a thing is that I did not get this  error previously, whenever I did get one, i tried to select the class again from the LV and it worked.
    Any suggestions on this one will be much appreciated.

    It sounds to me after you registered, it wasn't saved.  The error could comes from the DLL.
    ------- LabVIEW 2009, So Easy, Even a Therapist Can Do It -------

  • Class not registered error, when open HTML files.

    Hi guys, recently I've been facing this problem, everytime that I try to open a HTML file it shows the error message "class not registered", I've tried reinstalling and yet no luck, this only happens with firefox because I also have IE 10 and it works with that one but you know, I love firefox so I want to open them with it.
    Additional Info:
    I'm using firefox 20.0.1 on Windows 8

    Try to redo the default browser setting and temporarily set another browser like IE as the default browser.
    *https://support.mozilla.org/kb/How+to+make+Firefox+the+default+browser
    *https://support.mozilla.org/kb/Setting+Firefox+as+the+default+browser+does+not+work

Maybe you are looking for