Could not find the LDS configuration file

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

Moderator: uasdknet

Post Reply
david
Jr. Member
Jr. Member
Posts: 2
Joined: 16 Jul 2015, 09:54

Could not find the LDS configuration file

Post by david »

When I start my server with the /install option I get following error message in the log

09:54:33.923|0001|01|2|Could not find the LDS configuration file.
09:54:33.954|0001|01|2|[Bad] Error when reading certificate file of LDS configured in XML config file.|ArgumentNullException|Value cannot be null. Parameter name: storePath

In App.config, I disabled DiscoveryRegistration
<DiscoveryRegistration>
<Enabled>false</Enabled>
</DiscoveryRegistration>

Am I missing some configuration option?

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

Re: Could not find the LDS configuration file

Post by Support Team »

Hello,

You need to add
<DisableLdsCertificateExchange>true</DisableLdsCertificateExchange>
to the InstallationSettings.

Best regards
Support Team

david
Jr. Member
Jr. Member
Posts: 2
Joined: 16 Jul 2015, 09:54

Re: Could not find the LDS configuration file

Post by david »

Thanks for the solution, could you add this in the documentation?
As the application is not started at this time, I had to check ApplicationInstance.Default.IsStarted before printing the endpoints to avoid an exception.

Post Reply