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

ReportViewer error

1 Answer 24 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
lea ginsberger
Top achievements
Rank 1
lea ginsberger asked on 19 Aug 2010, 10:11 AM
we use ReportViewer.
on my computer with VS localhost it's working good,
when i put it on the iis server we get error page.-
look the problem in the attach file.
what can i to do?

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 20 Aug 2010, 01:29 PM
Hi lea ginsberger,

As noted in the'ReportViewer' is undefined javascript error KB article, when the application is hosted on IIS7 and .NET4 is used, the handler of the web viewer in the system.webServer section should look like this:
.....
<system.webServer
    <handlers
       <add name="Telerik.ReportViewer.axd_*" path="Telerik.ReportViewer.axd" verb="*" type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=x.x.x.x, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" preCondition="integratedMode"   /> 
    </handlers
    <validation validateIntegratedModeConfiguration="false" />   
</system.webServer>
 .....

Note that the preCondition attribute value is integratedMode only, without specifying framework version.

Kind regards,
Peter
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
Tags
General Discussions
Asked by
lea ginsberger
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or