title: Crystal Report Database LogOn when transferred to Server
body: <p>how can i solve this? </p>
  
  <p>when i run my system through my local machine, it does not need any Log On to Database authentication, i can see my reports directly. but when i transferred my system into the server so the others can access it remotly, it requires a logon database and even the information is correct.
  here my .cs code</p>
  
  <pre><code>public partial class PrintPreview : System.Web.UI.Page
  {
      ReportDocument crPrint = new ReportDocument();
      protected void Page_Init(object sender, EventArgs e)
      {
          if (Session["ID"] == null)
          {
              Response.Redirect("../Account/LogIn.aspx");
          }
          else
          {
              string i = Session["tID"].ToString();
  
              //CrystalReportViewer1.Visible = true;
              string reportPath = Server.MapPath("../CrystalReport2.rpt");
              crPrint.Load(reportPath);
              crPrint.SetDatabaseLogon("sa", "Pr0cess", "172.20.3.24", "PO");
              crPrint.SetParameterValue("MOSEFNo", i);
              CrystalReportViewer1.ReportSource = crPrint;
          }
  
  
  
      }
  
  
  }
  </code></pre>
  
  <p>the page always need the database log on when i transfer it to the database, how come?</p>
  
  <p>and when i transfer the folder to the IIS, the "asp_client" folder is always empty, how do i fix this? thanks!</p>