|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
ReportingService is not define? (MSDN code!)I try the code ffrom MSDN ReportingService.Render Method at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rsprog/htm/rsp_ref_soapapi_service_lz_6x0z.asp and i add reference to project: http://localhost/ReportServer/ReportService.asmx But i got "not define" Error. what is namespace of ReportingService? (VS 2005 team with SQL2005 dev) we need to add Imports that point to our project web referance, like
that: Imports ConsoleApplication1.localhost but I have another q: a)I find in some code that use with this: Microsoft.ReportingServices.WebServer.ReportingService what is it? I not find any assembly or ref like that?? b)how I deploy this project to another server address? Let's see if we can touch on everything.
For 2005, you probably want: http://localhost/ReportServer/ReportService2005.asmx Although http://localhost/ReportServer/ReportService.asmx can work. Make sure you are configured correctly by hitting the URL directly. Changing URLs when deploying? Easy, set the service URL when you call it. You can fire at any valid ReportServer instance. Deploy? Either change the address in the properties and use VS or use an ..rss script. There is an article on MSDN that explains the scripted deploy. -- Show quoteGregory A. Beamer ************************************************* Think Outside the Box! ************************************************* <mtczx***@yahoo.com> wrote in message news:1150284160.434621.128880@y43g2000cwc.googlegroups.com... >I try the code ffrom MSDN ReportingService.Render Method at: > > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rsprog/htm/rsp_ref_soapapi_service_lz_6x0z.asp > > > and i add reference to project: > http://localhost/ReportServer/ReportService.asmx > > But i got "not define" Error. > > what is namespace of ReportingService? > > (VS 2005 team with SQL2005 dev) > |
|||||||||||||||||||||||