Link to home
Start Free TrialLog in
Avatar of rcowen00
rcowen00Flag for United States of America

asked on

The HTML document does not contain Web service discovery information. There was an error downloading

I am trying to set up a Web Reference in Visual Studio 2010 and getting the following error and the Add Reference box is grayed out.  It does show the Report server correctly and accepts my credentials.  Any suggestions?  


The HTML document does not contain Web service discovery information.
There was an error downloading 'http://174.36.80.36:8080/Reports/Pages/Folder.aspx/$metadata'.
The request failed with HTTP status 404: Not Found.
Avatar of Eduard Ghergu
Eduard Ghergu
Flag of Romania image

Hi,
You're not pointing to the correct resource. An asp.net based webservice should expose a wsdl file.
You can have a look at: http://msdn.microsoft.com/en-us/library/aa237438(v=sql.80).aspx
Avatar of rcowen00

ASKER

Per the provider, I need to Have you make sure this web service does have a discovery file/wsdl?   How do I go about doing that?  Any tutorials??
What do you want to achieve?
What is the URL given to you for the webservice?
I am trying to deploy embedded reports in my pages using SQL reporting services.  I am following this http://channel9.msdn.com/Learn/Courses/SQL2008R2TrainingKit/SQL10R2UPD01/SQL10R2UPD01_HOL_04/Exercise-1-Embedding-Reporting-into-an-ASPNET-Application to accomplish that.  

http://174.36.80.36:8080/Reports
ASKER CERTIFIED SOLUTION
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I don't know what you mean.  I'm sure it is my lack of understanding. I believe I need to create or push up to the report server a .asmx file to create a web reference to it.
Regarding "http://localhost/reportserver/reportservice.asmx

You can type this URL in your browser and observe the WSDL that is generated. Note that in the example above, the report server is running locally on my machine. The name of the web-service is called reportservice.asmx. If you can see the WSDL, then everything is fine and we can now proceed to build the sample."

When I put that in my browser, no file is found.  What do I do then, the tutorial I have just moves on with no mention of what do if it isn't found.
I finally found what I was doing wrong.  I should have been using http://174.36.80.36:8080/ReportServer/ReportService2005.asmx