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

Similar Messages

  • 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

  • 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

  • 500 internal server error while deploying a Web Dynpro application

    Hi
    I got the 500 internal server error while deploying the application to server.
    I tried to find the log file at usr --> SAP --> SID --> JC XX --> j2EE --> Cluster --> Server 0 --> log, but no log was there.
    There were structure changes in the RFC and also code change in my Web
    Dynpro code.
    I´m working on EP 7.
    NWDS version is 7.0.1
    Please help me as the production move is pending because of this.
    Regards
    Vineet Vikram

    Hi
    Restarting the server does not help in my case.
    I tried it several times.
    I'm getting following error message in NWA>
    Originated from: com.sapmarkets.bam.logcontroller.InvalidLogQuerySessionException: Invalid or expired log query session "1"
    at com.sapmarkets.bam.logcontroller.jmx.LogControllerFacade.closeLogQuerySession(LogControllerFacade.java:356)
    at sun.reflect.NativeMethodAccessorImpl.invoke0
    Can you pl help on this.
    Regards
    Vineet Vikram

  • 500   Internal Server Error while deploying InteractiveForm in Webdynpro

    I tried to deploy the Sample template from SDN
    when i tried to Deploy it on Server i am getting the ERROR
    <b>500   Internal Server Error</b>
    WebServices of the Server are installed properly and the settings are done.
    i will be thankful for Quick Response
    Regards,
    Srikanth

    Hi Bunny,
    Can you please tell me what have you done for getting the issue resolved.
    Regards,
    Samar.

  • 500 Internal server error while deploying web applications in jdeveloper

    I am getting the following error while trying to deploy my web application in Jdeveloper:
    500 Internal Server Error
    Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response.
    Please consult the application log for details.
    Please help me.
    Or where can i find the detailed log regarding this.
    I even tried to remove the shared libraries / common logs/ set the development true in orion-web.xml file but to my disappointment..
    Please help me !!!!
    Regards,
    Shaily

    Thanks for ur help
    Jdeveloper version is 10.1.3.2.0
    I have deployed simple application.
    I even went thru the log files located at :
    $ORACLE_HOME/opmn/logs/default_group~oc4j_soa~default_group~1.log:
    $ORACLE_HOME/j2ee/oc4j_soa//application-deployments/gateway/oc4j_soa_default_group_1/application.log
    but it was not of any help.
    Can you help me figure out where i can get the detailed log file. Very recently i have started using jdeveloper,so i am having difficulty figuring out the log also.

  • 500 Internal Server Error when deploying struts application on OAS 10.1.3

    I've installed the Oracle Application Server several times, this time with 10.1.3 our application doesn't run and we get the error shown below.
    Any ideas? It looks to be something with struts or tiles. struts.jar and tiles.jar is included in our deployed j2ee application WEBI-INF/lib dir. The application was built with jdeveloper 10.1.2 and compiled with java 1.4.
    We load a custom log4j.properties, and nothing is even getting logged except for the log4j init stuff, nor is this NoSuchMethod error showing up in any other of the many different log files. (That I can find anyway)
    500 Internal Server Error
    java.lang.NoSuchMethodError: org.apache.struts.tiles.DefinitionsUtil.populateDefinitionsFactoryConfig(Lorg/apache/struts/tiles/DefinitionsFactoryConfig;Ljavax/servlet/ServletConfig;)V
         at org.apache.struts.tiles.TilesPlugin.readFactoryConfig(TilesPlugin.java:267)
         at org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:159)
         at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158)
         at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)
         at javax.servlet.GenericServlet.init(GenericServlet.java:256)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.loadServlet(HttpApplication.java:2231)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4617)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4541)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2821)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:740)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

    Figures, I've been fighting with this for the past day and a half and I figure it out shortly after I post the question.
    It turns out the tiles.jar that was in our WEB-INF/lib directory was an old one. It looks like the newer struts.jar (from jdeveloper) we're using includes the tiles information. Once I removed tiles.jar, commons-dbcp, pool, resources, and services, it works now.
    It looks like jdeveloper overwrites most of those files with it's built in struts integration, and we've just been lucky before that struts.jar was being loaded before tiles.jar and something with oas 10.1.3 is loading the jars in a different order--but I'm just guessing here.

  • Error 500--Internal Server Error  - when deploying strust application

    Hello everyone,
    We have a large strust-based web application. The application is being deployed as an EAR file.
    We are getting a NullPointerException when we deploy the application on Weblogic 8.1 in production mode. The exception
    occurs when we access the application for the first time after redeployment.
    When we restart the server entirely we do not get the exception anymore.
    This exception does occur only rarely in development mode.
    In production mode it occurrs every time.
    Has anyone experienced similar issues?
    Regards,
    Oliver Enseling
    Error 500--Internal Server Error
    java.lang.NullPointerException
         at org.apache.struts.action.RequestProcessor.getServletContext(RequestProcessor.java:1136)
         at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:180)
         at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:309)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1480)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:506)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at com.gelco.tmg.planning.web.core.action.URLSecurityFilter.doFilter(URLSecurityFilter.java:69)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6458)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

    <[email protected]> wrote in message news:41c49d78$1@mail...
    The problem seems to occur due to servlet reloading.... There seems to be
    a bug that reloads the ActionServlet even without any changes made to the
    code base... The reload fails for the ActionServlet making it null
    Turn off servlet reloading in your weblogic.xml using
    <container-descriptor>
    <servlet-reload-check-secs>-1</servlet-reload-check-secs>
    </container-descriptor>
    Let me know if this helps ...The default is to check for every one sec... I am not sure whether these
    kind of defaults make sense once a application is moved into production
    mode...
    If the issue gets resolved with the above suggested workaround .... let me
    know... since the issue is spurious and I am trying to reach a higher
    confidence level in the solution proposed by me.....
    Thanks
    Kumaraguruparan Karuppasamy
    >
    >
    >
    "Bill Turchin" <[email protected]> wrote in message
    news:25319409.1102534305264.JavaMail.root@jserv5...
    I am now also seeing that error having recently upgraded to WL 8.1. Has
    anyone found the solution?

  • 500 Internal Server Error after deploying several times

    Hello everyone. I originally had an issue with SOA not running as a service due to some issue with Windows Server 2003 and custom installation. I'm not entirely sure that problem is fixed, but unsure if it could be related to this issue.
    The problem I'm having is if I redeploy an application a few times, I get the following error:
    *500 Internal Server Error*
    Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details
    after I go to the application. This machine currently has 8gb of memory and I do know I am still using the default memory setting. When I tried to change it, all of the applications stopped functioning.
    Does anyone have any suggestions? I'm curious if uninstalling SOA and then using the basic installation will fix most of my problems.

    I forgot to mention that I had to manually create the service as well which I don't think is still working quite right. The application server will run, but it's not accessible by anyone. Only once I manually start the SOA Server does it work properly, until it hangs up of course.
    I'll check metalink to see if there has been any updates to the Windows 2003 problem.

Maybe you are looking for

  • POLYADORUS itunes won't play my CD

    I have seen this same problem on these forums but the "fix" has not worked for me. Itunes loads the CD and the track names but skips through the tracks as if it is playing them but it does it fast. It does the same thing when burning. here is the rea

  • Problem with Apple Care Registration Process

    My MacBook warranty will expire pretty soon. So, I ordered my Apple Care Protection Plan from Apple online store in Thailand since September 9, 2009. It arrived this morning (September 15, 2009). When I try to register Apple care for my machine, Prob

  • Can't get rid of generic "linksys" network name

    What am I doing wrong? I have set up a secure wireless network and named it (our last name), but the original "linksys" network still shows up when I do a search for available networks within range. I wouldn't care, but it shows as unsecured and I tr

  • Java class does not complie

    Hello experts: I am compiling a sample jdbc program using jdk1.1.8 in windows 95. The sample programs that i am compiling are in Oracle_home\ jdbc\samples directory. I have the jdbc/lib/classes111.zip in my C:\path. Any comments I get the following e

  • JVM fails

    I'm writing JNI application for some C++ code. I don't have implementations of any functions but I'm pass values of parameters through my java program. e.g. in following OpenDevice function I can pass parallel port parameter(defined in C++) through J