on ‎2015 Aug 20 7:46 PM
Hi All,
I am trying to connect SAP Plant Connectivity(15.0 SP4) to Kepware Redundancy Master.
I am able to see the Redundancy Master OPC but when I start the agent getting some error as attached
| 21-08-2015 00:00:16 109 | Error | 8 | 3032 | PCoSvcHost | OpcDaAgent | 1183 | COM exception [HRESULT = 0x80040154]. | |
| Retrieving the COM class factory for remote component with CLSID {337616E4-ABE3-44DC-8B9E-ED02532A8F96} from machine localhost failed due to the following error: 80040154 localhost. | COMException: Retrieving the COM class factory for remote component with CLSID {337616E4-ABE3-44DC-8B9E-ED02532A8F96} from machine localhost failed due to the following error: 80040154 localhost. |
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at SAP.Manufacturing.Connectivity.OPC.Common.OpcServer.Connect(Guid opcServerClassId, String host)
at SAP.Manufacturing.Connectivity.Agents.Opc.Da.Wrappers.DaServerWrapper..ctor(OpcServerInfo serverInfo, DaSettings settings, BrowseModeEnum browseMode, ShutdownRequestEventHandler handler)
at SAP.Manufacturing.Connectivity.Agents.Opc.Da.OpcDaAgent.EstablishConnection()
Experts advice to add permissions to CLSID in DCOm but there is no such kind of CLSID present.
Please let me know where I am going wrong.
Regards
G.Partheeban
Request clarification before answering.
Hi,
Is PCo and Redundancy Master installed on the same server, or different servers? If different then you will need to follow Kepware DCOM configuration to properly configure both the client (PCo server) and server (OPC server) DCOM settings.
If PCo and Redundancy Master are both installed on the same server, can you use the Kepware QuickClient to connect to Redundancy Master?
Regards, Steve
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Steve,
Thanks for the reply.
My Architecture is , Kepware primary and secondary on two different server and SAP PCo and redundancy master on one server. All the DCOM settings have been done and I am able to start the agent when I browse the Kepware primary and secondary. But I am not able to do when I connect to Redundancy Master. From OPC Quick Client I am able to browse the Redundancy Master.
Even I tried with Cogent Hub I am able to browse the tags.
Please let me know is that I have to do any other settings?
Regards
G.Partheeban
Hi,
Please try this: For the Agent Instance, on the Host Tab, check the box "Run Host as an Executable" and start the agent instance. If it starts correctly, then the issue is with the LocalSystem user DCOM permissions. Then you will have to do one of two things:
If the agent instance still does not start in Run Host as an Executable, please log a support ticket against PCo so that the support team can investigate in more detail.
Regards, Steve
Hi Steve,
I have tried many options like,
1. Checking the "Run Host as an Executable".
2. Giving the Domain Username and Password in PCo Host.
3. Giving credentials in Redundancy Master Service.
Still same error comes up. Is that the issue with PCo or redundancy Master?
Since I am able to browse and fetch tags when I connect to Kepware and Cogent as I said before?
Regards
G.Partheeban
Hi,
I don't have any capability to duplicate your environment to test this. I would recommend that you first contact Kepware support and determine if there are any configuration that may need to be set to enable the class factory component to be registered. If this does not resolve the issue, please log a support ticket with SAP Support for PCo and provide the the PCo Log and PCo config, as well as the landscape details.
Regards, Steve
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.