or
[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 CODECode Behind
<%@ 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>
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?
team.TeamMembers.Where(o => o.TeamId == team.ID).Select(i => i.Member.Name).Aggregate((x, y) => x + y)
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.
<
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();
}
}
}