Page 1 of 1

Error on stiReport1.Render()

Posted: Mon Dec 13, 2010 9:13 pm
by ssaturn
I wonder why I keep getting error message on stiReport1.Render() - Error message such as "Object reference not set to an instance of an object."
stiReport1 = New StiReport()

Dim _DocPath As String = Me.cboxReportList.SelectedValue
StiSLViewerControl1.Visibility = System.Windows.Visibility.Visible
StiSLViewerControl1.Report = Nothing


Dim a As System.Reflection.Assembly = System.Reflection.Assembly.GetExecutingAssembly()
Dim sr As New StreamReader(a.GetManifestResourceStream("FX." & _DocPath))
stiReport1.Load(sr.BaseStream)
sr.Dispose()

stiReport1.Render() ' Error here..
StiSLViewerControl1.Report = stiReport1
:(

Error on stiReport1.Render()

Posted: Tue Dec 14, 2010 3:33 am
by Anton Lozovskiy
Hello,

We can not reproduce the problem. Can you please send us a sample report with data, which reproduce the issue?

Thank you.