Home All Groups Group Topic Archive Search About

ReportingService is not define? (MSDN code!)

Author
14 Jun 2006 11:22 AM
mtczx232
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)

Author
14 Jun 2006 11:35 AM
mtczx232
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?
Author
14 Jun 2006 12:03 PM
Cowboy (Gregory A. Beamer)
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.

--
Gregory A. Beamer

*************************************************
Think Outside the Box!
*************************************************
<mtczx***@yahoo.com> wrote in message
Show quote
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)
>

AddThis Social Bookmark Button