2016-06-22 15:19:00.044Z [L: Error] [T: 6] [U: SYSTEM] [O: com.thingworx.opcda.OpcDaClient] Error while initializing new OpcDaThing, or opening connection to Platform. : System.AccessViolationException: 尝试读取或写入受保护的内存。这通常指示其他内存已损坏。 在 com.thingworx.communications.client.TwApiWrapper.twApi_Connect(UInt32 timeout, Int32 retries) 在 com.thingworx.communications.client.TwApiWrapper.Connect(UInt32 timeout, Int16 retries) 在 com.thingworx.communications.client.BaseClient.start() 在 com.thingworx.opcda.OpcDaClient.run()
Hello Ling Zhou, we have an article which describes CS227473 How to configure the connection between ThingWorx and the OPC DA service.
Let me know if this helps.
Your error message: 尝试读取或写入受保护的内存。这通常指示其他内存已损坏。 在 = Attempted to read or write protected memory . This is often an indication that other memory is corrupt . in
What kind of device are you attempting to connect with, and have you tested connecting to any other devices to see if the problem persists on those as well?
If you have the ability to open a support case I would do so.
Thank you Meghan. I want to know, does KEPware have to connect with device when connect to thingworx? I just want a DEMO, so I configured a Item and then disconnect the device.
Thank you every much, is it have to be configured SSL? I set DisableEncryption to true is no OK ?
Ling Zhou, You should not need an actual device connected to KEPServerEX to show connectivity to ThingWorx using the OPC DA Extension.
The current shipping version of KEPServerEX which is 5.20 has a built in agent to push data up to a ThingWorx instance. You would not need the OPC DA Extension if you use that version.
As for the error you are seeing, I also get that when I try to disable encryption and connect to a non SSL endpoint. I just leave encryption enable and use the self signed certificate.
Hi Dionne, other problem when I test BrowseItems service in OpcDaThing, there is a error like above, do you know why?
Unable to Invoke Service BrowseItems on OpcDaThing : null
Ling Zhou, When I see that message it usually means I did not put in a proper filter or path.
In the Filter make sure you have an asterix
and for the path it should be something like
Can you try adding * in the filter section to browse all items?