Wednesday, February 15, 2012

erro in reporting

hi friends,

i got one problem with my reporting.

i tried to generate report in asp.net by using xmldataset with the following code

rv_translate.ProcessingMode =ProcessingMode.Local;

rv_translate.LocalReport.ReportPath ="Translate.rdlc";

Microsoft.Reporting.WebForms.ReportDataSource dts =new Microsoft.Reporting.WebForms.ReportDataSource();

dts.Name ="NewDataSet_Table1";

dts.Value = xmldataset.Tables["Table1"];

rv_translate.LocalReport.DataSources.Add(dts);

rv_translate.LocalReport.Refresh();

but it shows error as "

ASP.NET session has expired "

i couldnt fine the reason. and i am new to the asp.net report generation...

please help me

thanks

Try to increase the value of session timeout for that virtual directory.Otherwise Increase the session timeout value for the page where the reportviewer control is placed.

No comments:

Post a Comment