Sometimes MRT Page opening blank when i publish in my server

Обсуждение Stimulsoft Reports.NET
Ответить
stalinsubash
Сообщения: 1
Зарегистрирован: 02 янв 2008, 03:23
Откуда: chennai

Sometimes MRT Page opening blank when i publish in my server

Сообщение stalinsubash »

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
Vital
Сообщения: 647
Зарегистрирован: 09 июн 2006, 12:23

Sometimes MRT Page opening blank when i publish in my server

Сообщение Vital »

Please try to make following changes in your code:

Код: Выделить всё

stiReport.RegData("XMLData", ds.Tables("XMLData"))
stiReport.RegData("Heading", dsPara.Tables("Heading"))
Thank you.

Ответить