Getting error while creating OPCServer instance using C#.NET

venkatgude90

Member
Join Date
Jul 2016
Location
Pune
Posts
4
Hi

I am trying to retrive RSLINX data from c#.net application. I have refenced my .Net application to Interop.RSIOPCAUTO.dll. But when trying to create instance for OPC server, application throwing an exception at below line

oServer = new RsiOPCAuto_OPCServer();

Exception Details : Retrieving the COM class factory for component with CLSID {DFB8323C-A952-11D2-A46B-00C04F796375} failed due to the following error: 80040154.

Mentioned CLSID related RSIOPCAUTO class and I have referenced in my application.

:mad:

Thanks,
Venkatesh Gude.
 
You need to check if the dll is correctly registered in Windows Registry. Try looking for more information about the error number in MSDN.
 
hi

I have tried all possible ways suggested related to this error number but could not able to resolve.

I want to let you know few things
1. my machine has RSLINX Classic version installed in it
2. Currently the same code is executing on my production machine
where we have RSLINX OEM version installed.

Thanks,
Venkatesh Gude
 

Similar Topics

Hi all, I am getting a Fatal Error of 0xc0000005(-1073741819) While installing V21.03 on Computer(please refer to the attachment ) please help
Replies
5
Views
1,790
I've got 3 Powerflex 700 VC drives I'm trying to save to a project on CCW, and when I try to do a save, two of the drives are giving me an error...
Replies
0
Views
1,885
Hi guys, To make a short story of my problem, We had studio view 6.000 here installed on our laptop and alot of the automation have been done...
Replies
1
Views
2,536
I am getting the below mentioned error while updating firmware of MLX1100B using control flash software. The error is as given below 11/09/12...
Replies
12
Views
5,265
When i try to run my program in simulator mode, i get "TIMEOUT ERROR" I first click on simulator ON icon And After this when i click on WRITE TO...
Replies
8
Views
3,612
Back
Top Bottom