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

SL 4 ReportService not found???

2 Answers 133 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Saverio
Top achievements
Rank 1
Saverio asked on 13 Jan 2011, 02:56 PM
Hi all gurus,
we're developing a SL4 app with reporting. In our developing environment reporting works smoothly. Now I'm trying to deploy to a test server and get an error ("No report" inside ReportViewer). Calling the service directly from the browser I get this error:
Type 'Telerik.Reporting.Service.ReportService, Telerik.Reporting.Service, Version=4.2.10.1110, Culture=neutral, PublicKeyToken=A9D7983DFCC261BE', specified as Service attribute in the ServiceHost directive or specified in the system.serviceModel/serviceHostingEnvironment/serviceActivations configuration element was not found (message translated from italian).

The same app uses others WCF services, served smoothly.

I've double-checked that there are no older versions of Telerik. So I installed VS2010, RadControls and Reporting components (both trial, working well in my dev env), compiled and run, with same error. What else I can try?

Web.Config and TelerikService.svc enclosed. Thanks in advance.

====================================================================
TelerikService.svc:
-------------------------------------------------------------------------------------------------------------
<%@ServiceHost Service="Telerik.Reporting.Service.ReportService, Telerik.Reporting.Service, Version=4.2.10.1110, Culture=neutral, PublicKeyToken=A9D7983DFCC261BE" %>
==================================================================
Web.Config:
------------------------------------------------------------------------------------------------------------
<?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" />
    </sectionGroup>
  </configSections>
  <connectionStrings>
    <clear />
    <add name="UGo_DB" connectionString="data source=(local)\SQL_UGO;Integrated Security=SSPI;Initial Catalog=UGO_DB;" providerName="System.Data.SqlClient" />
    <add name="Progr_Entities" connectionString="metadata=res://*/Models.Progr.csdl|res://*/Models.Progr.ssdl|res://*/Models.Progr.msl;provider=System.Data.SqlClient;provider connection string=&quot;Data Source=.\SQL_UGO;Initial Catalog=UGO_DB;Integrated Security=True;MultipleActiveResultSets=True&quot;" providerName="System.Data.EntityClient" />
  </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">
      <assemblies>
        <add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
      </assemblies>
    </compilation>
    <roleManager enabled="true" />
    <authentication mode="Forms">
      <forms name=".UGO_Adv_ASPXAUTH" />
    </authentication>
    <profile>
      <properties>
        <add name="FriendlyName" />
      </properties>
    </profile>
  </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>
    <domainServices>
      <endpoints>
        <add name="OData" type="System.ServiceModel.DomainServices.Hosting.ODataEndpointFactory, System.ServiceModel.DomainServices.Hosting.OData, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
      </endpoints>
    </domainServices>
    <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>
      <customBinding>
        <binding name="UGO_Adv.updProg.customBinding0">
          <binaryMessageEncoding />
          <httpTransport />
        </binding>
      </customBinding>
    </bindings>
    <services>
      <service name="UGO_Adv.updProg">
        <endpoint address="" binding="customBinding" bindingConfiguration="UGO_Adv.updProg.customBinding0" contract="UGO_Adv.updProg" />
        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
      </service>
    <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>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
  </system.serviceModel>
  <appSettings>
    <add key="microsoft.visualstudio.teamsystems.backupinfo" value="1;web.config.backup" />
  </appSettings>
</configuration>
=========================================================================

2 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 18 Jan 2011, 06:39 PM
Hello Saverio,

Everything looks correct at first look and a possible reason for the error is if you have upgraded to a newer version but did not upgrade the version in the TelerikService.svc. Can you verify that this is indeed the Telerik Reporting version you use?

Greetings,
Steve
the Telerik team
Get started with Telerik Reporting with numerous videos and detailed documentation.
0
Saverio
Top achievements
Rank 1
answered on 18 Jan 2011, 06:55 PM
Hi dear friend,
actually, when using 4.2.10.1110 the reporting works well, while upgrading to SP1 brokes the correct behaviour. I have, in my test env, 1221 version, have run upgrade wizard, and got the result I'm complaining for. Have had a double-check (under the supervision of Acroni's "Try & Decide", so I rolled back after this test) and installed "1221 rep = SP1" in my dev env as well, resulting in "No report" all the same. Reverting to 1110 restored the correct behaviour. So I'm looking for an installer of 1110 version (that one available in the download area is 1227 [uh???] version) so I can install that version in my test env as well. At the same time, I've started an incident (Support ID:385042). Have a nice day
Tags
General Discussions
Asked by
Saverio
Top achievements
Rank 1
Answers by
Steve
Telerik team
Saverio
Top achievements
Rank 1
Share this question
or