OpcNetApi.dll - Any difference between Windows Server 2012R2 and Win10?|Classic OPC: DA, A&E, HDA, XML-DA, etc.|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
OpcNetApi.dll - Any difference between Windows Server 2012R2 and Win10?
Avatar
Scott Baker_1
New Member
Members
Forum Posts: 1
Member Since:
10/12/2022
sp_UserOfflineSmall Offline
1
10/12/2022 - 11:05
sp_Permalink sp_Print

I have a client application that runs on Windows Server2012R2 and does not have any issue - but I have also installed the same application on Windows 10 and I am continually getting the following error:

The URL scheme 'OPCDA' is not supported.

Here is the exception detail:

System.NotSupportedException was caught
Message="The URL scheme 'OPCDA' is not supported."
Source="OpcNetApi"
StackTrace:
at Opc.Server.Connect(URL url, ConnectData connectData)
at Opc.Da.Server.Connect(URL url, ConnectData connectData)
at Opc.Server.Connect(ConnectData connectData)
at Insite.Service.ScaleTrax.Host.CommunicationAdapters.OpcClientAdapter.Connect() in <redacted>

Any thoughts on why this is happening on Windows 10?

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
10/12/2022 - 14:40
sp_Permalink sp_Print sp_EditHistory

Try lower case 'opcda'. OPCDA should have never worked. Maybe the .NET framework was forcing it to lowercase in the Uri class on WS2012.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 48
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1435
Posts: 4855