Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases 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 March 13th, 2007, 04:37 PM
Authorized User
 
Join Date: Feb 2007
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default ReportViewer runtime error:Object reference not se

Hello I am using reportviewer control to show a graph of some data on an asp.net page. It is working fine in the debugger, but when I move the code over to our testing server I get a runtime error, the runtime error shows up on the webpage and simply says:

An error has occurred during report processing.
Exception has been thrown by the target of an invocation.
Object reference not set to an instance of an object.

I tried instantiating the ReportViewer in code behind like so:

Microsoft.Reporting.WebForms.ReportViewer r = new Microsoft.Reporting.WebForms.ReportViewer();

That didn't help at all.
Any ideas?
Thanks a lot you guys have been very helpful.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Class Object reference error. mjhoagland ASP.NET 1.0 and 1.1 Basics 2 February 2nd, 2006 09:28 AM
Error in OleDBConnection : Object reference not se pvsunil Classic ASP Databases 0 April 9th, 2005 02:45 AM
Object reference Error mrideout BOOK: Beginning ASP.NET 1.0 4 August 9th, 2004 07:29 AM
Object reference error shaileshmark SQL Server 2000 2 July 22nd, 2004 03:13 PM





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