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

Reportviewer icons not showing

1 Answer 272 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
juststarting
Top achievements
Rank 2
juststarting asked on 26 Feb 2014, 08:59 AM
I have a vb.net application with an asp page that has a report viewer control on it. The problem is that when publishing the application, the icons does not show up as in the attached image.

The webserver is running Windows 2008 R2 with IIS7

web.config
    <compilation debug="true" explicit="true" strict="false" targetFramework="4.0">
     <assemblies>
       <add assembly="Telerik.Web.Design, Version=2013.3.1015.40, Culture=neutral, PublicKeyToken=121FAE78165BA3D4" />
       <add assembly="Telerik.Reporting.Service, Version=7.2.13.1016, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" />
       <add assembly="Telerik.Reporting, Version=7.2.13.1016, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" />
       <add assembly="Telerik.ReportViewer.WebForms, Version=7.2.13.1016, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" />
       <add assembly="Telerik.ReportViewer.WinForms, Version=7.2.13.1016, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" />
       <add assembly="Telerik.ReportViewer.Wpf, Version=7.2.13.1016, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" />
     </assemblies>
   </compilation>
  
   <httpHandlers>
     <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
     <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />
     <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
     <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
     <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" />
     <add type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=7.2.13.1016, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" path="Telerik.ReportViewer.axd" verb="*" validate="true" />
   </httpHandlers>
  
<system.webServer>
   <caching enabled="true" enableKernelCache="true">
     <profiles>
       <add extension=".png" policy="CacheUntilChange" kernelCachePolicy="CacheUntilChange" location="Any" />
       <add extension=".jpg" policy="CacheUntilChange" kernelCachePolicy="CacheUntilChange" location="Any" />
       <add extension=".gif" policy="CacheUntilChange" kernelCachePolicy="CacheUntilChange" location="Any" />
       <add extension=".axd" policy="CacheUntilChange" kernelCachePolicy="CacheUntilChange" location="Any" />
       <add extension=".css" policy="CacheUntilChange" kernelCachePolicy="CacheUntilChange" location="Any" />
     </profiles>
   </caching>
   <validation validateIntegratedModeConfiguration="false" />
   <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>
 </system.webServer>

report.asp
<%@ Register Assembly="Telerik.ReportViewer.WebForms, Version=7.2.13.1016, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" Namespace="Telerik.ReportViewer.WebForms" TagPrefix="telerik" %>
 
<asp:Content ID="Content1" ContentPlaceHolderID="Navigation" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="RightPane" Runat="Server">
     <div style="text-align:left; vertical-align:Top; padding-left:10px; padding-right:10px; padding-top:10px; height:650px;">
        <table style="width: 100%; border-style: none; border-spacing: 0; padding: 0;" class="ContentTable">
            <tr>
                <td style="text-align: center;" class="ContentTable">           
                    <telerik:ReportViewer ID="ReportViewer1" runat="server" Width="100%" Height="600px">
                        <typereportsource typename="CirusReports.Report1, CirusReports, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"></typereportsource>
                    </telerik:ReportViewer>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>



1 Answer, 1 is accepted

Sort by
0
juststarting
Top achievements
Rank 2
answered on 26 Feb 2014, 12:45 PM
Funny by removing the following from my web.config file it's working

<caching enabled="true" enableKernelCache="true">
   <profiles>
     <add extension=".png" policy="CacheUntilChange" kernelCachePolicy="CacheUntilChange" location="Any" />
     <add extension=".jpg" policy="CacheUntilChange" kernelCachePolicy="CacheUntilChange" location="Any" />
     <add extension=".gif" policy="CacheUntilChange" kernelCachePolicy="CacheUntilChange" location="Any" />
     <add extension=".axd" policy="CacheUntilChange" kernelCachePolicy="CacheUntilChange" location="Any" />
     <add extension=".css" policy="CacheUntilChange" kernelCachePolicy="CacheUntilChange" location="Any" />
   </profiles>
 </caching>
Tags
General Discussions
Asked by
juststarting
Top achievements
Rank 2
Answers by
juststarting
Top achievements
Rank 2
Share this question
or