Click here to Skip to main content
11,718,589 members (82,288 online)
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.5K
Edited 24-Feb-11 0:09am
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 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  
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  

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 651
1 OriginalGriff 210
2 F-ES Sitecore 185
3 Jochen Arndt 160
4 Maciej Los 130
0 OriginalGriff 535
1 Maciej Los 529
2 Richard MacCutchan 440
3 CHill60 415
4 F-ES Sitecore 415


Advertise | Privacy | Mobile
Web04 | 2.8.150901.1 | Last Updated 8 Aug 2013
Copyright © CodeProject, 1999-2015
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