OPC error messages

  • Errors usually lead to a termination. The reported error must be removed and the driver must be restarted.

  • Warnings are purely for information about an (unexpected) event that has occurred (operation could not be executed, a default value had to be used, ...). In some circumstances they may prevent the execution of an operation, or a series of operations, but not the program run.

OPCResources.cxx

progName ": in section [opc_xxx]: unknown resource: " keyWord
Unknown entry in the config file under section [opc]. -> Check on the entries in the config file.
"opc_xxx : no section for server " servername "
The server-specific section for the server servername is missing in the config file.

OPCHWService.cxx

"OPCHWService" "initialize", "No [opc] section in config file !
Error: No section [opc] present in the config file -> Check on the entries in the config file.
"OPCHWService" "initialize" "No 'server' keyword in config file !
Error: The keyword 'server' is missing in the config file -> Check on the entries.
OPCHWService::initialize: CoInitializeSecurityCOM: library failed to initialize or already in use.
Error: The COM library could not be initialized.
"OPCHWService::initialize: Could not get COM memory managerErrNo."
Error: Could not initialize the COM memory manager.
OPCHWService::initialize: No OPCServer could be started!.
Error: None of the specified servers could be started -> Check on installation of the servers and the config entries.
OPCHWService::start: No or wrong internal DP for server: can't use server!
Error: The internal data point is missing for the given server -> Create data point and restart client.

OPCHWMapper.cxx

OPCHWMapper::addDpPa Got invalid Transformationtype for OPC!
Warning: An incorrect transformation type was chosen. The transformation type is invalid for the OPC client. Choose a different transformation type in the peripheral address panel.
OPCHWMapper::addDpPa: Could not add HWObject!
Warning: The OPCHWObject could not be inserted in the mapper in addDpPa.

OPCHWObject.cxx

OPCHWObject::setAddress: Got /"0/" in adr!
Warning: An empty string was passed as address. The object cannot be used.
OPCHWObject::setAddress : Invalid address for an OPCHWObject:" +server + gruppe + item
Warning: The format of the address is invalid. See the chapter on configuration for the correct form for an address

OPCServer.cxx

"OPCServer" "initialize" "Could not get CLSID for " + symb. Server Name :
Error: Could not find a CLSID in the registry for the ProgID specified in the config file. -> Check on the entry in the config file; check on the server's registration
"OPCServer" "initialize" "CoCreateInstanceEx: could not connect to " + symb Servername + "at" + pfadname :
Error: The server could not be started.
"OPCServer" "initialize" "could not get pointer to IUnknown of" + symb. Name:
Error: The server has reacted negatively to the request for an IUnknown
"OPCServer" "initialize" "Server does not support IOPCBrowseAddressSapce -> no browse info"
Warning: Since the server doesn't support the IOPCBrowseAddressSpace, no information can be output about the server's address space.
"OPCServer" "initialize" "No connection monitoring via callback for " + symb. Server Name
Warning: The server doesn't support IconnectionPointContainer. This could be a DA1.0 server. The server thus cannot inform the client about a shutdown.
"OPCServer" "writeData" "unknown groupname: " + Group name
Warning: the server doesn't know this group. -> Configuration error ?
"OPCServer" "readData" "unknown groupname: " + Group name
Warning: the server doesn't know this group. -> Configuration error ?
"OPCServer" "workproc" "Could not get serverstatus: starting reconnect Timer
Warning: Since the server status could not be retrieved, the connection to the server is being entirely discontinued and the reconnect timer started.
"OPCServer" "workproc" "Reconnected to server"
Warning: After a connection interrupt, the connection to the server could be restored.
"OPCServer "CheckSrvInterfaces" "Server does not support IOPCServer"
Error: The server doesn't support the IOPCServer interface. This is necessary, however.
"OPCServer" "CheckSrvInterfaces" "Server does not support IOPCItemProperties"
Warning: The server doesn't support the IOPCItemProperties interface.
"OPCServer" "CheckSrvInterfaces" "Server does not support IOPCCommon"
Warning: The server doesn't support the IOPCommon.
"OPCServer", "CheckSrvInterfaces", "Server does not support IConnection-Pointcontainer"
Warning: The server doesn't support the IconnectionPointcontainer. It is thus a DA1.0 server. This means that no connection monitoring is possible with the callback mechanism.
"OPCServer" "CheckSrvInterfaces" "Server does not support ICallrItemConfig but was started as CALL-R Server"
Warning: If enableCALLR equals "yes" in the config file, then this error message leads to a termination, as it is then not possible to create the items in the
"OPCServer" " addItem2CallRSrv " " Could not create item "+ itemName + "
The item itemname could not be created in the server.

