title: Setting ReportServerCredentials
body: <p>I have an asp.net layer between Internet users and ssrs - so no windows authentication. After users login to the site (its an existing site with login, security etc.) on my page I present them a list of reports and try to display them in a ReportViewer control when they select one.</p>
  
  <pre><code>rv1 is the reportviewer control.
  rv1.ProcessingMode = ProcessingMode.Remote;
  rv1.Visible = true;
  rv1.ServerReport.ReportServerUrl = new  Uri(ConfigurationManager.AppSettings["ReportServerUrl"]);
  rv1.ServerReport.ReportPath = rptPath;
  
  IReportServerCredentials irsc = new MyReportServerCredentials(name, password, domain);
  rv1.ServerReport.ReportServerCredentials = irsc;
  </code></pre>
  
  <p><code>MyReportServerCredentials</code> is class based off <code>IReportServerCredentials</code> as specifed elsewhere and MSDN.</p>
  
  <p>When executing the line</p>
  
  <pre><code>rv1.ServerReport.ReportServerCredentials = irsc;
  </code></pre>
  
  <p>gives me <code>EntryPointNotFoundException</code>.</p>
  
  <p><strong>Environment</strong><br>
  SSRS 2008, SQLS 2008 R2, asp.net 3.5., vs2010</p>
  
  <p>edit: the ReportServerUrl points to reporting service, <a href="http://localhost:80/ReportServer_SQLS2K8R2" rel="nofollow">http://localhost:80/ReportServer_SQLS2K8R2</a></p>