Error on loading
Posted: Mon Oct 13, 2008 8:49 am
Hi !
When I try to run my app a get the following error:
Object of type 'Stimulsoft.Report.Components.StiPage' cannot be converted to type 'Stimulsoft.Report.Components.StiPage'.
The code is:
This error rises on line 5 (load)
The file exists and the path is correct.
Thank's in advance
Fábio Marcos
When I try to run my app a get the following error:
Object of type 'Stimulsoft.Report.Components.StiPage' cannot be converted to type 'Stimulsoft.Report.Components.StiPage'.
The code is:
Code: Select all
1 Dim relatorio As StiReport = New StiReport()
2 Dim caminho As String = HttpContext.Current.Server.MapPath(String.Empty)
3 Dim arquivo As String = caminho + "/boletoBancario1.mrt"
4
5 relatorio.Load(arquivo)
6 relatorio.RegData("tb_local", tb_local)
7
8 relatorio.Compile()
9 relatorio.Render()
The file exists and the path is correct.
Thank's in advance
Fábio Marcos