The Reporting Problem hit me again

4 posts, 1 answers
  1. Vuyiswa Maseko
    Vuyiswa Maseko avatar
    187 posts
    Member since:
    Jan 2010

    Posted 28 Jun 2011 Link to this post

    Good Day Guys

    Months  ago i posted this thread

    http://www.telerik.com/community/forums/reporting/telerik-reporting/silverlight-report-dont-show-a-basic-barcode-report.aspx


    and the problem was that my barcode does not show. I hosted my application in IIS Service(Not my machine) and i get the Following Error,

    The type 'Telerik.Reporting.Service.ReportService, Telerik.Reporting.Service, Version=5.0.11.316, Culture=neutral, PublicKeyToken=a9d7983dfcc261be', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found.



    if you look at the thread i created you will notice that i am familiar with the Endpoint article.

    <?xml version="1.0" encoding="UTF-8"?>
    <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>
      <connectionStrings>
        <add name="ReportLibrarydev.Properties.Settings.Ecashcdb_devmotovate" connectionString="Data Source=oops;Initial Catalog=oops;Persist Security Info=True;User ID=oops;Password=oops" providerName="System.Data.SqlClient" />
        <add name="ReportLibrarydev.Properties.Settings.oops connectionString="Data Source=oops;Initial Catalog=oops;Persist Security Info=True;User ID=oops;Password=oops" providerName="System.Data.SqlClient" />
        <add name="FilesDataBaseConnectionString" connectionString="Data Source=oops;Initial Catalog=oops;Persist Security Info=True;User ID=oops;Password=oops" providerName="System.Data.SqlClient" />
      </connectionStrings>
      <system.web>
        <httpRuntime maxRequestLength="2147483647" executionTimeout="2147483647" />
        <identity impersonate="true" />
        <httpModules>
          <add name="DomainServiceModule" type="System.ServiceModel.DomainServices.Hosting.DomainServiceHttpModule, System.ServiceModel.DomainServices.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
          <add name="DomainServiceModule" type="System.ServiceModel.DomainServices.Hosting.DomainServiceHttpModule, System.ServiceModel.DomainServices.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
          <add name="Session" type="System.Web.SessionState.SessionStateModule" />
        </httpModules>
        <compilation targetFramework="4.0" />
        <globalization culture="auto" uiCulture="auto" />
        <!-- Enable session state for all the pages in the Web application. -->
        <pages enableSessionState="true" enableViewState="true" enableViewStateMac="true" validateRequest="false" />
      </system.web>
      <system.serviceModel>
        <bindings>
          <basicHttpBinding>
            <binding name="BasicHttpBinding_ILogger" closeTimeout="00:10:00" openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="2147483647" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true">
              <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
              <security mode="None">
                <transport clientCredentialType="None" proxyCredentialType="None" realm="" />
                <message clientCredentialType="UserName" algorithmSuite="Default" />
              </security>
            </binding>
            <binding name="BasicHttpBinding_IBLLService" closeTimeout="00:10:00" openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="2147483647" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true">
              <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
              <security mode="None">
                <transport clientCredentialType="None" proxyCredentialType="None" realm="" />
                <message clientCredentialType="UserName" algorithmSuite="Default" />
              </security>
            </binding>
          </basicHttpBinding>
        </bindings>
        <client>
          <endpoint address="http://XXXXXXXXX/BusinessLayer/BLLService.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IBLLService" contract="Business.IBLLService" name="BasicHttpBinding_IBLLService" />
          <endpoint address="http://XXXXXXXXX/Logger/Logger.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ILogger" contract="Logger.ILogger" name="BasicHttpBinding_ILogger" />
        </client>
         
        <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>
        <behaviors>
          <serviceBehaviors>
            <behavior name="">
              <serviceMetadata httpGetEnabled="true" />
              <serviceDebug includeExceptionDetailInFaults="true" />
            </behavior>
            <behavior name="ReportServiceBehavior">
              <serviceMetadata httpGetEnabled="true" />
              <serviceDebug includeExceptionDetailInFaults="true" />
            </behavior>
          </serviceBehaviors>
          <endpointBehaviors>
            <behavior name="WebBehavior">
              <webHttp />
            </behavior>
          </endpointBehaviors>
        </behaviors>
        <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
      </system.serviceModel>
      <system.webServer>
        <validation validateIntegratedModeConfiguration="false" />
        <directoryBrowse enabled="true" />
           
      </system.webServer>
    </configuration>


    Thanks
  2. Answer
    Steve
    Admin
    Steve avatar
    10941 posts

    Posted 30 Jun 2011 Link to this post

    Hello Vuyiswa,

    As with the previous thread which you have referenced, you should look into the ReportService.svc file and make sure the specified version matches the version of the Telerik Reporting assemblies you have referenced. Another cause could be the lack of those assemblies i.e. have you deployed the project correctly? More info is available in Deploying Applications using Telerik Reporting help article.

    Regards,
    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
  3. DevCraft banner
  4. Vuyiswa Maseko
    Vuyiswa Maseko avatar
    187 posts
    Member since:
    Jan 2010

    Posted 05 Jul 2011 Link to this post

    hi Admin

    why are those Dll's not included in the whole package, i have added these dlls; which were not available

    http://www.telerik.com/help/reporting/installation-deploying-on-web-application.html
  5. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 05 Jul 2011 Link to this post

    Hi Vuyiswa,

    The link to the deploying article you referenced contains the answer: During the installation of Telerik Reporting on your machine, the Telerik assemblies were added to GAC. When deploying a Web Application project the assemblies from the GAC are not copied automatically so you need to make sure the assemblies physically exist in the bin folder of your application. For more info refer to Project References MSDN article.

    Kind regards,
    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
Back to Top