Click here to Skip to main content
15,879,095 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi my friends
I 've made in the local WCF works but when it Publish and upload it on a host (for example: http://service.mysite.com/admin/Service.svc), then in website solution and Add service reference click and enter URL and click Go button, the service does not add to my solution and show this error:
an error occurred while attempting to find services at http

There was an error downloading 'http://service.mysite.com/admin/Service.svc/_vti_bin/ListData.svc/$metadata'.
The request failed with the error message:
...

please help me

my web.config: http://s6.picofile.com/file/8196842626/conf.jpg[^]
Posted
Comments
[no name] 30-Jun-15 9:14am    
You probably need to configure an endpoint for the metadata exchange so that the metadata can be discovered.
Farid Karami (FK8) 1-Jul-15 3:04am    
Please do not know when something not speak
I feel you are ignorant

1 solution

Try to use HTTP binding instead of HTTPS
 
Share this answer
 
Comments
Farid Karami (FK8) 1-Jul-15 3:03am    
Please do not know when something not speak
I am sorry.

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