ActiveX Automation Server Error -18351

I wrote a program using TestStand Version 4.5.1 and ran into this error code as soon as I initialize it.
Error loading type library/DLL.
Error Code: -18351; An error occurred reading an ActiveX Automation server type libarary Step 'Read Database Otion - Construct' of sequence 'Get Database Options' in 'SequentialModel.seq'
Bottom line, I'm not using or planning to use any form of database with my program. I just want it to run.
There was another document with ID 4IE7CCM6 that addressed this issue. Tried it, didn't help. I also went to the related links referring to the Knowledgebase document with ID 1HBAMMSR, didn't help either.
How do I fix this?
Attachments:
errors_activeX.docx ‏200 KB
errors_activeX.docx ‏200 KB

Whether you are using database logging or not, you should not get an error like that when database options are loaded. From the kb's you specified it sounds like there was an issue with a COM/ActiveX server not getting registered in the past. Especially on machines in which TestStand was installed from a deployment rather than the main installer. Have you tried running the version switcher like the KB suggested? Did it succeed or give an error? If it gave an error what was the error? Could you perhaps try a fresh install of TestStand on a clean machine?
-Doug

Similar Messages

  • ActiveX Automation server error on deployed TestStand

    I'm trying to deploy TestSTand 2.0 + LabVIEW 6.1 on a PC under Win-2K.
    I created and deployed TS Engine and Operator Interface for LV.
    I try to deploy the "Auto.seq" test from the TS exemples.
    Of course, it works on my Development system.
    On the deployed system, I got an error : -18351; An error occurred reading an ActiveX Automation server type library.
    Step 'Read Database Option - Construct' of sequence 'Get Database Options' in 'SequentialModel.seq'
    Step 'Read Database Option - Read Options' of sequence 'Get Database Options' in 'SequentialModel.seq'
    After having ignored those 2 errors, the tests goes on normally and the report looks fine.
    I also get this error opening the database configuration:
    Step 'Read Database Option - Construct' of sequence 'Edit Database Options' in 'Database.seq'
    From answers already given for similar subjects, I've checked that TsDBOptions.dll is present and registered (done regsvr32...) on the PC.
    Can someone help ?
    Note: upgrading to more recent TS + LV versions is not a solution!

    Whether you are using database logging or not, you should not get an error like that when database options are loaded. From the kb's you specified it sounds like there was an issue with a COM/ActiveX server not getting registered in the past. Especially on machines in which TestStand was installed from a deployment rather than the main installer. Have you tried running the version switcher like the KB suggested? Did it succeed or give an error? If it gave an error what was the error? Could you perhaps try a fresh install of TestStand on a clean machine?
    -Doug

  • Using LabVIEW RTE vs. LabVIEW ActiveX Automation Server (TestStand LVRTS) for a TestStand Deployment and experience​ing Unabel to Launch LabVIEW.Ap​plication ActiveX Automation Server Error 18001

    I am developing in TestStand 4.2.1 and LabVIEW 2009, I have accomplished the following:
    1. Deployment package is built and deployed on PC
    2. PC has activated TestStand Deployment License
    3. LabVIEW 2009 RTE was selected as the adapter for the sequence and thus I believe the deployed testexec.ini contains this.
    I  am experiencing the following error: "see attachment".
    Is the LabVIEW RTE the right selection?
    Is there something I may have missed in building the deployment?
    Do I need to register the ActiveX server.
    THere seems to be conflicing solutions based on Version of TestStand and LabVIEW!!
    Thanks!!
    Attachments:
    TS_LV ActiveX Error.doc ‏77 KB

    Howdy mobiux,
    Please consider KnowledgeBase 4V58058Z: -18001 Errors in TestStand. If you're using Vista or Windows 7, then this may apply as well. You might also consider ensuring you have the proper LV version active in the TS Adapter Options.
    Warm regards,
    pBerg

  • Error launching the 'LabVIEW.A​pplication" ActiveX automation server [Error Code: -18001]

    Hello,
    I have TestStand 2010 and LabVIEW 2010 development systems.
    In the TS LabVIEW adapter is configured to use Development System.
    Till today everything worked properly.
    Today I tried to run TS sequence (which worked yesterday) and got error -18001.
    I changed LV adapter configuration to use LVRTE and then back to Development System - and got error -18001 again.
    Please see the image below.
    LV2010 development system exists and I can use it: edit and run VIs.
    How can this problem happen and how to resolve it?
    Thanks in advance!
    Attachments:
    TSError_LV_App_ActiveX.JPG ‏135 KB

    Hi,
    there are multiple possible causes why you could encounter this error. Have a look in this KB:
    http://digital.ni.com/public.nsf/allkb/5C692ACB049D0D30862575710051601F
    cheers,
    cheggers
    Sascha E.
    Group Leader Applications Engineering
    National Instruments Switzerland

  • ActiveX automation server return "Error Win32"

    Has anybody meet this problem: I click on the' ActiveX automation server'
    in the CVI project window 'Tools' menu (CVI5.01) and then it starts to
    scan all the registered components but after a while it returns an error
    message like "Error Win32" so I can't work with the ActiveX components,
    I tryed uninstall and reinstall the CVI and the problem remains the same.
    The OS is Win NT 4.0

    Whether you are using database logging or not, you should not get an error like that when database options are loaded. From the kb's you specified it sounds like there was an issue with a COM/ActiveX server not getting registered in the past. Especially on machines in which TestStand was installed from a deployment rather than the main installer. Have you tried running the version switcher like the KB suggested? Did it succeed or give an error? If it gave an error what was the error? Could you perhaps try a fresh install of TestStand on a clean machine?
    -Doug

  • Error accessing Activex Automation server code -18001

    hi guys
    i am trying to call  a labview generated DLL   thr' a labview VI   "newread_dll.vi"     which i call in teststand
    but   labview kind of hangs loading it  &
    "error accessing Activex Automation server   code -18001"
    the VI runs without issues in  Labview
    only  in teststand the isssue exists ??
    Attachments:
    seq_dll_error.PNG ‏208 KB

    Hi aparab,
    did you follow the instructions in the error message? See screenshopt for configuration details.
    Below a link which describes, why error code .18001 could occur:
    http://digital.ni.com/public.nsf/allkb/5C692ACB049D0D30862575710051601F?OpenDocument
    Best Regards, Fabian
    Attachments:
    S1.PNG ‏22 KB

  • -18001: An error occured accessing the LabVIEW ActiveX automation server

    Hi,
    I'm currently investigating a problem with a Teststand 2.0 sequence. The
    sequence makes use of VI's that call methods of an ActiveX. After a few
    successful loops through the test sequence the error "-18001: An error
    occured accessing the LabVIEW (6.1) ActiveX automation server" is brought up
    in Teststand. I think that somehow the ActiveX automation server is dying
    during the execution of the sequence but I don't know where to start
    searching...The problem does not seem to lie within the ActiveX istself, but
    I'm not sure. Using the same ActiveX within a Visual Basic Application and
    performing the same commands several times does not produce a failure. Has
    anybody an idea what could be the problem
    Thanks, Sven.

    Thanks, but I already know these entries from the Knowledge Base. I found no
    help in there and my error text is also not mentioned there.
    JRA schrieb in im Newsbeitrag:
    [email protected]..
    > There is actually a few Knowledge Bases on NI's website which deals
    > with this exact issue. You will probably want to start there.
    > 1. >
    "http://digital.ni.com/public.nsf/websearch/55574CB4E0F326DF862567FD0077E303
    ?OpenDocument">-18001
    > ...
    > 2. >
    "http://digital.ni.com/public.nsf/websearch/D8690EC8044C7B3586256C63005D4D84
    ?OpenDocument">Why
    > do ...

  • LabVIEW Run Time Engine and ActiveX Automation Server

    Hi,
    I have a question related to LabVIEW Run Time Engine and ActiveX Automation Server:
    We have a tool developed in LabVIEW and TestStand. End user interface is a LabVIEW GUI (it's an executable) which executes TestStand sequences. Some TestStand sequences call lower level LabVIEW VIs.
    Everything works fine with LabVIEW installed, but I was wondering if I could run this tool on deployment machine with only LabVIEW run time engine installed. We are using LabVIEW 6.1 and with only the run time engine installed, I get the error message: "Unable to launch the 'LabVIEW.Application' ActiveX automation server ". 
    BTW, we are planning to upgrade the versions soon.
    Is it possible to make things work only with the run time engine?
    Thank you.

    Thanks for the response, Brian.
    I did upgrade to LabVIEW 8.0 and TestStand 3.5. Everything works fine on the development computer where LabVIEW and TestStand is installed. On the target computer in the lab, I installed LV RTE 8.0 and TestStand 3.5, and now when a VI is called in a sequence file, I get the following:
    RunState.PreviousStep.Result.Error.Code  -18002 
    RunState.PreviousStep.Result.Error.Msg  "LabVIEW: The VI is not executable"
    So, the executable opens and works fine (which means that the LV RTE is installed properly), but when a sequence calls a low level VI, it does not make it through.
    comments/suggestions are appreciated. Thanks.

  • LV5 as ActiveX automation server

    Hello,
    I hope that somebody here is able to help me. I have a question about using
    LabView 5 as ActiveX automation server. This works fine for me when I build
    an C++ application based on the examples I got with LabView. But all
    examples I found make use of MFC.
    Now I have a C application that is based on pure Win32 API. My question: How
    can I implement calls to LabView-automation server using Win32 API without
    MFC?
    Thanks for your help in advance!
    Martin Schellenberger.

    Whether you are using database logging or not, you should not get an error like that when database options are loaded. From the kb's you specified it sounds like there was an issue with a COM/ActiveX server not getting registered in the past. Especially on machines in which TestStand was installed from a deployment rather than the main installer. Have you tried running the version switcher like the KB suggested? Did it succeed or give an error? If it gave an error what was the error? Could you perhaps try a fresh install of TestStand on a clean machine?
    -Doug

  • Automation server error 0x800a01ad

    I've been able to batch delete, import, and export metadata from the XML file, but can't seem to import and export the binary thumbnails, raw books, and encrypted books.
    As soon as I set ImportFiles:Yes and ImportRawBook:Yes, error 0x800a01ad "Automation server can't create object" is thrown.
    Does anyone have any insight into this error message? I know it has been asked before about a comprehensive list of error messages, but Adobe seems unconcerned about supplying such resources to end users. I'm trying to gain enough knowledge to avoid the expensive per-incident support fees.

    Mike,<br /><br />We import our books with the batch tool. Below is an example of how we write our XML file. Maybe it can help you. /Fabian<br /><br /><?xml version="1.0" encoding="ISO-8859-1"?><br /><acs:Message<br />     xmlns="http://www.editeur.org/onix-international/ReferenceNames/"<br />     xmlns:acs="http://www.glassbook.com/metadata-0.1"><br />     <Product><br />          <NotificationType>04</NotificationType><br />          <ISBN>9172970278</ISBN><br />          <DistinctiveTitle>Gomstallet</DistinctiveTitle><br />          <ContributorStatement>Marten Sanden</ContributorStatement><br />          <PublisherName>eLib</PublisherName><br />          <SupplyDetail><br />               <SupplierName>eLib</SupplierName><br />               <Price><br />                    <PriceTypeCode>01</PriceTypeCode><br />                    <PriceAmount>39</PriceAmount><br />               </Price><br />          </SupplyDetail><br />          <acs:RawBook><br />               <MediaFileFormatCode>04</MediaFileFormatCode><br />               <MediaFileLinkTypeCode>06</MediaFileLinkTypeCode><br />               <MediaFileLink>\\server\folder\ISBN9172970278.pdf</MediaFileLink><br />          </acs:RawBook><br />          <acs:PublishInfo><br />               <acs:RightCopyCount>0</acs:RightCopyCount><br />               <acs:RightCopyInterval>0</acs:RightCopyInterval><br />               <acs:RightPrintCount>0</acs:RightPrintCount><br />               <acs:RightPrintInterval>0</acs:RightPrintInterval><br />               <acs:RightLendHops>0</acs:RightLendHops><br />               <acs:RightUseExprirationType>4</acs:RightUseExprirationType><br />               <acs:RightTimeAllowed>0</acs:RightTimeAllowed><br />               <acs:RightUseExprirationDate>12/31/1969</acs:RightUseExprirationDate><br />               <acs:RightUseExprirationInterval>0</acs:RightUseExprirationInterval><br />               <acs:RightReadAloud>-1</acs:RightReadAloud><br />               <acs:RightModifyRights>0</acs:RightModifyRights><br />               <acs:Copies>1000000</acs:Copies><br />               <acs:ContentType>1</acs:ContentType><br />               <acs:EncFileName>ISBN9172970278.pdf</acs:EncFileName><br />          </acs:PublishInfo><br />          <acs:DeploySite><br />               <acs:KeyName>local</acs:KeyName><br />               <acs:DeployType>1</acs:DeployType><br />               <acs:DeployFlags>1</acs:DeployFlags><br />          </acs:DeploySite><br />          <acs:Approval>1</acs:Approval><br />     </Product><br /></acs:Message>

  • -17702; An error occurred accessing the CVI ActiveX automation server.

    I am now getting this error consistently whenever I try to debug my dll. I was able to successfully debug earlier, but it has degraded. I tried shutting down teststand and labwindows and restqarting them, but the error persists. I am using teststand 4.1.1 and labwindows/cvi 9.0.0 (348).
    Anyone have any ideas?  This has me stalled.

    Hello,
    Pretty old post, but I have a similar problem...How can I fix this issue ?

  • -18001; And error occurred accessing the LabVIEW ActiveX automation server.

    I installed a revised TS deployment, and got this error.
    For other deployments, when this error occurred, there was a simple solution - change the Adapter in TestStand.
    This time, if I change the Adapter, I cannot reload the test vi's in the test sequence, so that doesn't work.
    Any help would be appreciated.
    TS 4.2.1
    LV 2010

    Jauron,
    This knowledgebase article here: http://digital.ni.com/public.nsf/allkb/D577B50A123​5A088862570FA004BDD63  seems to have a solution for the issue. 
    Regards,
    Kyle Mozdzyn
    Applications Engineering
    National Instruments
    Regards,
    Kyle M.
    Applications Engineering
    National Instruments

  • Error -18351 when accessing TS database options

    I have not used the system in a month and now when I try to access the 'Database options' window in Teststand from the Configure menu I receive the following message:
    Details
    The type library information for 'TestStand API 2.0' was not found.
    Make sure the server is registered with the system.
    Error Code
    -18351; An error occurred reading an ActiveX Automation server type library.
    Location
    Step 'Create UUTResult' of sequence 'Edit Database Options' in 'Database.seq'
    Has anyone seen this before? I am using TS 3.1 on Win2K.

    Hey plf,
    Have you seen this Discussion Forum.   I think it is very similar to the error you are seeing.  Try the steps in there and if that fails then let me know and we'll see what else we can figure out. 
    You need to open the Database.seq file inside of this directory: C:\Program Files\National Instruments\TestStand 3.1\Components\NI\Models\TestStandModels\Database  and go to the Edit Database Options from the View drop down.  Then you can right click on Create UUTResult and click on Specify Module.  Yours should be similar to the one I'm attaching.  Check and make sure it is.
    Message Edited by Sam R on 02-09-2006 12:47 PM
    Message Edited by Sam R on 02-09-2006 12:48 PM
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~
    Attachments:
    SpecifyModule.jpg ‏1177 KB

  • ActiveX error 18351

    I am trying to import tlb/exe files that I am making in VS2008 in C++ on Windows 7.
    I am modifiying a dialog COM app exe which used to run fine on XP/Old TestStand.  I am trying to call exposed COM on a legacy dialog app I have to add more calls to.  This used to work on XP/TestStand4.  It is registered but not visible on teh Automation Server list.
    So I have created a few of COM example apps of different types to see if its windows7 or teststand or what.  I have made a dll as well.  None can be made into a selectable Automation Server for TestStand 2010.  Even registered they are not in the dropdown list.  Browsing just produces the ActiveX Error Code: -18351.  I have added no code to them, as VS2008 creates the base source for the new COM/OCX/Midi projects.  None will work with TestStand 2010 after being registered  (xxx.exe /regserver).
    I did see where ...\Public\Documents\National Instruments\TestStand 2010\Examples\Demo\DotNet\dotNet Project Files has a computer.dll, and that does load fine with C++ dll option.
    Anyone know why created apps will not load and are not visible on the list?
    TIA
    www.certtech.com

    Hey Doug thanks.
    I also had to run cmd as admin privilidges also and hand register the tlb.  Then use regtlibv12.exe to hand register the tlb.  Even though I launched VS2008 as admin this time and did a clean/rebuild it was not enough.
    Using cmd as admin....
    C:\...\yourproj\Debug>C:\windows\Microsoft.NET\Framework\v4.0.30319\regtlibv12.exe yourproj.tlb
    Registration of yourproj.tlb successful.
    Yesterday it was saying it was registered but it wasn't becuase I was not running it in admin.  Thanks for the help..it was close enough.  Never trust VS to register the apps for oxc/tlb stuff right as it always says it was.  .NET classes work fine as-is.
    Windows is such a pain with this lack of automatic admin settings!!!
    www.certtech.com

  • Error -214746726​2 "No such interface supported" when open an ActiveX automation reference to proprietar​y DLL, why?

    I got the error -2147467262 "No such interface supported" when open an ActiveX automation reference to a proprietary DLL. I check the forum which suggested solutions related to comcat.dll and IE6.0. I also tried to re-reqister the dll by regsvr32.exe, still does not work. However, I did nto get any luck. I was told that the DLL support iDispatch interface and should work ok with ActiveX in labview. Any suggestions? I appreciate it.

    Hello, Nandini,
    I am using the WinXP and I am calling the DLL provided by Pirouette for their chemometrics software. I just solved the error -2147467262, but the new error comes out is :
    Error code: -2147467259 Exception occured in IxAsObjs.CoSIMCAPredict.1, Language Server QueryInterface failed: No such interface supported.
    Here is a few word for the problem from priouette:
    " just a few more words that might help you understand the nature of the problem. your LabView client talks to AlgSuite.dll using IDispatch interfaces AlgSuite.dll communicates with the language server on an IUnknown interface.
    Your client knows nothing about the internal workings of AlgSuite.AlgSuite communicating with objects that do not have IDispatch interfaces should be irrelevant to your client."
    Since the VB demo works fine in my machine, so they though it is percular to labview. Any comments? I appreciate it.
    LvvL

Maybe you are looking for

  • Bridge HTML Gallery Coding

    I used Bridge to create a photo gallery using the HTML Gallery Template to place on a website.  I need the html page that is created to have a different name than the default index.html as well as contain my own header and navigation buttons.  That's

  • This is rubbish!!

    Hey Servlet/JSP programmers! Want to see some fun? I am not sure if you've already seen this, but i saw it first time today. Do one thing - Paste following lines of code in one file. Call it "OSTest.jsp" and access it thro' browser. <%@ page import="

  • SharePoint: Business Intelligence - PerformancePoint Dashboard Designer

    I have a departmentalized site collection for my company on SharePoint 2013. The IT Department handles service requests via the portal. These service requests are stored in a document library as InfoPath forms. I've created a Business Intelligence si

  • Jobject.equals(jobject) not working properly

    Hi ! I'm just playing with JNI. I'd like to implement observer pattern with JNI. Java code would register observers via native methods, so C++ should remember observers. Maybe this is not so useful, but I just wanted to implement it to learn more abo

  • ORA-01555: snapshot too old / set transaction

    Hello, When I execute a query in a script I have the following error: ORA-01555: snapshot too old... At the beginning of the script I have SET TRANSACTION use rollback segment XX. On the other hand I used SET TRANSACTION READ ONLY and I had no errors