Posted on: 10/2/2014 6:32:23 PM | Views : 395

Hi all,
I am trying to pass user authentication to the ReportViewer using ASP.net code page. 
The code builds successfully, but when I debug the code the following error message appears:
"Object reference not set to an instance of an object."
for the following line
throw new Exception(ex.Message); using System; using System.Configuration; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using Microsoft.Reporting.WebForms; using System.Security.Principal; using System.Net; public partial class Personal : System.Web.UI.Page { public partial class ReportViewerCredentials : IReportServerCredentials { private string _userName; private string _password; private string _domain; public ReportViewerCredentials ...

Go to the complete details ...