on 04-12-2012 4:21 PM
Netweaver 7.3
SAPME 6.0.3
SAPMII 12.2
PCo 2.1
Kepware EX 5.6
We have installed PCo 2.1 and the Kepware EX 5.6 and we are getting an error when we try to execute our example agent. We tried to keep it simple by leaving the defaults to the OPC DA 3.0 connection, but we are getting this error. Not exactly sure what needs to be set up or if some of the prerequisite software has failed to completely install properly. Any advice is greatly appreciated.
Greg,
The COM error you get indicates you have version issues or registry issues.
Your installation may be of order and incomplete. Uninstall PCo and KepwareEx, then install the following in the order shown:
Hope this helps...
- Steve
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here is the error...
13.04.2012 14:43 | Error | . | 6 | 4128 | Test | Host | failed to create ConnectivityAgentProxy | [severity = Fatal] COM Exception |
[Unable to decode an error code.]
Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at SAP.Manufacturing.Connectivity.IPCoAgentControl.Start()
at SAP.Manufacturing.Connectivity.ConnectivityAgentProxy.Start()
at SAP.Manufacturing.Connectivity.WcfHost.Start()
13.04.2012 14:43 | Error | . | 7 | 4128 | Test | ServiceFaultManager | Manufacturing Fault: REASON = [severity = Fatal] COM Exception |
[Unable to decode an error code.]; SEVERITY = Fatal | ||||||||
13.04.2012 14:43 | Error | . | 7 | 4128 | Test | OpcDaAgent | COM Exception [HRESULT = -2147024809] from LegacyOpcWrapper | Unable to decode an error code. |
at SAP.Manufacturing.Connectivity.Agents.Opc.OpcServer.CheckResult(Int32 hr)
at SAP.Manufacturing.Connectivity.Agents.Opc.DaServer.CreateGroup(String name, ValueType updateRate, ValueType timeBias, Single deadband, Boolean requiresAdvise, UInt32* revisedUpdateRate)
at SAP.Manufacturing.Connectivity.Agents.Opc.Da.OpcDaAgent.CreateTagQueryGroup()
at SAP.Manufacturing.Connectivity.Agents.Opc.Da.OpcDaAgent.EstablishConnection()
Open Control Panel -->Administrative Tools-->Services and make sure that the Net.tcp port sharing service is set to either Manual or Automatic Start, and start it if not running.
Are you running ManagementConsole As Administrator (even if you are logged in with an Admin account)?
Did you assign a Service user name to run the Agent Instance, or leave the default .\localsystem account?
- Steve
Open Control Panel -->Administrative Tools-->Services and make sure that the Net.tcp port sharing service is set to either Manual or Automatic Start, and start it if not running.
Already Started and Manual
Are you running ManagementConsole As Administrator (even if you are logged in with an Admin account)?
I already run as Administrator
Did you assign a Service user name to run the Agent Instance, or leave the default .\localsystem account?
I am using the default for now.
It doesn't seem to be a PCo issue because it connects to the OPC Kepware source. I am thinking it has to do with a security issue or a driver issue outside of PCo.
If you cannot browse and Add Subscription Items Tags for the Agent Instance, you are not connecting to the OPC Server. What error(s) do you get when you try to browse from the Subcription items tab for the Agent Instance?
Does the server have Microsoft.Net Framework 4.0 installed?
Any additional error detail in the Event Viewer application logs?
- Steve
PCo is not compatible with .Net Framework 4.0. If it is installed you will need to perform the following:
it there are no ohter software products installed on the server other than what you listed for SAP products, then uninstalling the 4.0 Framework should not cause any issues.
- Steve
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.