title: Parameter validation failed. It is not possible to provide valid values for all parameters. (rsParameterError) sql reporting 2008
body: <p>I am using sql reporting and written query </p>
  
  <pre><code>SELECT * FROM users WHERE created_by = @createdby
  </code></pre>
  
  <p>and passing parameter using this code in code behind file to call this report.</p>
  
  <pre><code>param[0] = new ReportParameter("@createdby", "1");
         reportviewer.ServerReport.SetParameters(param);
  </code></pre>
  
  <p>also in rdl file. I have set this paramerter "Set Parameter visibilty" to hidden.
  It is working fine where I executes this query using query builder, a define query parameter box appears and ask for query parameter. and it works great.</p>
  
  <p>but while passing this parameter using .cs file. 
  It gives error "Parameter validation failed. It is not possible to provide valid values for all parameters. (rsParameterError)".</p>