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()
Error on stiReport1.Render()
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."

-
Anton Lozovskiy
- Posts: 135
- Joined: Tue Aug 11, 2009 9:38 am
Error on stiReport1.Render()
Hello,
We can not reproduce the problem. Can you please send us a sample report with data, which reproduce the issue?
Thank you.
We can not reproduce the problem. Can you please send us a sample report with data, which reproduce the issue?
Thank you.