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
Similar Messages
-
-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 ... -
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 KBWhether 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 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 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.0Whether 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. -
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 -
Error access ATG Dynamo Server Admin
Hello all,
I am Runnig ATG 10.1.2 with weblogic 10.3. on window server 2008
once i have install ATG Commerce Reference Store Installation and Configuration base on this guid
http://docs.oracle.com/cd/E36434_01/CRS.10-1-2/ATGCRSInstall/html/s0206configuringyourdatabaseconnectio01.html
I was able to :
log into :
--> Web logic Admin http://localhost:7001/console/
--> access the Business Control Center http://localhost:7103/atg/bcc
but i have got error when i have try to To access ATG Dynamo Server Admin
--> http://localhost:7103/dyn/admin
Error 500--Internal Server Error
javax.servlet.ServletException: Can't find component: /atg/dynamo/servlet/adminpipeline/AdminHandler
at atg.nucleus.servlet.NucleusProxyServlet.initServlet(NucleusProxyServlet.java:194)
at atg.nucleus.servlet.NucleusProxyServlet.service(NucleusProxyServlet.java:234)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3732)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Also,
when I try to To access the ATG Store storefront http://localhost:7003/crs/storeus
the page was up, but the store product date,category and other data are empty!
*I did install and configure ATG products using the CIM by the above guid.
Please advice
Thank you all for your help
Joseph
Edited by: 999970 on Apr 14, 2013 12:26 PM
Edited by: 999970 on Apr 14, 2013 12:38 PMIt looks that you haven't selected DafEar.Admin in your module list to build the ear.
And regarding the crs, you might not have imported the crs data.
Check if you have data in cata/catb dcs_product/dcs_sku tables.
May be you might need to run CMS.
Peace
Shaik -
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 KBHi,
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 2010Jauron,
This knowledgebase article here: http://digital.ni.com/public.nsf/allkb/D577B50A1235A088862570FA004BDD63 seems to have a solution for the issue.
Regards,
Kyle Mozdzyn
Applications Engineering
National Instruments
Regards,
Kyle M.
Applications Engineering
National Instruments -
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 KBHowdy 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 ? -
Permissions error accessing FileMaker 10 server from AppleScript
I have an set of AppleScript scripts that talk to a FileMaker server to get some data. "get cell" statements are used for this. In one of the scripts, I get an error from a "get cell" line:
get cell "Product Type" of record 4 of window "DB-Values"
--> error "Your access privileges do not allow this action." number -10004
This error is a actually a generic Apple event error message that is triggered anytime you try to enter data into a field that cannot be edited. (fromhttp://help.filemaker.com/app/answers/detail/a_id/4285/~/troubleshooting-filemak er-pro-apple-event-errors)
After the script throws this error, I go into filemaker and go to this window and I am able to read this value and edit it just fine. It is only from the script that this error occurs. There are many other calls into the DB like this in the script and they all work fine. However none of them are into this table/window (DB-Values) The server is running Snow Leopard and my machine is running Lion.I did followed the instructions provided on the above link but when I try to register the provider I get the following error:
Error: Internal error (WWC-00006)
The provider URL specified may be wrong or the provider is not running. (WWC-43176)Trying to chec the provider independently providing the following link
http://localhost:7778/BPELPortlet/providers
I get the following error:
500 Internal Server Error
Servlet error: Error instantiating servlet 'SOAPServlet' (servlet class not found, make sure it exists at
C:\Oracle_Software\portal\j2ee\OC4J_BPEL\applications\BPELPortlet\bpelportlet/WEB-INF/classes/oracle/webdb/provider/v2/adapter/SOAPServlet.class,
in a jar in C:\Oracle_Software\portal\j2ee\OC4J_BPEL\applications\BPELPortlet\bpelportlet/WEB-INF/lib/,
in an orion-web.xml specified classpath or global server classpath)I have soap.jar is in the classpath. Is there a fix for it. Thanks -
Hello,
i have a TS 3.4 Sequence wit LabView 8.21-Teststeps.
The Sequence is called from an Labview-OperatorInterface.
In a step which run before 100 times without problems i suddenly get the error-message:
ErrorMessage: Error executing substep 'Run'.Unable to launch the 'LabVIEW.Application' ActiveX automation server [Error Code: -18001]
After a restart of al NI-Software everything is working normal again.
What does this error mean and what should i do with it?
Should i ignore the error and try to execute the step again or does this mean tht the ActiveX-Server was lost forever?
How can this problem happen?
Thanks for your help
Solved!
Go to Solution.Hi,
Its difficult to know what the problems is that causes this. I am guessing you are using either the RTE or Runtime Server rather than LabVIEW Developement system.
Once you get this error you can't ignore it and hope that repeating the step will regain the link to the server. (well that's what I've noticed).
There is a patch for labview 8.2.1 http://joule.ni.com/nidu/cds/view/p/id/906/lang/en that you might what to try.
And there is TS version 4.0.
Regards
Ray Farmer
Regards
Ray Farmer -
Hello Everyone,
I am using TestStand 4.0 and LabVIEW 8.5.1. I developed the LabVIEW test code module to test the DUT and integrated those modules in TestStand. I created the TestStand build and installed in PC which is not having the NI components.
The following are the error what I faced while running the test sequence
I am running a deployment version of TestStand with our own customizable operator interface. When I execute the test sequence the OI pop up's an error as follows: "An error occured accessing the LabVIEW ActiveX automation server.[Error code: -18001]. This PC contains only the TestStand Run time. The above error is not coming when I install the LabVIEW in that running PC.
Please advice.
Attachments:
ActiveX 7-28.jpg 37 KBHi,
Yes, LabVIEW runtime engine also installed. I created the TestStand build by setting the TestStand adapter to "LabVIEW Runtime Mode".
That error is not coming when i install the LabVIEW development version.
Maybe you are looking for
-
Follow up on question regarding thread: showplan questions The second query (after updated index), any reason why the operation is TblLkTtreeScan instead of RowLkTtreeScan? I updated the optimizer stats and it still shows up as a TblLkTtreeScan. What
-
i have created my web-dynpro application in development. and sent to quality . whenever i will execute my dynpro in quality i got one message ERROR: ICF service node "/sap/bc/webdynpro/sap/zqm_cto_arr_general1" does not exist (see SAP Note 1109215)
-
SRM - PO is not getting created.
Hi Team, I have created a free text shopping cart. I have assigned the vendor to the SC from sourcing cockpit . In the "Process Purchase Order", I was trying to create the PO. But the below message is showing. Vendor XXXXX is not permitted for autom
-
Some System Settings Mysteriously Reset
Hey all, I've recently started experiencing some mysterious resetting of some of my system preferences after a reboot. I take my MBP to and from work and shut it down when moving back and forth most times. What I've encountered is a subset of my pref
-
Install 5.7 installer wants 5.3
This has probably been asked several times, so I apologize, but I couldn't find a solution. I have installed 5.7 on two other systems with NO PROBLEMS. But I am unable to install the update on one, and I have tried several times. Hopefully someone ha