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

Barcode does not appear in a Silverlight Reporting

5 Answers 97 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Vuyiswa
Top achievements
Rank 2
Vuyiswa asked on 27 Mar 2011, 06:07 PM
Good Day All

I have a strange thing happening in my project. i have a report that retrieve the barcode info based on a certain criteria. The data gets filtered and it get displayed. but this value is the Value that is assigned to a barcode from the database. now on design and preview it shows the barcode,  but when i run it in my app, it only shows the code number from the database not the barcode and the number as depicted in the preview. what is the problem. i have attached the properties of the barcode on design mode.

5 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 28 Mar 2011, 01:35 PM
Hi Vuyiswa Maseko,

We've already covered this issue with a KB article:Images, Charts, Barcodes and Shapes are not being displayed in the Silverlight report viewer. We kindly ask you to first search through our support resources, prior opening a new thread, as the chances are, somebody has already asked the same question and it has been answered.

Best wishes,
Steve
the Telerik team
0
Vuyiswa
Top achievements
Rank 2
answered on 28 Mar 2011, 01:46 PM
Good Day Admin

I have al the EndPoints declared in the documentation. look at this

<?xml version="1.0"?>
<configuration>
  <configSections>
    <sectionGroup name="system.serviceModel">
      <section name="domainServices" type="System.ServiceModel.DomainServices.Hosting.DomainServicesSection, System.ServiceModel.DomainServices.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" allowDefinition="MachineToApplication" requirePermission="false" />
    </sectionGroup>
  </configSections>
  <appSettings>
    <add key="SecretKey" value="98723478923489234"/>
    <add key="EcashURL" value="http://vuyswan/Ecash/EcashPos/#/ConfirmationPages/ConfirmRegistration"/>
  </appSettings>
     
  <connectionStrings>
      <add name="ReportLibrarydev.Properties.Settings.Ecashcdb_devmotovate"
    connectionString="Data Source=DDD;Initial Catalog=DDD_dev;Persist Security Info=True;User ID=SSS;Password=DDD"
    providerName="System.Data.SqlClient" />
      <add name="ReportLibrarydev.Properties.Settings.Ecashcdb_dev"
    connectionString="Data Source=DDD;Initial Catalog=DDD_DD;Persist Security Info=True;User ID=DDD;Password=DDDD"
    providerName="System.Data.SqlClient" />
  </connectionStrings>
 
  <system.web>
    <httpModules>
      <add name="DomainServiceModule" type="System.ServiceModel.DomainServices.Hosting.DomainServiceHttpModule, System.ServiceModel.DomainServices.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    </httpModules>
    <compilation debug="true" targetFramework="4.0" />
    <globalization culture="auto" uiCulture="auto" />
 
    
 
  </system.web>
 
  <system.webServer>
    <validation validateIntegratedModeConfiguration="false"/>
    <modules runAllManagedModulesForAllRequests="true">
      <add name="DomainServiceModule" preCondition="managedHandler"
          type="System.ServiceModel.DomainServices.Hosting.DomainServiceHttpModule, System.ServiceModel.DomainServices.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    </modules>
  </system.webServer>
 
  <system.serviceModel>
    <behaviors>
      <serviceBehaviors>
        <behavior name="">
          <serviceMetadata httpGetEnabled="true" />
          <serviceDebug includeExceptionDetailInFaults="false" />
        </behavior>
        <behavior name="ReportServiceBehavior">
          <serviceMetadata httpGetEnabled="true" />
          <serviceDebug includeExceptionDetailInFaults="false" />
        </behavior>
 
      </serviceBehaviors>
       
      <endpointBehaviors>
        <behavior name="WebBehavior">
          <webHttp />
        </behavior>
      </endpointBehaviors>
    </behaviors>
    <bindings>
      <basicHttpBinding>
        <binding name="BasicHttpBinding_IBLLService" closeTimeout="00:01:00"
          openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
          allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
          maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
          messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
          useDefaultWebProxy="true">
          <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
            maxBytesPerRead="4096" maxNameTableCharCount="16384" />
          <security mode="None">
            <transport clientCredentialType="None" proxyCredentialType="None"
              realm="" />
            <message clientCredentialType="UserName" algorithmSuite="Default" />
          </security>
        </binding>
      </basicHttpBinding>
    </bindings>
    <client>
        binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IBLLService"
        contract="Business.IBLLService" name="BasicHttpBinding_IBLLService" />
    </client>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
  
   
   <services>
      <service name="Telerik.Reporting.Service.ReportService"
               behaviorConfiguration="ReportServiceBehavior">
 
        <endpoint address=""
                  binding="basicHttpBinding"
                  contract="Telerik.Reporting.Service.IReportService">
          <identity>
            <dns value="localhost" />
          </identity>
        </endpoint>
 
        <endpoint address="resources"
                  binding="webHttpBinding"
                  behaviorConfiguration="WebBehavior"
                  contract="Telerik.Reporting.Service.IResourceService"/>
 
        <endpoint address="mex"
                  binding="mexHttpBinding"
                  contract="IMetadataExchange" />
      </service>
    </services>
  </system.serviceModel>
</configuration>
0
Accepted
Steve
Telerik team
answered on 30 Mar 2011, 06:24 PM
Hello Vuyiswa,

The registration looks correct and we can only guess what is wrong. Since you already have a working Silverlight application with Telerik Reporting (our demos), our suggestion is to check the Visual Studio examples we install along with the product to compare the differences in your project.

Kind regards,
Steve
the Telerik team
0
Vuyiswa
Top achievements
Rank 2
answered on 30 Mar 2011, 06:34 PM
Hello Adminstrator

Thank you once more for your help. i checked the registrion against the demo and it looked ok, i created another separate demo and it shows a the barcode. The strange thing is that i can export it with all avaiable export options. After all the user will print the barcode not just view.

I will tell you what was the problem when i am done resolving it.


Hope you can asnwer my last question
http://www.telerik.com/community/forums/silverlight/gridview/single-select-on-a-gridview.aspx

Thanks for your help. 

0
Vuyiswa
Top achievements
Rank 2
answered on 31 Mar 2011, 01:02 PM
The Strange thing is that the Barcode showed after it has been hosted in the IIS. i am sure why.
Tags
General Discussions
Asked by
Vuyiswa
Top achievements
Rank 2
Answers by
Steve
Telerik team
Vuyiswa
Top achievements
Rank 2
Share this question
or