Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

crystal reports not working

Status
Not open for further replies.

GIGN

Programmer
Oct 6, 2000
1,082
NZ
No matter what I try I can't get a crystal report viewer to show up in my application. I am using Visual Studio.net.

My pages never get to Page_Load even - the error occurs when it tries to load the viewer control - the error says


NullReferenceException: Object reference not set to an instance of an object.]
CrystalDecisions.Web..get_7()
CrystalDecisions.Web.CrystalReportViewer.OnInit(EventArgs e)
System.Web.UI.Control.InitRecursive(Control namingContainer)
System.Web.UI.Control.InitRecursive(Control namingContainer)
System.Web.UI.Control.InitRecursive(Control namingContainer)
System.Web.UI.Page.ProcessRequestMain()


I am getting very sick of this - I have even tried a walkthrough with no success

even if I create an empty viewer it throws this error - is this some kind of bug?

Anyone got crystal reports.net runnng with Visual Studio?

<bb/>
 
I have also tried creating the objects programatically - this works - I can load my report -BUT then when I go to add the viewer to my pages Controls collection - I get the same error.

What is going wrong?
 
I had to re-install the Crystal Reports components from the Visual Studio.net installation disk - now works fine

<bb/>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top