Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Crystal Reports Web Control Problems


Message #1 by "Thomas Fuller" <tfuller@g...> on Tue, 28 May 2002 15:16:29
I?m trying to put together a demo of what Visual Studio.Net can do with 
Crystal Reports and I keep getting an error when I try to start up the web 
form object from the CrystalDescisions dll.  I can actually create compile 
and use the windows forms version but as soon as I try to create the 
asp.net web application I get the following error.

--------------------------------------------------------------------------

Object reference not set to an instance of an object. 
Description: An unhandled exception occurred during the execution of the 
current web request. Please review the stack trace for more information 
about the error and where it originated in the code. 

Exception Details: System.NullReferenceException: Object reference not set 
to an instance of an object.

Source Error: 

An unhandled exception was generated during the execution of the current 
web request. Information regarding the origin and location of the 
exception can be identified using the exception stack trace below. 

Stack Trace: 
 
[NullReferenceException: Object reference not set to an instance of an 
object.]
   CrystalDecisions.Web..get_
---------------------------------------------------------------------------

  7() +189
   CrystalDecisions.Web.CrystalReportViewer.OnInit(EventArgs e) +352
   System.Web.UI.Control.InitRecursive(Control namingContainer) +235
   System.Web.UI.Control.InitRecursive(Control namingContainer) +179
   System.Web.UI.Control.InitRecursive(Control namingContainer) +179
   System.Web.UI.Page.ProcessRequestMain() +171

--------------------------------------------------------------------------

Has anyone seen this before? I?m guessing it has something to do with my 
configuration but I can?t seem to find any examples out there of others 
who have had this issue when trying to use Crystal Reports from a asp.net 
app.  I?ve tried installing and running the MSDN example and I get the 
same error.  Please any help is very appreciated.

Thanks,
Tom

  Return to Index