This is a migrated thread and some comments may be shown as answers.

shema information errors in App.config

1 Answer 73 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Raul
Top achievements
Rank 1
Raul asked on 20 Nov 2014, 10:06 PM
Hello,

I'm currently testing telerik reports and have some issues.

I need to format a TimeSpan value to hh:mm (without seconds), but unfortunately the corresonding format did not work because it displays also the seconds part :(
So I decided to use a user defined function (also in order to test it). Therefore I needed to add some lines to the App.config file:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <configSections>
        <section
                name="Telerik.Reporting"
                type="Telerik.Reporting.Configuration.ReportingConfigurationSection, Telerik.Reporting"
                allowLocation="true"
                allowDefinition="Everywhere"/>
    </configSections>
    <startup>
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
    </startup>
    <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
            <dependentAssembly>
                <assemblyIdentity name="Microsoft.Practices.ServiceLocation" publicKeyToken="31bf3856ad364e35" culture="neutral" />
                <bindingRedirect oldVersion="0.0.0.0-1.2.0.0" newVersion="1.2.0.0" />
            </dependentAssembly>
        </assemblyBinding>
    </runtime>
    <Telerik.Reporting>
        <AssemblyReferences>
            <add name="ReportsDO" version="1.0.0.0" culture="neutral" publicKeyToken="null"/>
        </AssemblyReferences>
    </Telerik.Reporting>
</configuration>

But now I'm getting some "schema information not found" errors:

Die Schemainformationen für das Attribut 'culture' konnten nicht gefunden werden.  
Die Schemainformationen für das Attribut 'name' konnten nicht gefunden werden. 
Die Schemainformationen für das Attribut 'publicKeyToken' konnten nicht gefunden werden.   
Die Schemainformationen für das Attribut 'version' konnten nicht gefunden werden.  
Die Schemainformationen für das Element 'add' konnten nicht gefunden werden.   
Die Schemainformationen für das Element 'AssemblyReferences' konnten nicht gefunden werden.
Die Schemainformationen für das Element 'Telerik.Reporting' konnten nicht gefunden werden. 

Without the telerik content I don't get any errors and can see the report (but the user function can not be found). With the telerik content the .trdx file seems to be not loaded.

I'm using the latest report version and the standalone report designer. Program is WPF.

After 2 days of searching informations all over the internet and a lot of try and error I don't know how to continue...


Regards
Raul

1 Answer, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 25 Nov 2014, 11:59 AM
Hello Raul,

The Standalone Designer tool's configuration file must look as in the Configuration article. To extend the tool with an external assembly, you need to change the AssemblyReferences section.

Please compare the configuration files and test to remove the culture and publicKeyToken attributes.


If you need further help, feel free to open a support ticket and send us the assembly including the config file to test your settings.

Regards,
Stef
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Raul
Top achievements
Rank 1
Answers by
Stef
Telerik team
Share this question
or