Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Re: Crystal Reports Web Control Problems


Message #1 by "Pete Gilbert" <PeteShir@s...> on Thu, 26 Sep 2002 04:09:10
> I?m trying to put together a demo of what Visual Studio.Net can do with 
C> rystal Reports and I keep getting an error when I try to start up the 
web 
f> orm object from the CrystalDescisions dll.  I can actually create 
compile 
a> nd use the windows forms version but as soon as I try to create the 
a> sp.net web application I get the following error.

> -------------------------------------------------------------------------
-

> Object reference not set to an instance of an object. 
D> escription: An unhandled exception occurred during the execution of the 
c> urrent web request. Please review the stack trace for more information 
a> bout the error and where it originated in the code. 

> Exception Details: System.NullReferenceException: Object reference not 
set 
t> o an instance of an object.

> Source Error: 

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

> Stack Trace: 
 > 
[> NullReferenceException: Object reference not set to an instance of an 
o> bject.]
 >   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 
c> onfiguration but I can?t seem to find any examples out there of others 
w> ho have had this issue when trying to use Crystal Reports from a 
asp.net 
a> pp.  I?ve tried installing and running the MSDN example and I get the 
s> ame error.  Please any help is very appreciated.

> Thanks,
T> om

  Return to Index