View Single Post
  #1 (permalink)  
Old June 18th, 2004, 09:06 AM
jmurdock jmurdock is offline
Authorized User
 
Join Date: Jun 2004
Location: Peterborough, Ontario, Canada.
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 7 p 214 code didn't work, changes needed..

I am working through the book (page by page, hence all the posts).

Currently I am working through Chapter 7, building a windows app that connects to the Reporting Services web service to manage reports.

On page 214 it tells us to create a new class and name it RSUtilities. It tells us to add system.io and [projectName].ReportingWebService

I had to also add:
System.Web.Services.Protocols

or I could not work with the Soap protocol.

If anyone else gets Soap related code errors showing up this may be what you need to do.

Using code on page 215 I got the following error:
C:\NetProjects\ReportServicesManager\ProfessionalS QLReportingServicesManager\MainForm.vb(298): 'ProfessionalSQLReportingServicesManager.RSUtiliti es.Private Shared Sub ErrorHandler(ex As System.Exception)' is not accessible in this context because it is 'Private'.

I changed the way I declared my sub to this:
Shared Sub ErrorHandler(ByVal ex As Exception)
and the error went away.

If this is not proper, please someone let me know.

Sandy Murdock MCP
__________________
Sandy Murdock MCP