title: Crystal Reports Runtime & Redistributable
body: <p>Is there a difference between these two things. I am trying to move some reports from a local server to a dev server and I know that we have installed the redist on the dev server, but am still having problems getting the report to run. Is the runtime separate I come accross different sites mentioning both things but havent been able to tell if they are talking about the same thing</p>
  
  <p>*Edit - posting code to see if as dotjoe suggested I have incorrectly labled my report path. the database connection is returned from a method to a string array reportString so that is what that array is.</p>
  
  <pre><code>    &lt;CR:CrystalReportViewer ID="CrystalReportViewer2" runat="server" 
      AutoDataBind="True" Height="50px" Width="350px" ReuseParameterValuesOnRefresh="True"                                                                         ToolbarImagesFolderUrl="~/images/reportViwerImages"/&gt;
  
  
  
      ConnectionInfo myConnectionInfo = new ConnectionInfo();
              myConnectionInfo.ServerName = reportString[1];
              myConnectionInfo.DatabaseName = reportString[0];
              myConnectionInfo.UserID = reportString[2];
              myConnectionInfo.Password = reportString[3];
  
              string ReportPath = Server.MapPath("../../mdReports/CrystalReport.rpt");
              CrystalReportViewer2.ReportSource = ReportPath;
  
              ParameterField field1 = new ParameterField();
              ParameterDiscreteValue val1 = new ParameterDiscreteValue();
              val1.Value = hiddenFieldReportNumber.ToString();
              field1.CurrentValues.Add(val1);
              SetDBLogonForReport(myConnectionInfo);
  
  
      private void SetDBLogonForReport(ConnectionInfo myConnectionInfo)
      {
          TableLogOnInfos myTableLogOnInfos = CrystalReportViewer2.LogOnInfo;
          foreach (TableLogOnInfo myTableLogOnInfo in myTableLogOnInfos)
          {
              myTableLogOnInfo.ConnectionInfo = myConnectionInfo;
          }
      }
  </code></pre>