Login  •  Register


ERROR: Server configuration does not have any endpoints defi

Questions regarding the use of the .NET SDK 2.0 for Server or Client development or integration into customer products ...

ERROR: Server configuration does not have any endpoints defi

Postby prudhviraj1991 » 29 Jan 2019, 12:23

Hallo Support Team,

I am trying to create the basic empty server in C#, but i am facing with the error "ERROR: Server configuration does not have any endpoints defined.".

I have commented the ConfigureOpcUaApplicationFromCode() in visual studio code of lesson1 as explained in the C# server tutorial, and in App.config file I have changed the build mode to Embedded Resource, but still the same error exists.

Please let me know the solution if anyone of you faced the same issue.

Thanks & Best Regards,
Prudhvi Raj
prudhviraj1991
Newbie
Newbie
 
Posts: 7
Joined: 16 Dec 2018, 19:42

Re: ERROR: Server configuration does not have any endpoints

Postby Support Team » 08 Feb 2019, 07:18

Hello,

Please have a look at lesson 1 in ServerGettingStarted example. If you do not change anything here, the server will start. If you want to use the ConfigureOpcUaApplicationFromCode(), the App.config is ignored, so you do not change the build mode of the file.
Best regards
Unified Automation Support Team
User avatar
Support Team
Hero Member
Hero Member
 
Posts: 2391
Joined: 18 Mar 2011, 15:09


Return to .NET based OPC UA SDK

Who is online

Users browsing this forum: No registered users and 1 guest