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

Troubles with Telerik Reporting 2010 Q2 and Framework 4.0

2 Answers 72 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Edgar
Top achievements
Rank 1
Edgar asked on 16 Aug 2010, 02:58 PM
Hi,

I upgrade recently my web application thah used Telerik Reporting 2009 Q2 with II 6.0 + Framework 3.5 to Telerik Reporting 2010 Q2 with IIS 7.0 + Framework 4.0
 
I deployed my web application using Telerik Reporting 2010 Q2 and IIS 6.0 + Framework 4.0 and gets a error, over Visual Studio 2010 the reports display it correctly but over IIS display the following error:

Message:

Exception of type 'System.Web.HttpUnhandledException' was thrown.

Inner Exception:

The type initializer for 'Telerik.ReportViewer.WebForms.AjaxHelper' threw an exception.

  Thanks in advance,
Edgar.

2 Answers, 1 is accepted

Sort by
0
Accepted
Steve
Telerik team
answered on 19 Aug 2010, 07:26 AM
Hi Edgar,

Please add the following section in your web.config file and try again:
Copy Code
<runtime>
      <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
        <dependentAssembly>
          <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
          <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
        </dependentAssembly>
        <dependentAssembly>
          <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
          <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
        </dependentAssembly>
      </assemblyBinding>
    </runtime>

The web ReportViewer needs the System.Web.Extensions assembly for the Ajax support, so in this line of thoughts if the first approach does not help, please try to install the ASP.NET Ajax Extensions from this link.

All the best,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Edgar
Top achievements
Rank 1
answered on 20 Aug 2010, 04:29 AM
Thanks a lot Steve!

In my case newVersion="4.0.0.0" works for me. Because I'm using Framework 4.0.

My issue was resolved.

Best regards.
Tags
General Discussions
Asked by
Edgar
Top achievements
Rank 1
Answers by
Steve
Telerik team
Edgar
Top achievements
Rank 1
Share this question
or