Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (5.77 MB, 182 trang )
Part III: Reporting Services
at
Microsoft.ReportingServices.Diagnostics.ExtensionsConfiguration.ParseRend
erExtensions(XmlNode child, ExtensionArray array)
at
Microsoft.ReportingServices.Diagnostics.ExtensionsConfiguration.ParseExte
nsions(XmlNode child, ExtensionArray array)
at
Microsoft.ReportingServices.Diagnostics.ExtensionsConfiguration.ParseXML(
XmlNode node)
at
Microsoft.ReportingServices.Diagnostics.RSConfigurationFileManager.ParseD
ocument(XmlDocument xmlConfiguration)
at
Microsoft.ReportingServices.Diagnostics.RSConfigurationFileManager.LoadDo
cument()
at
Microsoft.ReportingServices.Diagnostics.RSConfigurationFileManager.LoadCo
nfiguration()
From the error message, there is a
In order to solve the issue, please follow these steps:
1. Open the rsreportserver.config file with text editor
2. Search for each
3. Correct the element if it is invalid.
Or, you can replace each
another SSRS(which is running file) rsreportserver.config file.
Applies to
SQL Server Reporting Services 2005
SQL Server Reporting Services 2008
SQL Server Reporting Services 2008 R2
Microsoft SQL Server TechNet Forum Support Team | Part III
Reporting Services
93
Part III: Reporting Services
How do I pass a multi-value parameter within a URL?
Answer
For multi-value parameter, it is simple that you can use the Join function. For
example:
="http://servername/reportserver?/ReportFolder/ReportName&rs:Command=R
ender&ParameterName=" & JOIN(Parameters!ParameterName.Value,
"&ParameterName=")
Applies to
SQL Server Reporting Service2005
SQL Server Reporting Service2008
SQL Server Reporting Service2008 R2
Microsoft SQL Server TechNet Forum Support Team | Part III
Reporting Services
94
Part III: Reporting Services
How do I keep only one vertical scroll bar in local report?
Answer
I have a local report with a long height; The problem is that there are two vertical
scroll bars on right hand like below. Specially, the scroll wheel does not work on
the inner scroll bar. Is there a work around for this?
Microsoft SQL Server TechNet Forum Support Team | Part III
Reporting Services
95
Part III: Reporting Services
You can achieve this requirement in local report. Just type in below code in
code-behind:
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
.........//other code
this.ReportViewer1.AsyncRendering = false;
this.ReportViewer1.SizeToReportContent = true;
this.ReportViewer1.ZoomMode = ZoomMode.FullPage;
.........//other code
}
}
Then you will get the report like below, you can see that there is only one vertical
scroll bar now, and it will never occur the scenario that the scroll wheel does not
work.
Applies to
Sql Server Reporting Service2005
Sql Server Reporting Service2008
Sql Server Reporting Service2008 R2
Microsoft SQL Server TechNet Forum Support Team | Part III
Reporting Services
96
Part III: Reporting Services
How do I Hide Export Options with Local Report?
Answer
Currently, this is a product limitation for customizing the export option directly of
the ReportViewer control.
However, as a workaround, we can use JavaScript to remove the Word and Excel
export options. Please refer to the steps below.
For ReportViewer 2008:
1. Preview the web page which contains the ReportViewer control.
2. Check the source code of page. Find the id of the