Telerik Forums
Reporting Forum
2 answers
160 views
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>
=========================================================================
Saverio
Top achievements
Rank 1
 answered on 18 Jan 2011
1 answer
239 views
Hi folks - this is a repost of something I sent to Telerik support.  They responded with the standard RTFM response. Has anyone else seen this error?
-----------------------------------
I am working with a project and was using the trial version of reports. Everything was working fine. I upgraded to the purchased version, and I'm now getting the error below.

The steps I took to upgrade included:

Uninstalling trial version
Installing purchased version
Removed all old references from projects
Added new references and set copy local to true
Rebuild all

The project starts fine - and the viewer loads fine - but when I load a report, I get the following error (I actually get three of them - for different "renderers").  If I continue, the report works fine.  Any thoughts?

Error:
System.TypeLoadException crossed a native/managed boundary
  Message=Could not load type 'Telerik.Reporting.XamlRendering.SilverlightXamlRenderer' from assembly 'Telerik.Reporting, Version=4.2.10.1221, Culture=neutral, PublicKeyToken=a9d7983dfcc261be'.
  Source=mscorlib
  TypeName=Telerik.Reporting.XamlRendering.SilverlightXamlRenderer
  StackTrace:
       at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
       at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName)
       at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
       at System.Type.GetType(String typeName, Boolean throwOnError)
       at Telerik.Reporting.Processing.ExtensionManagerBase.CreateExtensionInfo(String typeName, String extensionName)
  InnerException:

Thanks.
Robert
Top achievements
Rank 1
 answered on 18 Jan 2011
1 answer
131 views
Hi to everyone,

I'm receiving the following error while trying to preview a report (created with a previous version of Telerik Reporting) using the current version (Q3 2010): "Error: The Expression contains undefined function call LeafNumber()".
The report (created in VS2010) gets its data from a stored procedure: I used the profiler, and the SP on SQL Server 2008 R2 is correctly called from within the preview page, the data is returned correctly, but I always get this error.

Prior to upgrade there was no problem in displaying the report.

I tried to search in the forums "leafnumber" but I found no result.

Could you please help?
Thanks in advance. 
Steve
Telerik team
 answered on 18 Jan 2011
1 answer
787 views
Hi,

I have a report where I have a header set on all the pages using property called 'Print on every page'. However I want to restrict the heading on a particulare page where I get my summary tables. To put it another way I want to avoid the page header if my Summary table starts on a new page. Please help

Thanks
Peter
Telerik team
 answered on 18 Jan 2011
4 answers
140 views
Hi. 
I am using Telerik Reporting Q3 2010.  I am trying to create my first basic report and am following the instructions as per;
http://www.telerik.com/help/reporting/quick-start-create-simple-report.htmlI create a class library
  • I add a new Telerik report.  The wizard fires up
  • I get to the point where I create a new datasource.
  • When I click the "Add New DataSource ..." button on the Choose Data Source step of the report wizard - and then select "SQL datasource", I get the following error;
"Object Reference not set to an instance of an object".

Thing is, when I was using the demo version I had no such worries.  This morning I uninstalled that version and then installed a purchased version.  It installed OK.  I removed the previous class library project that used the demo version references and have created a new library prior to creating the report.

Anyone seen this problem or have a suggestion?

thanks Ritchie


Peeyush
Top achievements
Rank 1
 answered on 18 Jan 2011
4 answers
285 views
I need to print legal contracts.  What support for RTF on the reports will be available? I need to format text left/right/full justification, underline some word, bold some words all in the same text box.

As an alternative I could use a PDF file as a background image.  The PDF file will have all of the formated text and lines, etc.

Thanks,
John
Vojin
Top achievements
Rank 1
 answered on 18 Jan 2011
1 answer
101 views
I have a master report with a subreport in the detail section.  On my master report I have a background image that fills the page.  If my subreport does not fill an entire page the bacground image stops where the subreport stops and the rest of the page is white.  What can I do to fix this?  I tried adding a report footer to force the page to finish priting but that doesn't fix the problem.
Peter
Telerik team
 answered on 18 Jan 2011
3 answers
177 views
Hi!
There is support for localization of reports serialized on xml files? How it works? 
For instance serializing a report we have obtained the following xml extract:

<TextBox Value="Cliente: " >

where the value of label textbox is built-in in the xml in one only culture. There is any way to have something like a link to a resource like report in compiled mode?

We have found the following fix in the last release:

<<<
What's Fixed in Telerik Reporting Q3 2010 SP1 (v4.2.10.1221)
Report Model
Fixed: XML report serialization should be culture agnostic
>>>

what that means? We can't find other information about it.

Thanks
Chavdar
Telerik team
 answered on 18 Jan 2011
1 answer
111 views
Is there any way that I can force my web app's ReportViewer (or the report itself) to put everything on one page?

(Other than by setting a mile-long paper size?)
Peter
Telerik team
 answered on 18 Jan 2011
1 answer
63 views
You state in another identically titled thread that there was a bug in Q3 2010 with multivalue parameters and that there was an internal build available that addresses it.  Can you please  make this available to  myself.  I have just spent a very frustrating day getting your earlier workaround (involving a user function) up and running and a fix would be infinitely preferable than trying to get that working again.

thanks
Ritchie
Steve
Telerik team
 answered on 18 Jan 2011
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?