In Visual Studio 2008, I received the below error message while trying to add a web reference to my Web Application.
"There was an error downloading '.....asmx'. "

I had no issues when I tried the same in Visual Studio 2003.
What would be the problem?
Please help me, It's urgent.

Recommended Answers

All 6 Replies

i have typed that url as u mentioned in above link
http://localhost/website/service.asmx? (this format only)
if i use visual studio 2003 error is not getting ..if i use 2008 error downloading messgaes are coming ..what is teh reason behind it ..plz help me ...
while adding Web ref. we have that "Web reference name" textbox, right? it is disabled....also ...

Are you working on Windows Vista?
If you right click on you VS and run it as administrator it may help you and please attach picture of your problem I didn't firgured it out till now.

if i run that url in browsing its working ..

can anyone help me how do add it into webreference

So, can you please copy and paste asmx URL in VS, when it asks you to locate the asmx on your computer don't let it search for you, just copy and paste the URL (that's what I wrote in the URL I gave you it).

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.