OPCGroup.cxx

"OPCGroup:" + groupName "addItem2Group" "Item was not added, no internal DP for group!"
Warning: The item was not inserted in the group, because no corresponding internal data point could be found when the group was being created. -> Create a corresponding internal data point.
"OPCGroup:" + groupName "additem" "AddItems returned " + addError + " for " + itemName
Warning: The item could not be inserted in the group because of the specified error.
"OPCGroup:" + groupName "removeItemFromGroup", "could not remove " + itemName
Warning: The item named could not be deleted from the group.
"OPCGroup:" groupName "groupGA" "Could not start Refresh on " groupName "!"
Warning: The general query from the group could not be started. -> Is the group status active? A refresh cannot be done on passive groups.
"OPCGroup:" groupName "writedata", "unknown ItemDataType"
Warning: The data type requested by the group cannot be used.
"OPCGroup:" groupName "writedata" "could not write " item
Warning: The item could not be written.
"OPCGroup:" groupName "readData" "Could not read " item
Warning: The item could not be read.
"OPCGroup:" groupName,"syncWrite" "Could not write!"
Warning: the synchronous write operation could not be executed.
"OPCIfceDataCallback" "SyncRead" "Got invalid datatype from server!
Warning: the result of a synchronous read operation has an incorrect data type.
"OPCGroup" groupName "hotlink2internal" "Could not set new Active State"
Warning: The group status in the server could not be changed. -> Incorrect value
groupName "hotlink2internal" "Could not set new DeadBand"
Warning: Group status in the server could not be changed -> Incorrect value?
"OPCGroup" "answer4DpId" "Could not set new Update Rate"
Warning: Group status in the server could not be changed -> Incorrect value?
"OPCGroup" groupName "answer4DpId" "Could not set new Active State"
Warning: Group status in the server could not be changed -> Incorrect value?
"OPCGroup" groupName "answer4DpId" "Could not set new DeadBand"
Warning: Group status in the server could not be changed -> Incorrect value?
"OPCGroup" groupName "start" "No internal DP for group. Group cannot be used!
Warning: No internal data point exists for the group! The group has in fact been created in the server, but it cannot be used.
"OPCGroup" groupName "start" "Could not set group state active"
Warning: The group status could not be changed in the server.
"OPCGroup" groupName "CheckGrpInterfaces" "Group does not support IOPCGroupStateMgt"
Error: The group does not support the IOPCGroupStateMgt.
"OPCGroup" groupName "CheckGrpInterfaces" "Group does not support IOPCSyncIO"
Error: The group does not support IOPCSyncIO. No synchronous write and read transactions possible.
"OPCGroup" groupName "CheckGrpInterfaces" "Group does not support IOPCItemMgt"
Error: The group does not support IOPCItemMgt.

OPCIfceAdviseSink.cxx

"OPCIfceAdviseSink" "OndataChange" "bad tymed in LPFORMATTETC"
Warning: Server used wrong storage medium for data transfer. Client could not read the data.
"OPCIfceAdviseSink" "OndataChange" "Bad hGlobal in LPSTGMEDIUM"
Warning: The memory passed by the server is bad
"OPCIfceAdviseSink" "OnDataChange" "unknown Format in LPFORMATETC"
Warning: The data in the transferred memory has neither the format m_data nor m_datatime nor m_write

OPCIfceShutdown.cxx

"OPCIfceShutdown" "ShutdownRequest" "shutdown requested by server: " Reason
Warning / Info: The server has initialized a shutdown and called the client's callback interface