title: Crystal Report Viewer is prompting the user for login credentials even though the reports data source is a dataset
body: <p>I'm currently working on an ASP.NET web application with crystal report integration. In the code behind, I create my dataset and set the report document's datasource to the newly created dataset. The report intially loads the first page fine, but when a user pages to the next page of the report, they are prompted for login credentials.
  <a href="https://i.stack.imgur.com/lwK8h.png" rel="nofollow noreferrer">Here's the login prompt after trying to page to the next page in the report.</a></p>
  
  <p>If the report initially loads fine with the dataset as the datasource why would I need credentials when trying to page through the rest of the report? Is there a way to disable this?</p>
  
  <p>My code for creating the datatset and setting the datasource is below. <em>(search_criteria, customers, expenses_dt are my datatables with the relevant information for the report.)</em></p>
  
  <pre><code>            DataSet ds = new expenseReportDataSet();
  
              ds.Tables["search_criteria"].Merge(search_criteria);
              ds.Tables["Customer"].Merge(customers);
              ds.Tables["expense"].Merge(expenses_dt);
  
  
              ReportDocument expenses = new ReportDocument();
              string reportPath = Server.MapPath("exp_report_by_consult.rpt");
              expenses.Load(reportPath);
  
              expenses.SetDataSource(ds);
  
              cr_view_expenses.ReportSource = expenses;
  </code></pre>