You can specify certain configuration parameters that affect how Aspose.Words for Reporting Services generates documents. This section describes this process.
To configure Aspose.Words for Reporting Services, you need to edit the C:\Program Files\Microsoft SQL Server\<Instance>\Reporting Services\ReportServer\rsreportserver.config file. This is an XML file and the renderer configuration is inside the <Extension> element corresponding to a particular renderer.
<Render>
…
<Extension Name="AWDOC" Type="Aspose.Words.ReportingServices.DocRenderer,Aspose.Words.ReportingServices">
<!--Insert configuration elements for exporting to DOC here.-->
</Extension>
<Extension Name="AWRTF" Type="Aspose.Words.ReportingServices.RtfRenderer,Aspose.Words.ReportingServices">
<!--Insert configuration elements for exporting to RTF here.-->
</Extension>
<Extension Name="AWWML" Type="Aspose.Words.ReportingServices.WmlRenderer,Aspose.Words.ReportingServices">
<!--Insert configuration elements for exporting to WordML here.-->
</Extension>
<Extension Name="AWDOCX" Type="Aspose.Words.ReportingServices.DocxRenderer,Aspose.Words.ReportingServices">
<!--Insert configuration elements for exporting to WordML here.-->
</Extension>
<Extension Name="AWHTML" Type="Aspose.Words.ReportingServices.HtmlRenderer,Aspose.Words.ReportingServices">
<!--Insert configuration elements for exporting to HTML here.-->
</Extension>
<Extension Name="AWTXT" Type="Aspose.Words.ReportingServices.TxtRenderer,Aspose.Words.ReportingServices">
<!--Insert configuration elements for exporting to TXT here.-->
</Extension>
</Render>
Note. Early versions of Aspose.Words for Reporting Services expected the configuration settings to be enclosed into the <DeviceInfo> element which is a child element of the <Configuration> element. Starting with the version 1.4.1, you are allowed to put configuration settings directly into the <Configuration> element.
All examples used in this section configure the DOC format renderer.