
Problem trying to Debug Web form with CRViewer
Well here's what I've discovered... I couldn't put a CRViewer into an
existing project. However, if I created a new project, put the viewer on
its web form then data bind it, it works. Then you can add this project to
the solution project you're working on. Weird.
Quote:
> Hello,
> I've tried putting the CRViewer on to a web form using the exact process
> described in the Help and I cannot get by this problem when I try to
Debug.
> "Object reference not set to an instance of an object". Here's what the
> stack shows:
> [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()
> The viewer displays the report just fine in Design mode so the data
binding
> seems to be working.. What am I neglecting to do? Thanks for any ideas.
> Laura.