Author Topic: OPC Driver  (Read 3976 times)

baguinn

  • Newbie
  • *
  • Posts: 31
    • View Profile
OPC Driver
« on: December 03, 2013, 09:44:51 AM »
I am trying to update a project presently running on version 3.23 to 3.61.  I can't seem to get the new OPC driver to work.  I keep getting this error when I try to open the page with the OPC driver on it.

An error occurred creating the form. See Exception.InnerException for details.  The error is: Could not load file or assembly 'OpcNetApi.Com, Version=2.1.105.1, Culture=neutral, PublicKeyToken=9a40e993cbface53' or one of its dependencies. The system cannot find the file specified.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: OPC Driver
« Reply #1 on: December 03, 2013, 10:08:46 AM »
Try this:

1) Right click the AdvancedHMIDrivers project in Solution Explorer and select properties
2) Go to the References Tab
3) SelectOpcNetApi
4) In the Properties Window, change Copy Local to True
5) Do the same for OpcNetApi.Com


I've been reworking the OPC driver to make it more efficient for a big project I currently have. It will probably continue to get updates each time a new release is posted.

baguinn

  • Newbie
  • *
  • Posts: 31
    • View Profile
Re: OPC Driver
« Reply #2 on: December 03, 2013, 01:32:49 PM »
That took care of it.

Thanks Archie