Telerik Forums
Reporting Forum
3 answers
269 views
I am getting the following error for all report on my live server but not on my local machine.

[TypeLoadException: A null or zero length string does not represent a valid Type.]
   System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +7663440
   System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +58
   System.Type.GetType(String typeName, Boolean throwOnError) +59
   Telerik.Reporting.Processing.ExtensionManagerBase.CreateExtensionInfo(String typeName, String extensionName) +45

[ExtensionManagerException: Error loading extension type with name .]
   Telerik.Reporting.Processing.ExtensionManagerBase.CreateExtensionInfo(String typeName, String extensionName) +83
   Telerik.Reporting.Processing.ExtensionManagerBase.Config(ExtensionInfoCollection extensions, ReportingConfigurationSection section) +285
   Telerik.Reporting.Processing.ExtensionManagerBase..ctor(IEnumerable`1 extensionTypeNames, ReportingConfigurationSection section) +95
   Telerik.Reporting.Processing.ExtensionManager.get_Instance() +96
   Telerik.Reporting.Processing.ExtensionManager.ListExtensions(Type extensionType) +11
   Telerik.Reporting.Processing.ReportProcessor.ListRenderingExtensions() +20
   Telerik.Reporting.Processing.ReportProcessor.GetRenderer(String name) +36
   Telerik.Reporting.Processing.ReportProcessor.RenderReport(String format, IReportDocument reportDocument, Hashtable deviceInfo, Hashtable renderingContext, CreateStream createStreamCallback) +206
   Telerik.ReportViewer.WebForms.ServerReport.Render(HttpResponse response, String format, Int32 pageIndex) +460
   Telerik.ReportViewer.WebForms.ReportPageOperation.PerformOperation(NameValueCollection urlQuery, HttpContext context) +117
   Telerik.ReportViewer.WebForms.HttpHandler.ProcessRequest(HttpContext context) +164
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


ASPX CODE
<%@ Page Title="" Language="C#" MasterPageFile="~/mstSite.Master" AutoEventWireup="true" CodeBehind="RollupReport.aspx.cs" Inherits="ARAMARK.MPB.Resources.Reports.RollupReport" %> 
<%@ Register Assembly="Telerik.ReportViewer.WebForms, Version=4.0.10.317, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" Namespace="Telerik.ReportViewer.WebForms" TagPrefix="telerik" %> 
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">  
    <br style="clear:both;" /> 
    <div class="TenAbove" /> 
    <div style="border:solid 1px black; padding:5px;">  
    <telerik:ReportViewer ID="ReportViewer1" runat="server"   
        width="100%" Height="775px" Resources-ExportSelectFormatText="View As..." Resources-ExportButtonText="View" > 
        <Resources ExportButtonText="View" ExportSelectFormatText="View As..."></Resources> 
    </telerik:ReportViewer> 
    </div> 
</asp:Content> 
Code Behind
protected void Page_Load(object sender, EventArgs e)  
        {  
            if (LoggedInUser.Role == Roles.RegionalAdmin)  
            {  
                ARAMARK.MPB.Reports.RollupReportDetailed r = new ARAMARK.MPB.Reports.RollupReportDetailed();  
                ReportViewer1.ShowParametersButton = false;  
                ReportViewer1.ParametersAreaVisible = false;  
                r.ReportParameters["RegionRecId"].Value = LoggedInUser.RegionRecId.ToString();  
                ReportViewer1.Report = r;  
            }  
        } 

Any clues?


Sebastian
Top achievements
Rank 1
 answered on 24 Apr 2013
1 answer
78 views
I'm trying to put a page break before a sub report. I've read in a few different spots that this can only be done with sections. I don't have any groupings and apparently the designer can only create groups and not additional detail sections. Any suggestions? Adding code is not a good solution for me since others who are not developers will be creating these reports.
Peter
Telerik team
 answered on 24 Apr 2013
1 answer
66 views
How to hide stored procedures name from standalone designer sql datasource wizard after configuring one time is there any way so that this wizard will show text box inspite off dropdown containg procedures name

Please help me out, Now i stuck with this point

Thanks in advance
Peter
Telerik team
 answered on 24 Apr 2013
0 answers
57 views
Dear All,
    I have this Linq query to combine a list of values (Names) form the child table into one string
    
team.TeamMembers.Where(o => o.TeamId == team.ID).Select(i => i.Member.Name).Aggregate((x, y) => x + y)

    the result is taken to a string properity on the returned class.
    When I preview the report I got this error:
    
An error has occurred while processing Report 'TeamFollowUp': An error occurred while invoking data retrieval method. Try restarting VisualStudio.
------------- InnerException -------------
Exception has been thrown by the target of an invocation.
------------- InnerException -------------
LINQ to Entities does not recognize the method 'System.String Aggregate[String](System.Collections.Generic.IEnumerable`1[System.String], System.Func`3[System.String,System.String,System.String])' method, and this method cannot be translated into a store expression.
    
How can I correct this ...!!!

Regards
Ubuntu
Top achievements
Rank 1
 asked on 24 Apr 2013
1 answer
102 views
Hello, 

IT's possible start with a option "ALL" and the filter is did not applied?

if yes, how can I do the code to the paramenter know when the user select one option, or when the user no select one option( in this case the query will bring all resgister from table. 

Thanks!

Att, ricardo
Hadib Ahmabi
Top achievements
Rank 1
 answered on 24 Apr 2013
1 answer
73 views
Hi
I am using your Telerik report in our program but ReportViewer is not working in xp and windows8. (windows 7 is good work)
So i re-downloaded the Q1 2013 build 7.0.13.412 and re-installed but it has a same problem.

My Source is simple ( i made it for the Telerik.ReportViewer test  )

<Window
 xmlns:tr="http://schemas.telerik.com/wpf" x:Class="tests.MainWindow"
 Title="MainWindow" Height="350" Width="525">
 <Grid>
  
<tr:ReportViewer Margin="33,23,40,22"/>
  
</Grid>
</Window>



using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
 
namespace tests
{
    /// <summary>
    /// MainWindow.xaml    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
        }
    }
}

-------------------------------------------------------------

Also, I included the Telerik.Reporting dlls.

Telerik.Reporting    -  Q1 2013 build 7.0.13.412
Telerik.Reporting.XpsRendering
Telerik.ReportViewer.Wpf
Telerik.Windows.Controls    - 2013.1.403.40    , v4.0.30319
Telerik.Windows.Controls.Chart
Telerik.Windows.Controls.Data
Telerik.Windows.Controls.GridView
Telerik.Windows.Controls.Input
Telerik.Windows.Controls.Navigation
Telerik.Windows.Data


This source is work in Windows 7 but is not work in XP and Windows 8.

What is problem?

Peter
Telerik team
 answered on 24 Apr 2013
2 answers
1.7K+ views
How to show/hide text box controls at runtime. I am unable to do this...Please help me out
Squall
Top achievements
Rank 1
 answered on 24 Apr 2013
1 answer
181 views
I downloaded & installed the latest Telerik Reporting (at the time this thread was posted), and also installed DevExpress 12.2.

I wanted to change my report service from DevExpress to Telerik's one but re-creating every single report from scratch in report designer is too time-consuming. I found some information about DevExpress converter but it was to use DevExpress 8.2.

My WebApp is based on asp.net MVC and published on Azure, I don't know if there is any work-around to have this task done and get it to work properly on Azure, and if there is one how could I do that? Really need help on this.

Arthur
Stef
Telerik team
 answered on 24 Apr 2013
1 answer
198 views
Pdf report is showing correct format of the dataset, but exporting to excel has too many hidden rows and columns. How to resolve this?
Peter
Telerik team
 answered on 24 Apr 2013
5 answers
417 views
In my report, I have a group footer that contains subtotals for the group. I would like to ensure that it is always printed on the same page as the data in the group, rather than by itself on the following page.

There does not seem to be any option to accomplish this. Basically, what I want is a "keep with previous" option. If the group is printing toward the bottom of a page such that there will not be room for the totals, I would rather have the whole group (or part of it) moved to the next page than to have the totals appear alone at the top of the next page.

Is there any way to do this?

Rick.
Elian
Telerik team
 answered on 24 Apr 2013
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?