title: Sql reports 2008 error
body: <p>Hello guys I am running some code too setup my report parameters but I am getting the following error in Visual Studio 2008:</p>
  
  <blockquote>
    <p>Client found response content type of '', but expected
    'text/xml'.\r\nThe request failed with an empty response."
    System.Exception {System.InvalidOperationException}</p>
  </blockquote>
  
  <p>This only happened recently, I assume it is because I run sql 2008 and not 2005 like on the other machines here?</p>
  
  <p>here's the line of code that error occurs on:</p>
  
  <pre><code>ReportParameter[] expectedParameters = 
  _ReportServerClient.GetReportParameters(report, null, false, null, null);
  </code></pre>