Click here to Skip to main content
15,881,172 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
A project has service reference added. When this project is run independently connection is established without any errors. But when this project is used as addin in a product, the below error shown


Could not find endpoint element with name 'XXXXX' and contract 'XXXXX' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this name could be found in the client element.'
Posted
Updated 22-Apr-20 7:47am

Check your WCF service web.config file in which the endpoint definned correctly or not.
Binding used correctly or not.
 
Share this answer
 
Comments
Member 11903110 1-Sep-15 2:57am    
The end point and binding are proper. I am able to establish the session when the project is run individually. But when this project is added into a product and from the product when we try to establish the connection the exception is being thrown. I am stuck since a week with this. Please help if anyone is having idea on this
Did you ever solve this issue? I am having the exact same problem. My application reads the SOAP data fine until I try to run it within another application as an add-on (in this case I am running it as a .NET add-on inside of AutoCAD).
 
Share this answer
 
Comments
Richard Deeming 23-Apr-20 13:09pm    
"Me too" is not a solution to the question.

If you want to ask for more information, click the "Have a Question or Comment?" button under the question and post a comment.

If you want to ask a new question, then Ask a Question[^].

Do not post your question as a "solution" to someone else's question.

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