Hi,
We develop a software in .net(VB.NET),for report we use stimulsoft.
In the code behind we genrate the dataset and pass the dataset to the stimulsoft,and export the report to PDF.
The report will work fine ,when i run in my local machine.
When publish this in my server,some times the report page(mrt),will open blank.And sometimes with data.
Here i given the code for assign the dataset to stimulsoft and calling procedures,
'Import the stimulsoft
Imports Stimulsoft
'Create an Instance
Dim stiReport As New Stimulsoft.Report.StiReport
Dim stiExportPdf As New Stimulsoft.Report.Export.StiPdfExportService
stiReport = New Stimulsoft.Report.StiReport()
' Bind the dataset to report
stiReport.RegData(ds.Tables("XMLData"))
stiReport.RegData(dsPara.Tables("Heading"))
stiReport.Render(False)
sPdfPath = Server.MapPath("../temp/" + SessionId + "CAMS.PDF")
stiExportPdf.ExportPdf(stiReport, sPdfPath)
If any one Know or face this same problem . PLS HELP ME.
Thanks & Regard.
M Stalin
Sometimes MRT Page opening blank when i publish in my server
-
- Сообщения: 1
- Зарегистрирован: 02 янв 2008, 03:23
- Откуда: chennai
Sometimes MRT Page opening blank when i publish in my server
Please try to make following changes in your code:
Thank you.
Код: Выделить всё
stiReport.RegData("XMLData", ds.Tables("XMLData"))
stiReport.RegData("Heading", dsPara.Tables("Heading"))