Silverlight reportviewer - image render error

2 posts, 0 answers
  1. jura
    jura avatar
    7 posts
    Member since:
    Feb 2007

    Posted 02 Jun 2014 Link to this post

    Hello,

    we have a problem with image rendering in the top of report. If we run a application on server side, it works correct. If we publish the page to Internet, the logo was not displayed.

    Part of the configuration file


    <system.serviceModel>
        <serviceHostingEnvironment multipleSiteBindingsEnabled="true" aspNetCompatibilityEnabled="true" />
        <services>
          <service
                  name="Telerik.Reporting.Service.ReportService"
                  behaviorConfiguration="ReportServiceBehavior">
            <endpoint
                   address=""
                   binding="basicHttpBinding"
                   contract="Telerik.Reporting.Service.IReportService">
            </endpoint>
            <endpoint
                    address="resources"
                    binding="webHttpBinding"
                    behaviorConfiguration="WebBehavior"
                    contract="Telerik.Reporting.Service.IResourceService"/>
            <endpoint
                    address="mex"
                    binding="mexHttpBinding"
                    contract="IMetadataExchange" />
          </service>
        </services>
        <behaviors>
          <serviceBehaviors>
            <behavior name="ReportServiceBehavior">
              <serviceMetadata httpGetEnabled="true" />
              <serviceDebug includeExceptionDetailInFaults="false" />
            </behavior>
            <behavior name="">
              <serviceMetadata httpGetEnabled="true" />
              <serviceDebug includeExceptionDetailInFaults="false" />
            </behavior>
          </serviceBehaviors>
          <endpointBehaviors>
            <behavior name="WebBehavior">
              <webHttp />
            </behavior>
          </endpointBehaviors>
        </behaviors>
      </system.serviceModel>

    Part of data service class:

    [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
        public class WebClientService : IWebClientService
        {
    ...
    }

    Version of components: Q1 2014 8.0.14.311

    Obtain Image data using SQL query.

    Did I miss anything?

    Thanks, Michal
  2. Stef
    Admin
    Stef avatar
    3036 posts

    Posted 02 Jun 2014 Link to this post

    Hello Michal,

    Please take a look at the Images, Charts, Barcodes and Shapes are not being displayed in the Silverlight report viewer. KB article and check the endpoints settings for the resources.
    You can also use Fiddler to detect the actual reason for the failed requests.

    If you need further help, feel free to open a support ticket where you can attach a demo project with your settings and the log file created by Fiddler.

    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.

     
  3. DevCraft banner
Back to Top