C# 无参数执行报告显示SSRS UI
我正在将一个工作的C ASP.Net web应用程序从Visual Studio 2008/SQL Server 2005迁移到Visual Studio 2010/SQL Server 2008 R2。 迁移后,其中一个报告的行为发生了更改 无论何时使用参数执行此报告,其行为都与旧版本中的相同。无论何时使用 空参数时,将显示SSRS UI,而不是为空参数输入创建的报告页面 我正在使用ReportViewer对象将报告呈现给web应用程序 有没有人遇到过类似的问题 下面是HTML标记C# 无参数执行报告显示SSRS UI,c#,asp.net,reporting-services,C#,Asp.net,Reporting Services,我正在将一个工作的C ASP.Net web应用程序从Visual Studio 2008/SQL Server 2005迁移到Visual Studio 2010/SQL Server 2008 R2。 迁移后,其中一个报告的行为发生了更改 无论何时使用参数执行此报告,其行为都与旧版本中的相同。无论何时使用 空参数时,将显示SSRS UI,而不是为空参数输入创建的报告页面 我正在使用ReportViewer对象将报告呈现给web应用程序 有没有人遇到过类似的问题 下面是HTML标记 <d
<div>
<table width="100%">
<tr>
<td style="padding-bottom:58px; border:solid 1px #919b9c">
<rsweb:ReportViewer ID="rptViewer" runat="server" Height="500px" Width="100%" ProcessingMode="Remote"
ZoomMode="Percent" ZoomPercent="100">
<ServerReport ReportServerUrl="http://qrmdata3.chs.net/ReportServer"/>
</rsweb:ReportViewer>
</td>
</tr>
</table>
</div>
我认为您执行迁移的事实没有运行没有参数的报告的事实重要。我相应地改变了你的头衔。
//// Set report properties and render the report
rptViewer.ServerReport.ReportPath = "/PCA/Production/PCAFollowUps";
rptViewer.ServerReport.SetParameters(paramList);
rptViewer.ServerReport.Refresh();