My WinForms VB.NET application consumes a webservice to perform some queries. When running in debug or release mode under the Visual Studio IDE, it works perfectly, but once distributed on client computers (or even on my own, running straight from the executable), it fails with this message:
System.InvalidOperationException: The standard endpoint element that references the 'WsTrf3.InstallationService' agreement could not be located in the Client ServiceModel configuration section. This may have occurred because of the lack of a configuration file for your application or because no endpoint element corresponding to this agreement could be found in the client element.
I suppose something that is present during debugging is missing from the distribution, but I have no clue what. Any help would be greatly appreciated.