Reporting services Sql报告2008错误

Reporting services Sql报告2008错误,reporting-services,parameters,Reporting Services,Parameters,大家好,我正在运行一些代码来设置我的报告参数,但在Visual Studio 2008中出现以下错误: 客户端发现响应内容类型为“”,但应为“” “text/xml”。\r\n请求失败,响应为空 System.Exception{System.InvalidOperationException} 这只是最近才发生的,我想这是因为我在这里的其他机器上运行sql 2008而不是2005 以下是发生错误的代码行: ReportParameter[] expectedParameters = _Rep

大家好,我正在运行一些代码来设置我的报告参数,但在Visual Studio 2008中出现以下错误:

客户端发现响应内容类型为“”,但应为“” “text/xml”。\r\n请求失败,响应为空 System.Exception{System.InvalidOperationException}

这只是最近才发生的,我想这是因为我在这里的其他机器上运行sql 2008而不是2005

以下是发生错误的代码行:

ReportParameter[] expectedParameters = 
_ReportServerClient.GetReportParameters(report, null, false, null, null);

将内容呈现到浏览器的参数错误(HTML或XML),应指定MIME类型