Defines a collection of assembly references that are used from Reporting Engine during processing stage to resolve names of user functions and user aggregate functions and also the types used by ObjectDataSource component.
<assemblyReferences> <add /> <clear /> <remove /> </assemblyReferences>
The following sections describe attributes, child elements, and parent elements.
The following code example demonstrates how to configure the reporting engine to use MyUserFunctionsAssembly assembly as source for user functions. In this example it would also search for assemblies in MyDir and SubDir application base subdirectories as we have explicitly instructed that via the <probing> Element. This is not mandatory, and when not specified, it would search in the application base, which is the root location where the application is being executed.
<?xml version="1.0"?> <configuration> <configSections> <section name="Telerik.Reporting" type="Telerik.Reporting.Configuration.ReportingConfigurationSection, Telerik.Reporting" allowLocation="true" allowDefinition="Everywhere" /> </configSections> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <probing privatePath="MyDir; MyDir2\SubDir"/> </assemblyBinding> </runtime> <Telerik.Reporting> <assemblyReferences> <add name="MyUserFunctionsAssembly" version="188.8.131.52" culture="neutral" publicKeyToken="null" /> </assemblyReferences> </Telerik.Reporting> ... </configuration>
When adding the Telerik.Reporting section manually, do not forget to register it in configSections element of configuration file. Failing to do so will result in a ConfigurationErrorsException with following text: Configuration system failed to initialize.