Hi
after publish i got this error but locally its working fine in bin folder i copy dll files also
An error occurred during local report processing.
The report definition for report 'F:\webdocs\groupspc\pashuaushadha.kar.nic.in\RDLCReports\DrugwiseConsolidatedReport.rdlc'has not been specified
Could not find a part of the path 'F:\webdocs\groupspc\pashuaushadha.kar.nic.in\RDLCReports\DrugwiseConsolidatedReport.rdlc'.
i am using this code any one help for this one
- private void bindinstitutewisedrgrpt(string drugcode)
- {
- try
- {
-
- rptdrgconsolidate.ProcessingMode = ProcessingMode.Local;
- rptdrgconsolidate.LocalReport.ReportPath = Server.MapPath("~/RDLCReports/DrugwiseConsolidatedReport.rdlc");
- DataTable dt = new DataTable();
- dt = GetData(drugcode);
- if (dt.Rows.Count > 0)
- {
- rptdrgconsolidate.Visible = true;
- ReportDataSource DS = new ReportDataSource("Drugwiseconsolidatedrpt", dt);
- rptdrgconsolidate.LocalReport.DataSources.Clear();
- ReportParameter[] parms = new ReportParameter[1];
- parms[0] = new ReportParameter("@drgcd", drugcode);
- rptdrgconsolidate.LocalReport.DataSources.Add(DS);
- }
- else
- {
- rptdrgconsolidate.Visible = false;
- Alert("No Records");
- }
- }
- catch(Exception ex)
- {
- Alert(ex.Message.ToString());
- }
- }