I need to see report using ReportViewer. Problem is when I want to see report
as customer it asks for Username and Password. So I need to code in page load
like
Imports Microsoft.Samples.ReportingServices.ReportViewer
Dim rs As ReportingService = New ReportingService
rs.Credentials = New NetworkCredential(username, password, domain)
Dim extensions() As Extension = rs.ListExtensions(ExtensionTypeEnum.Delivery)
Problem is it says "ReportingService" Type not defined. Dont know what I am
missing. Please any one help.Have you addded a Web Reference to the report server web service?
If not, use Project -> Add Web Reference and browse to
http://<server>/reportserver/reportservice.asmx.
Watch what namespace the web reference goes into, you'll need to use
Imports on the namespace or fully qualify the ReportingService type.
--
Scott
http://www.OdeToCode.com/blogs/scott/
On Tue, 19 Oct 2004 16:35:03 -0700, "LordAli"
<LordAli@.discussions.microsoft.com> wrote:
>I need to see report using ReportViewer. Problem is when I want to see report
>as customer it asks for Username and Password. So I need to code in page load
>like
>Imports Microsoft.Samples.ReportingServices.ReportViewer
> Dim rs As ReportingService = New ReportingService
> rs.Credentials = New NetworkCredential(username, password, domain)
> Dim extensions() As Extension =>rs.ListExtensions(ExtensionTypeEnum.Delivery)
>Problem is it says "ReportingService" Type not defined. Dont know what I am
>missing. Please any one help.
No comments:
Post a Comment