Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Services / Reporting Services / October 2005

Tip: Looking for answers? Try searching our database.

Setting Reference?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Wayne Wengert - 29 Oct 2005 11:40 GMT
I have just starting to try to use RS and I have some questions. (My
development environment is VS 2003/VB). I use a shared hosting service for
SQL Server 2000 with RS. I built a report in VS 2003 and deployed it to the
RS server I am assigned. Now I want to view that report from a web page. The
instructions I found at the ISP are shown below. I have these quesstions:
- How do I create the "web service proxy class"? I don't understand what
they want?
- What "Imports" do I need to add? (the "ReportinService" is flagged as
undefined?

I appreciate any pointers to help me figure this out.

Wayne

============================================
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
' You must create the web service proxy class to point to
' https://rs.myisp.net/ReportServer/reportservice.asmx
' before using this code

       Dim rs As New ReportingService()

       rs.Credentials = New
System.Net.NetworkCredential("<report_username>", "<report_password>", "")

       Dim results As Byte(), image As Byte()
       Dim streamids As String(), streamid As String

       ' Render the report to HTML4.0

       results = rs.Render("/<path_to_report>", "HTML4.0", _
       Nothing,
"<DeviceInfo><StreamRoot>/WebApplication1/</StreamRoot></DeviceInfo>",
Nothing, _
       Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, streamids)

       Response.BinaryWrite(results)

End Sub

================================================
Wayne Wengert - 30 Oct 2005 11:44 GMT
I found a couple of items via Google that explained the process of setting
up the Proxy. I realize now that once I defined and referenced thew proxy,
the references are o longer undefined.

Wayne

>I have just starting to try to use RS and I have some questions. (My
>development environment is VS 2003/VB). I use a shared hosting service for
[quoted text clipped - 39 lines]
>
> ================================================
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.