Home > Net >  Unable to load agreement for "ServiceReference becomes unavailable but. XXXXX" endpoint co
Unable to load agreement for "ServiceReference becomes unavailable but. XXXXX" endpoint co

Time:10-07

Recently created a WPF browser project, added the WCF service references, compile no problem, but the execution. Xbap file, the following error:
System. InvalidOperationException: unable to load agreement for "ServiceReference becomes unavailable but. XXXXX" endpoint configuration section, because multiple endpoints configured found the agreement, please indicate by name preferred endpoint configuration section,
Online said the reason is the config node have multiple endpoint in the same node, but my App. No repeat in the config node, a great god, please give directions

CodePudding user response:

 for multiple endpoints configured found the agreement 


Make a copy of your configuration file should be much more

CodePudding user response:

reference 1st floor it_gz_xi response:
 for multiple endpoints configured found the agreement 


Make a copy of your configuration file out should be much

Checked, no more, and I put the reference service references deleted recompiling after open. Xbap file, will appear the error, it's strange that in the project has not quoted any trace of the service reference, and appear the error, the reason why is my browser? Does not automatically refresh?
  •  Tags:  
  • C#
  • Related