Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
How to run a rdlc report in web server using reportviewer and MySQL ODBC provider?
anis ahmed
14y
13.4k
1
Reply
Hi all,
I have developed a asp.net 2.0 application using MySQL. In that application i have to run reports in web server. I have used rdlc report through microsoftReportViewer. Database is MySQL connected using OBDC 3.51 Provider. My application and reports are ok in local mode. But when i upload it to web server the following error message is displaying..........
The request failed with HTTP status 401: Unauthorized
My code that is..........
protected void Page_Load(object sender, EventArgs e)
{
ReportViewer1.ProcessingMode = ProcessingMode.Remote;
ReportViewer1.ServerReport.ReportServerUrl = new System.Uri("http://75.127.108.138/reportserver");
ReportViewer1.ServerReport.ReportPath = "Reports/rptStudent.rdlc";
ReportViewer1.ServerReport.Refresh();
}
Please give me a solution. Its very much needed to me. Thanks in advance.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Setting Application Culture globaly independent upon client Culture
basic