Wrox Programmer Forums
|
BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7
This is the forum to discuss the Wrox book Professional SQL ServerReporting Services by Paul Turley, Todd Bryant, James Counihan, George McKee, Dave DuVarney; ISBN: 9780764568787
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 16th, 2004, 02:52 PM
qa qa is offline
Registered User
 
Join Date: Jun 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default MS SQL reporting services

I downloaded the chapter 7 project of Professional SQL Server Reporting services. I am able to build the solution but when I click the Go button on the main form, it gives the following error:
An exception has occured: Object reference not st to an instance of an object.

Thanks in adavance
 
Old June 17th, 2004, 10:04 AM
Wrox Author
 
Join Date: May 2004
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You probably have an object variable that hasn't been instanciated. You are probably missing a New keyword somewhere. What does the code look like and what like is blowing up?

Paul Turley, MCSD, MCDBA, MCT, MSF Practitioner
 
Old June 17th, 2004, 02:17 PM
qa qa is offline
Registered User
 
Join Date: Jun 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This is happening with the code I downloaded from this web site. I did not make any modifications. This is Chapter 7 code "Managing Reports using Program Code". When I step thru the code, it breaks in GetServerFolders() in Mainform.cs at line
items = rs.ListChildren("/", true);

I hope this helps in identifying the problem.

Quote:
quote:Originally posted by Paul_Turley
 You probably have an object variable that hasn't been instanciated. You are probably missing a New keyword somewhere. What does the code look like and what like is blowing up?

Paul Turley, MCSD, MCDBA, MCT, MSF Practitioner
 
Old June 24th, 2004, 02:30 PM
Registered User
 
Join Date: Jun 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I downloaded the code and ran it with same bug...here is how to fix it.

Go to Solution Explorer and expand the Web References folder. Right click the ReportingWebService item. On the pop up menu, click, Update Web Reference. That's it! Recompile or Debug the program and it will work. Hope this helps.:) Jesse





Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL 2000 Reporting Services digby_dog Reporting Services 1 June 22nd, 2006 10:38 AM
SQL 2000 Reporting Services Jane SQL Server 2000 1 June 7th, 2006 05:50 AM
SQL 2000 Reporting Services Jane SQL Server 2000 1 June 7th, 2006 05:49 AM
SQL Server Reporting Services ian.santos VS.NET 2002/2003 0 October 15th, 2004 01:12 AM
SQL REporting Services Jane SQL Server 2000 5 July 13th, 2004 04:24 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.