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 ...

Moderator: uasdknet

Post Reply
prudhviraj1991
Full Member
Full Member
Posts: 7
Joined: 16 Dec 2018, 19:42

ERROR: Server configuration does not have any endpoints defi

Post by prudhviraj1991 »

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

User avatar
Support Team
Hero Member
Hero Member
Posts: 3064
Joined: 18 Mar 2011, 15:09

Re: ERROR: Server configuration does not have any endpoints

Post by Support Team »

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

mrupprath
Jr. Member
Jr. Member
Posts: 1
Joined: 11 Aug 2019, 10:34

Re: ERROR: Server configuration does not have any endpoints

Post by mrupprath »

Hello Support Team,
i am also facing this issue:
Please have a look at your sources from: "Code_Webinar_NET_Programming".
Neither the empty nor the complete Server is running at my configuration:

Win 10 , VS2019 community , .NET Based OPC UA Client/Server SDK 3.0.2.450
Errtor message is same as before:ERROR: Server configuration does not have any endpoints

Please fix and leave a message what wen't wrong

Thanks in advance

Marc

Post Reply