开发者

how can I solve There was an error downloading metadata from the address error in WCF in VS 2008?

开发者 https://www.devze.com 2023-02-12 23:00 出处:网络
I have an existingproject with asilverlight3 app. First I created SALESservice.svc.This is working fine. Now I added another TARGETservice.svc to my project

I have an existing project with a silverlight3 app. First I created SALESservice.svc.This is working fine. Now I added another TARGETservice.svc to my project

and rebuilded my entire project but when I am trying to add the service reference in to the silverlight app I g开发者_开发百科et 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 error? But for SALESservice.svc it is working. I didn't add any code in web.config file.

Regards, JN


try accesing the url of your service from your browser, I had the same problem in my case it was that I didn't have enough memory to use the service, I closed some programs and boya!! it worked like a charm. Hope it helps

0

精彩评论

暂无评论...
验证码 换一张
取 消