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

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

  • 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

  • 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 ...

  • 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

  • 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.

  • Web server returns "error 64"

    I have just installed "APOD Grabber". When launched, I get " Web server returns error 64". Can anyone help?
    Thanks,

    Hi jfw222
    Welcome to Apple Support Communities
    What version and where did you download it from? Cause I just downloaded APOD Grabber 1.3.5 from MacUpdade and it is working fine.
    http://www.macupdate.com/app/mac/12461/apod-grabber/
    Hey' that's pretty cool, generally I visit the Hubble site and download images from the Gallery and then put them into iPhoto for Desktop backgrounds, slideshows and such. > http://hubblesite.org/
    Dennis

  • 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

  • -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 ?

  • 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

  • -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

  • Ping iTunes server returns error message

    Help!! I have tried to ping the server following the instructions on the Tech Specs page (http://www.apple.com/itunes/podcasts/techspecs.html), but whenever I put the URL w/podcast id into my browser, I simply get an error message back from Apple and the XML file is not updated immediately.
    Here's the URL I used:
    https://phobos.apple.com/WebObjects/MZFinance.woa/wa/pingPodcast?id=108627247 where the id is my podcast (Harpeth Hall LIbrary). Am I missing something?
    Here's the error message:
    The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    An invalid character was found in text content. Error processing resource 'https://phobos.apple.com/WebObjects/MZFinance.wo...

    scoutwert
    The call was intended to be basically a one-way notification. No real return value per se other than the http 200 success header if your message is received. Having said that, it's certainly pretty gross looking if you ping in a browser. A bug has been filed against this behavior so that in the future you can get a more friendly assurance in a web browser that your ping went through. In the meantime you might consider just pinging on the command line like this:
    curl -I https://phobos.apple.com/WebObjects/MZFinance.woa/wa/pingPodcast?id=108627247
    If it was received by the iTMS server, you'll see:
    HTTP/1.1 200 OK
    in the output. That 200 means the ping was received not that it has run yet.
    d

  • Search for mail on server returns error

    When searching for mail on the server i receive the error Cannot get mail. The connection to the server failed. All other mail functions work.

    Not that it helps, but I'm having the same issue on iPad and iPhone. Happened around the same time. My server admin admits that they applied one patch for Microsoft Activesync, but since the Blackberries work that couldn't be the problem.
    My account verifies fine. Opening the mail window results in the error message.

  • Please help with SSL POST: Servlet returns Error 500

    I am struggling for many days to get a Java program to log in to an SSL page. The program is supposed to track ADSL usage statistics from https://secure.telkomsa.net/titracker/, but I never seem to get around Server returned Error 500.
    Could anyone please help me understand what I am doing wrong by looking at the method I used. (It seems on the server side it is a jsp servlet that handles authentication).
    Any help is deeply appreciated!
    I copy-paste the method directly from NetBeans:
    CODE>
    void connectHTTPS(String url){
    try {
    URL page = new URL(url); // login page necessary to get a jsp session cookie
    //------------ SET UP SSL - is it right?
    System.setProperty("java.protocol.handler.pkgs",
    "com.sun.net.ssl.internal.www.protocol");
    try {
    //if we have the JSSE provider available,
    //and it has not already been
    //set, add it as a new provide to the Security class.
    final Class clsFactory = Class.forName("com.sun.net.ssl.internal.ssl.Provider");
    if( (null != clsFactory) && (null == Security.getProvider("SunJSSE")) )
    Security.addProvider((Provider)clsFactory.newInstance());
    } catch( ClassNotFoundException cfe ) {
    throw new Exception("Unable to load the JSSE SSL stream handler." +
    "Check classpath." + cfe.toString());
    URLConnection urlc = page.openConnection();
    urlc.setDoInput(true);
    *Get the session id cookie set by the TelkomInternet java server
    String cookie = urlc.getHeaderField("Set-Cookie");
    //textpane.setText(totextpane);
    textpane.setText(cookie);
    //---------------- form an auth request and post it with the cookie
    String postdata =URLEncoder.encode("ID_Field","UTF-8")+"="+URLEncoder.encode("myusrname","UTF-8")+"&"+URLEncoder.encode("PW_Field","UTF-8")+"="+URLEncoder.encode("mypwd","UTF-8")+"&"+URLEncoder.encode("confirm","UTF-8")+"="+URLEncoder.encode("false","UTF-8");
    // set the servlet that handles authentication as target
    URL page2 = new URL("https://secure.telkomsa.net/titracker/servlet/LoginServlet");
    // cast to httpConn to enable setRequestMethod()
    HttpURLConnection urlc2 = (HttpURLConnection)page2.openConnection();
    // formulate request with POST data urlc2.setRequestProperty("Content-Type","application/x-www-form-urlencoded");
    urlc2.setRequestMethod("POST"); // experimental
    urlc2.setRequestProperty("Content-Length",""+postdata.length());
    urlc2.setRequestProperty("User-Agent","Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)");
    urlc2.setRequestProperty("Accept-Language","en-us");
    urlc2.setUseCaches(false);
    urlc2.setDoOutput(true);
    urlc2.setDoInput(true);
    urlc2.setFollowRedirects(true); // ??
    //send cookies
    urlc2.setRequestProperty("Set-Cookie", cookie); // or "Cookie" - doesn't work either
    //write other data
    PrintWriter out = new PrintWriter(urlc2.getOutputStream());
    out.print(postdata); // username and password here
    out.flush();
    out.close();
    //---------------- get the authenticated page with real ADSL statistics
    BufferedReader br = new BufferedReader(new InputStreamReader(urlc2.getInputStream()));
    String totextpane = "";
    String buffer = "";
    while (buffer != null) {
    try {
    totextpane = totextpane + "\n" + buffer;
    buffer = br.readLine();
    } catch (IOException ioe) {
    ioe.printStackTrace();
    break;
    textpane.setText(totextpane);
    } catch (Exception ex) {
    System.err.println(ex.getMessage());
    ---- END CODE---
    Thank you very much for any attempt at helping with this problem!

    I am struggling for many days to get a Java program to log in to an SSL page. The program is supposed to track ADSL usage statistics from https://secure.telkomsa.net/titracker/, but I never seem to get around Server returned Error 500.
    Could anyone please help me understand what I am doing wrong by looking at the method I used. (It seems on the server side it is a jsp servlet that handles authentication).
    Any help is deeply appreciated!
    I copy-paste the method directly from NetBeans:
    CODE>
    void connectHTTPS(String url){
    try {
    URL page = new URL(url); // login page necessary to get a jsp session cookie
    //------------ SET UP SSL - is it right?
    System.setProperty("java.protocol.handler.pkgs",
    "com.sun.net.ssl.internal.www.protocol");
    try {
    //if we have the JSSE provider available,
    //and it has not already been
    //set, add it as a new provide to the Security class.
    final Class clsFactory = Class.forName("com.sun.net.ssl.internal.ssl.Provider");
    if( (null != clsFactory) && (null == Security.getProvider("SunJSSE")) )
    Security.addProvider((Provider)clsFactory.newInstance());
    } catch( ClassNotFoundException cfe ) {
    throw new Exception("Unable to load the JSSE SSL stream handler." +
    "Check classpath." + cfe.toString());
    URLConnection urlc = page.openConnection();
    urlc.setDoInput(true);
    *Get the session id cookie set by the TelkomInternet java server
    String cookie = urlc.getHeaderField("Set-Cookie");
    //textpane.setText(totextpane);
    textpane.setText(cookie);
    //---------------- form an auth request and post it with the cookie
    String postdata =URLEncoder.encode("ID_Field","UTF-8")+"="+URLEncoder.encode("myusrname","UTF-8")+"&"+URLEncoder.encode("PW_Field","UTF-8")+"="+URLEncoder.encode("mypwd","UTF-8")+"&"+URLEncoder.encode("confirm","UTF-8")+"="+URLEncoder.encode("false","UTF-8");
    // set the servlet that handles authentication as target
    URL page2 = new URL("https://secure.telkomsa.net/titracker/servlet/LoginServlet");
    // cast to httpConn to enable setRequestMethod()
    HttpURLConnection urlc2 = (HttpURLConnection)page2.openConnection();
    // formulate request with POST data urlc2.setRequestProperty("Content-Type","application/x-www-form-urlencoded");
    urlc2.setRequestMethod("POST"); // experimental
    urlc2.setRequestProperty("Content-Length",""+postdata.length());
    urlc2.setRequestProperty("User-Agent","Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)");
    urlc2.setRequestProperty("Accept-Language","en-us");
    urlc2.setUseCaches(false);
    urlc2.setDoOutput(true);
    urlc2.setDoInput(true);
    urlc2.setFollowRedirects(true); // ??
    //send cookies
    urlc2.setRequestProperty("Set-Cookie", cookie); // or "Cookie" - doesn't work either
    //write other data
    PrintWriter out = new PrintWriter(urlc2.getOutputStream());
    out.print(postdata); // username and password here
    out.flush();
    out.close();
    //---------------- get the authenticated page with real ADSL statistics
    BufferedReader br = new BufferedReader(new InputStreamReader(urlc2.getInputStream()));
    String totextpane = "";
    String buffer = "";
    while (buffer != null) {
    try {
    totextpane = totextpane + "\n" + buffer;
    buffer = br.readLine();
    } catch (IOException ioe) {
    ioe.printStackTrace();
    break;
    textpane.setText(totextpane);
    } catch (Exception ex) {
    System.err.println(ex.getMessage());
    ---- END CODE---
    Thank you very much for any attempt at helping with this problem!

Maybe you are looking for

  • 2 Apple ids and can't connect

    I have 2 apple ids and one is for iCloud through my new Macbook Air. I don't remember the password for that id and whenever I try to change it it reverts to the other id. Any ideas on how to fix? Get rid of the second id? I can't connect to anything,

  • How to get sound output to TV via HDMI on my Equium

    I've connected to TV via HDMI to view downloaded BBC content. How can I get the sound?

  • Multiple Files at sender side

    Hi Friends, Im working with a scenario which gives me two different files for a single sender file. My sender structure is having a filed "Position" which takes 2 values ( One and Two). When i give these values, my target structure will be of two mes

  • EMac - Modem problem ?

    I am using dial-up internet access with the Emac internal modem....when my modem is plugged in, and I am NOT connected to the internet, my home phone cannot receive incoming calls. This happens even when the eMac is switched off. I have tried connect

  • Connecting to a DB in Pointbase: need help

    Folks: I am trying to create a database using the bundled Pointbase tool with WLS 7.0 and I am not having much luck. I am trying to use the default driver, com.pointbase.jdbc.jdbcUniversalDriver, and the default, jdbc:pointbase:server//localhost/demo