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
911
872
115.5k
SSrs Report issue
Jul 15 2019 5:19 AM
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.Reset();
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());
}
}
Reply
Answers (
1
)
how do i sort items in array alphabetically?
how to upload excel file into database