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
vani vn
NA
15
3.4k
SSRS report use in web application
Feb 22 2017 5:36 AM
Hai all,
Please help me, iam new in ssrs reporting.
im developing a ssrs report and deploy it to the server(VPN)
this deploy link use in the .net web application.
if i open the ssrs report through direct server link i can view the report.
but in the webapplication i can't open that report.
it shows the error"
The request failed with HTTP status 401: Unauthorized.
"
how can i sove.
my code is like
rv1.ProcessingMode = ProcessingMode.Remote;
IReportServerCredentials ssrscredentials = new CustomSSRSCredentials("myUsername", "myPwd", "myIpaddress");//VPN server login ipaddress,user and pwd
ServerReport serverReport = rv1.ServerReport;
rv1.ServerReport.ReportServerCredentials = ssrscredentials;
rv1.ServerReport.ReportServerUrl = new Uri("http://rdl/ReportServer");
rv1.ServerReport.ReportPath = "/RdlReports/Rpt1-Report";
ReportParameter[] parameters = new ReportParameter[1];
parameters[0] = new
ReportParameter("indate", txtdate.Text);
rv1.ServerReport.SetParameters(parameters);
rv1.ShowParameterPrompts = false;
rv1.ShowPromptAreaButton = false;
rv1.ServerReport.Refresh();
Thanks.
Reply
Answers (
3
)
How to actionlink pass parameter to controller MVC 5 ?
Change the selected value in kendo autocomplete control