TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Thulasiram pakala
907
872
115.2k
SSrs Report 2010
Jul 12 2019 7:14 AM
HI
in server i got this error
An error occurred during local report processing.
The definition of the report 'RDLC/DrugwiseConsolidatedReport.rdlc' is invalid.
The report definition is not valid. Details: Data at the root level is invalid. Line 1, position 1.
i am binding like this way but showing error like this
dt = GetData(drugcode);
if (dt.Rows.Count > 0)
{
rptdrgconsolidate.Reset();
rptdrgconsolidate.ProcessingMode = ProcessingMode.Local;
ReportDataSource DS = new ReportDataSource("Drugwiseconsolidatedrpt", dt);
rptdrgconsolidate.LocalReport.DataSources.Clear();
ReportParameter[] parms = new ReportParameter[1];
parms[0] = new ReportParameter("@drgcd", drugcode);
rptdrgconsolidate.ServerReport.Refresh();
rptdrgconsolidate.LocalReport.DataSources.Add(DS);
rptdrgconsolidate.LocalReport.ReportPath = "RDLC/DrugwiseConsolidatedReport.rdlc";
rptdrgconsolidate.LocalReport.Refresh();
}
localy its working fine
Reply
Answers (
2
)
How to use session in Asp.Net Core MVC
how to implement oauth in webapi in c#