Error on stiReport1.Render()

Stimulsoft Reports.Silverlight discussion
Locked
ssaturn
Posts: 13
Joined: Mon Jun 07, 2010 5:05 am
Location: Malaysia

Error on stiReport1.Render()

Post 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
:(
Anton Lozovskiy
Posts: 135
Joined: Tue Aug 11, 2009 9:38 am

Error on stiReport1.Render()

Post 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.
Locked