Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 Reporting Services Development
 Web Reference Build Error

Author  Topic 

Hommer
Aged Yak Warrior

808 Posts

Posted - 2006-05-17 : 16:10:36


I got this build error “The Type or name space name “ReportingServices” does not exist in the class or namespace ‘getPropertySamples’ (are you missing an assembly reference?)

On following line
using getPropertySamples.ReportingServices;

I am following a MSDN walkthrough try to access reporting services from a console app.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/RSAMPLES/htm/rss_tutorials_v1_1z6q.asp

I added the web reference into the project. The odd thing during that step is that after I clicked Web Service on the Local Machine link, it brought up ReportService with URL as http://localhost/ReportServer/ReportService.asmx. However, I got page not found (http 404) when I selected it. Neither does my machine name work in the URL. But my IP worked, and that is how I added the web reference. By the way, the Reporting Service is on my local machine (as a ReportServer).

Anyway, I am not sure if that has anything to do with my build error. When I double click web service under Solution Explorer, it launched the object browser, I could see the project and namespace there.

What else should I try? Thanks!
   

- Advertisement -