LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DCOM C# ApplicationClass

Hi There,

 

i am trying to control LabView via the DCOM Component. I am using c# (Visual Studio) My programm does work on some computers, but there also some which generate an exception on runtime. So the issue seems to be a configuration problem. First of all the displayed error:

 

 

The COM Classfactory for the component with the CLSID {9A872070-0A06-11D1-90B7-00A024CE2744} could not be called because of the following error: 80080005 (i translated the message, dont wonder!) Sometimes the error code is also 80070002 (Then the system can't find the file)

 

The source code line for the error is also given:

 

 

viServer = new ApplicationClass();

 

 

 

[FileNotFoundException: Die COM-Klassenfactory für die Komponente mit CLSID {9A872070-0A06-11D1-90B7-00A024CE2744} konnte aufgrund des folgenden Fehlers nicht abgerufen werden: 80070002 Das System kann die angegebene Datei nicht finden. (Ausnahme von HRESULT: 0x80070002).]
   iLabs.LabView.LV2013.LabViewInterface..ctor() in C:\ilabSDK\iLab_440_20141119\iLab_SA\dotNet\LabView\LabViewInterface\LabViewInterface.cs:135

[Exception: ERROR: Creating ApplicationClass LabVIEW 2013: ]
   iLabs.LabView.LV2013.LabViewInterface..ctor() in C:\ilabSDK\iLab_440_20141119\iLab_SA\dotNet\LabView\LabViewInterface\LabViewInterface.cs:143
   iLabs.LabServer.LabView.LabViewTaskFactory.CreateLabTask(LabAppInfo appInfo, Coupon expCoupon, Ticket expTicket) +647
   iLabs.LabServer.LabView.LVPortal.Page_Load(Object sender, EventArgs e) +821
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Control.OnLoad(EventArgs e) +95
   System.Web.UI.Control.LoadRecursive() +59
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678

 

Does someone has an idea on this topic?

 

all the best from germany

 

CheVeyo

 

P.S. Can it be a 32/64 bit issue in the DCOM ?

 

 

 

 

0 Kudos
Message 1 of 2
(2,918 Views)

Hi CheVeyo,

 

first of all one question: What is the difference between the machines, that run without any issues and the ones that show the behavior?

 

Is there any difference in the Software Versions?

Do you use other driver versions? Different VS version?

 

Best regards,

Melanie

Best regards,
Melanie Eisfeld
Senior Applications Engineer, National Instruments Germany
Certified LabVIEW Developer
Certified TestStand Architect
0 Kudos
Message 2 of 2
(2,748 Views)