Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: WCF Silverlight Errors
I have an existing project with a Silverlight 3 app. I created a SALESservice.svc. This is working fine. Now I added another TARGETservice.svc to my project
and rebuilt my entire project but when I am trying to add the service reference in to the Silverlight app I get the following error:
There was an error downloading metadata from the address.  Please verify that you have entered a valid address.
I didn't write any code in ISALESservice.svc and ITARGETservice.svc. I have written in SALESservice.svc.cs and TARGETservice.svc.cs files.
 
Is this causing the error?
SALESservice.svc is working. I didn't add any code in web.config file.
 
Regards,
JN
 

[orig. title]
how can I solve There was an error downloading metadata from the address error in WCF In VS 2008?
Posted 23-Feb-11 23:58pm
SRIRAM 21.4K
Edited 24-Feb-11 0:09am
Slacker00772.1K
v4
Comments
d@nish at 24-Feb-11 9:52am
   
Have you provided correct service endpoint? And can you access it via browser?
ArunRajendra at 3-Jul-13 0:50am
   
Remove the newly added service to verify if that's what is causing the error.
CHill60 at 3-Jul-13 7:29am
   
It is not quite a "newly added" service as the question is 2 years old :-)
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 6

plz check end points & attributes for the created & existing services,
 
check all the settings related to wcf services then deploy & consume
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 7

Solution 7
 
I was using a class that I was returning from a WCF call that did not have the correct Data Contract or Data Member decorations associated with it or it's properties. As soon as this was corrected, it updated normally.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 5

It may cause due to different port or service name used when adding the service reference.
 
Make sure the port or service name same when the time of being added service reference
  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 686
1 OriginalGriff 385
2 CPallini 240
3 PIEBALDconsult 150
4 Magic Wonder 131
0 OriginalGriff 5,795
1 Sergey Alexandrovich Kryukov 5,158
2 CPallini 4,740
3 George Jonsson 3,167
4 Gihan Liyanage 2,450


Advertise | Privacy | Mobile
Web02 | 2.8.140916.1 | Last Updated 8 Aug 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100