Hello together
with the classes of QuickOPC-software I have to send and receive information of sales orders between NAV2009R2 and an OPC server.
The information of sales orders are collected in a buffer table and should be transferred to the OPC server by NAS with the help of a codeunit. Lots of configuration in different areas has been done and I can transfer data to and receive data from the OPC server successfully if I start the codeunit manually.
If I start the NAS service, the codeunit runs but writes the following error to the protocol:
“The call to member ReadItemValue failed. OpcLabs.EasyOpcRaw.DataAccess.RawEasyDAClient returned the following message:
The RPC-server is unavailable.”
Does somebody has an idea which configuration isn't correct or is missing.
Thanks a lot,
Simon
0
Answers
Franz Kalchmair, MVP
Alias: Jonathan Archer
please like / agree / verify my answer, if it was helpful for you. thx.
Blog: http://moxie4nav.wordpress.com/
OpcLabs is of type Automation, right?
I tested the manual transfer on the same computer on which the NAS is running on! Also the account is the same.