another post about problems with ReportViewer

another post about problems with ReportViewer

Old forum URL: forums.lhotka.net/forums/t/11086.aspx


roberto posted on Wednesday, January 25, 2012

Hi everyone
   I realized a sample WPF application in order to test Report Viewer (http://www.gotreportviewer.com/) + CSLA 3.8,
with main report and subreport, and dynamically dataset population, ecc

I'm facing a generic exception "Value cannot be null" .

In my production enveroinment CSLA objects load data from Entity Framework  actually,
so I realized another very similar project, using EF objects in reports, and it works great!!!
 
I also read this post, but no success
http://wraithnath.blogspot.com/2011/04/reportviewer-object-datasource-nested.html

Is there a guideline ?
I didn't find any usefull info in other threads :(

Thank you very much

RockfordLhotka replied on Wednesday, January 25, 2012

This isn't enough information for us to help you. At the very least we need to know the following:

  1. When does the exception occur?
  2. What is the stack trace for the exception?

 

roberto replied on Wednesday, January 25, 2012

I developed a new sample app (wpf app),  in order to reproduce same error as production code,
but everything works fine in this app, EF and CSLA as well. :(

This sample app is simpler than production code, where few "improvements" (ie: datasources managed programmatically) have been implemented.

I'll have a look again at "Option #1: Using Subreports" sample app (available here http://www.gotreportviewer.com/masterdetail/index.html), because of some "improvements" are partially based  on that sampe app.

I'll be back with a new sample app, reproducing the error ... or fixing production code. :)

Thak you very much.

Copyright (c) Marimer LLC