Click here to Skip to main content
15,886,919 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hello
there is no
app.config file
in
my web site
.
is it necessary?
when i wants to use of a web service in my host, i face to this error:
An endpoint configuration section for contract 'name of my webservice' could not be loaded because more than one endpoint configuration for that contract was found. Please indicate the preferred endpoint configuration section by name.


thanks

What I have tried:

i cant do any things.

help me
Posted
Updated 1-Nov-18 20:34pm

Look in your web.config file instead of looking for an app.config.
 
Share this answer
 
Service configuration setting(endpoint setting) is present in web.config.
So kindly look into web.config in your solution for error.

For more information read: Configuring Services Using Configuration Files | Microsoft Docs[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900