We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Data not work on the Report viewer using ASP.NET MVC

Thread ID:

Created:

Updated:

Platform:

Replies:

121945 Feb 10,2016 04:13 PM Mar 2,2016 11:55 PM ASP.NET MVC 5
loading
Tags: ReportViewer
Edgar H Velandia M
Asked On February 10, 2016 04:13 PM

 Hello Friends !

I have used syncfusion report viewer but while loading report in view there is Excepition thrown

the screen snapshot or exception i attached with thread.

1)  In _Layout.cshtml
     @{ ViewBag.Project = "R.E.I"; }

<!DOCTYPE html>

<html>
<head>
    <meta charset="utf-8" />
    

    <!--Control CSS Bundle Config-->
    @Styles.Render("~/Content/cssBootstrap")
    @Styles.Render("~/Content/cssThemesJquery")
    @Styles.Render("~/Content/cssTools")
    @Styles.Render("~/Content/cssCustom")

    <!--Control CSS Syncfusion Minified -->
    <link rel='nofollow' href="@Url.Content("~/Content/ej/web/gradient-azure/ej.widgets.all.min.css")" rel="stylesheet" />
    @RenderSection("StyleSection", required: false)

    <!-- JS & Syncfusion Control Minified -->

    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")"></script>
    <script src="@Url.Content("~/Scripts/jquery.easing-1.3.min.js")"></script>
    <script src="@Url.Content("~/Scripts/jquery.globalize.min.js")"></script>
    <script src="@Url.Content("~/Scripts/cultures/globalize.culture.en-US.min.js")"></script>
    <script src="@Url.Content("~/Scripts/jsrender.min.js")"></script>

    <script src="@Url.Content("~/Scripts/ej/ej.web.all.min.js")"></script>
    <script src="@Url.Content("~/Scripts/ej/ej.unobtrusive.min.js")"></script>

    @RenderSection("ScriptReferenceSection", required: false)
</head>

<body id="pageBody">

    @Html.Partial("_HeaderPartial")

    @if (IsSectionDefined("DecorativeSection"))
    { 
        @RenderSection("DecorativeSection", required: false)
    }
    <div id="contentOuterSeparator"></div>

    <div class="container">
        @RenderBody()
        @if (IsSectionDefined("ControlsSection"))
        {     
            @RenderSection("ControlsSection", required: false) 

            if (IsSectionDefined("PropertiesSection"))
            {  
            @RenderSection("PropertiesSection", required: false)
            }
        }
        else
        {
            <div class="divPanel page-content">
                <div id="footerInnerSeparator">
                </div>
            </div>
        }
    </div>

    @Html.Partial("_FooterPartial")
    @(Html.EJ().ScriptManager())
    @if (IsSectionDefined("ScriptSection"))
    {
        @RenderSection("ScriptSection", required: false)
    }
    <script type="text/javascript">
        $(function () {
            $('#page').css("min-height", $(document).height());
        });

        $('.ttip').tooltip();
    </script>
</body>
</html>

2)  In ReportApiController.cs :


using Syncfusion.JavaScript;
using Syncfusion.JavaScript.Models;
using Syncfusion.JavaScript.ReportViewerEnums;
using Syncfusion.EJ.ReportViewer;
using Syncfusion.Reports.EJ;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web;
using System.Web.Http;
using System.Collections;
using System.Data;
using System.Reflection;
using Syncfusion.Compression;


namespace Legrand.REI.Web.WebAPI
{
    /// <summary>
    /// RDLCReportController Class
    /// </summary>
    public class ReportApiController : ApiController, IReportController
    {

        /// <summary>
        /// Posts the report action.
        /// </summary>
        /// <param name="jsonResult">The json result.</param>
        /// <returns></returns>
        public object PostReportAction(Dictionary<string, object> jsonResult)
        {
            return ReportHelper.ProcessReport(jsonResult, this);
        }

        /// <summary>
        /// Gets the resource.
        /// </summary>
        /// <param name="key">The key.</param>
        /// <param name="resourcetype">The resourcetype.</param>
        /// <param name="isPrint">if set to <c>true</c> [is print].</param>
        /// <returns></returns>
        [System.Web.Http.ActionName("GetResource")]
        [AcceptVerbs("GET")]
        public object GetResource(string key, string resourcetype, bool isPrint)
        {
            return ReportHelper.GetResource(key, resourcetype, isPrint);
        }

        /// <summary>
        /// Report Initialize
        /// </summary>
        /// <param name="reportOption"></param>
        public void OnInitReportOptions(ReportViewerOptions reportOption)
        {

        }

        /// <summary>
        /// Report Loaded
        /// </summary>
        /// <param name="reportOption"></param>
        public void OnReportLoaded(ReportViewerOptions reportOption)
        {
           
        }
    }
}

3) In 

@using Syncfusion.MVC.EJ
@using Syncfusion.JavaScript

@section StyleSection{
    <style>
        #reportviewer {
            min-height: 650px;
            min-width: 100%;
        }
    </style>
}

@section ControlsSection{
    <div style="width:100%">
        @(Html.EJ().ReportViewer("reportviewer")
                   .ProcessingMode(Syncfusion.JavaScript.ReportViewerEnums.ProcessingMode.Local)
                   .ReportPath("~/Reports/ReportCartera.rdlc")
                   .ReportServiceUrl("/api/ReportAPI")
                   .DataSources(t => t.Name("DsCartera").Value(ViewData["reportDataSource"]).Add()))
    </div>
}


4) 
using Legrand.REI.Entity.Entities;
using Legrand.REI.Repository.Service.Interfaces;
using Legrand.REI.Web.Filters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;


/// <summary>
/// Legrand.REI.Web.Controllers name space
/// </summary>
namespace Legrand.REI.Web.Controllers
{
    /// <summary>
    /// ReportController Class
    /// </summary>
    [Authorize]
    [ValidateHttpAntiForgeryToken]
    public class ReportController : Controller
    {
        #region Methods
        
        /// <summary>
        /// Reports the specified identifier.
        /// </summary>
        /// <param name="id">The identifier.</param>
        /// <returns></returns>
        public ActionResult ReportDet(string id)
        {
            // Get Data of Session["Aplicacion"] 

            var application = Session["Aplicacion"] as Legrand.REI.Web.Custom.Base.Application;
            ViewData["reportDataSource"] = application.DetailTransaction.DetTransaction.ToList();
             
            return View();
        }
        #endregion
    }
}

I do not understand why it does not work

Thanks for help me.


Attachment: ErrorRepor_24a49367.zip

Venkatesan Pandian [Syncfusion]
Replied On February 11, 2016 06:24 AM

Hi Edgar,

Thanks for contacting Syncfusion support.

The mentioned issue might have occurred due to the WebAPI Routing not registered properly in Application Start event. So, please ensure whether the WebAPI routing is registered properly in your application as shown in the below example.

Register the WebAPI:

public static void Register(HttpConfiguration config)

        {

            config.Routes.MapHttpRoute(

               name: "DefaultApi",

                routeTemplate: "api/{controller}/{action}/{id}",

                defaults: new { id = RouteParameter.Optional }

            );
        }


Also, please ensure the following WebAPI assemblies are properly referred in Application.
·         System.Web.Http
·         System.Web.WebHost
·         System.Net.Http
·         System.Net.Http.WebRequest
·         System.Net.Http.Formatting



We have prepared a sample based on this and it can be downloaded from the below location,
http://www.syncfusion.com/downloads/support/forum/121945/ze/ReportViewerDemo1800205982.zip

You can obtain the ASP.Net MVC ReportViewer sample from the below installed location,
%userprofile%\\AppData\Local\Syncfusion\EssentialStudio\$version$\MVC\Samples

Please find the below UG documentation for more detail,
http://help.syncfusion.com/aspnetmvc/reportviewer/getting-started
http://help.syncfusion.com/aspnetmvc/reportviewer/getting-started#add-webapi-controller-for-reportviewer

Regards,
Venkatesan



Edgar H Velandia M
Replied On February 25, 2016 02:01 PM

Hello Mr. Venkatesan!

Thanks for Help me!


In localhost when run the program of my visual studio this work fine.  (http://localhost:60323/REI/ReportViewer/ReportViewerDetail/100819)   All ok.


The problem is whe I installing the FileDeploy in the server (http://10.103.5.75/REI/ReportViewer/ReportViewerDetail/100819); Show de next error:


Exception<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/><title>404 - File or directory not found.</title><style type="text/css"><!--body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}fieldset{padding:0 15px 10px 15px;} h1{font-size:2.4em;margin:0;color:#FFF;}h2{font-size:1.7em;margin:0;color:#CC0000;} h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;} #header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans-serif;color:#FFF;background-color:#555555;}#content{margin:0 0 0 2%;position:relative;}.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}--></style></head><body><div id="header"><h1>Server Error</h1></div><div id="content"> <div class="content-container"><fieldset>  <h2>404 - File or directory not found.</h2>  <h3>The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.</h3> </fieldset></div></div></body></html>

1) In the View: 
@{
    ViewBag.Title = "Reporte de Cartera";
}

<div class="breadcrumbs">
    <a rel='nofollow' href="@Url.Action("Index", "Home", new { area = "" })">Home</a> &nbsp;/&nbsp; <span>@ViewBag.Title @ViewBag.Message</span>
</div>


@section StyleSection{
    <style>
        #reportviewer {
            width: 950px !important;
            height: 600px !important;
        }
    </style>
}

@section ControlsSection{
    <div>
        @(Html.EJ().ReportViewer("reportviewer").ProcessingMode(Syncfusion.JavaScript.ReportViewerEnums.ProcessingMode.Local).ReportPath("~/Reports/ReportCartera.rdlc").ReportServiceUrl("/api/ReportAPI").DataSources(t => t.Name("DsCartera").Value(ViewData["reportDataSource"]).Add()))
    </div>
}

2)  My Controller

using Syncfusion.JavaScript;
using Syncfusion.JavaScript.Models;
using Syncfusion.JavaScript.ReportViewerEnums;
using Syncfusion.EJ.ReportViewer;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Syncfusion.Reports.EJ;

/// <summary>
/// Legrand.REI.Web.Controllers Namespace
/// </summary>
namespace Legrand.REI.Web.Controllers
{
    /// <summary>
    /// ReportViewerController Class
    /// </summary>
    /// <seealso cref="System.Web.Mvc.Controller" />
    public partial class ReportViewerController : Controller
    {
        //
        // GET: /Report/
        public ActionResult ReportViewerDetail(string id)
        {
            var application = Session["Aplicacion"] as Legrand.REI.Web.Custom.Base.Application;
            ViewData["reportDataSource"] = application.DetailTransaction.DetTransaction.ToList();

            return View();
        }
    }

    /// <summary>
    /// ReportAPIController Class
    /// </summary>
    /// <seealso cref="System.Web.Http.ApiController" />
    /// <seealso cref="Syncfusion.EJ.ReportViewer.IReportController" />
    public class ReportAPIController : ApiController, IReportController
    {
        /// <summary>
        /// Reporting Actions
        /// </summary>
        /// <param name="jsonResult"></param>
        /// <returns></returns>
        public object PostReportAction(Dictionary<string, object> jsonResult)
        {
            return ReportHelper.ProcessReport(jsonResult, this);
        }

        /// <summary>
        /// Export the Report
        /// </summary>
        /// <param name="key"></param>
        /// <param name="resourcetype"></param>
        /// <param name="isPrint"></param>
        /// <returns></returns>
        [System.Web.Http.ActionName("GetResource")]
        [System.Web.Http.AcceptVerbs("GET")]
        public object GetResource(string key, string resourcetype, bool isPrint)
        {
            return ReportHelper.GetResource(key, resourcetype, isPrint);
        }

        /// <summary>
        /// Report Initialize
        /// </summary>
        /// <param name="reportOption"></param>
        public void OnInitReportOptions(ReportViewerOptions reportOption)
        {
        }

        /// <summary>
        /// Report Loaded
        /// </summary>
        /// <param name="reportOption"></param>
        public void OnReportLoaded(ReportViewerOptions reportOption)
        {

        }
    }
}

I do not understand why it does not work

Thanks for help me.



Attachment: PicturesForReview_1b6bb372.zip

Yuvaraj Devarajan [Syncfusion]
Replied On February 26, 2016 01:50 AM

Hi Edgar,

The mentioned issue might have occurred due to IIS failed to map the extension for WebAPI action URLs. So please ensure whether the IIS request modules are mapped for all requests in Web.config file as shown in the below example.

<system.webServer>
    <validation validateIntegratedModeConfiguration="false"/> 
    <modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>



Also, the WebAPI controller’s absolute service URL path might be changed while deploying the Application in IIS. So please ensure to use the ReportServiceUrl path as absolute as shown below.

@(Html.EJ().ReportViewer("reportviewer").ProcessingMode(Syncfusion.JavaScript.ReportViewerEnums.ProcessingMode.Local)
.ReportPath("~/Reports/ReportCartera.rdlc").ReportServiceUrl(VirtualPathUtility.ToAbsolute("~/api/ReportAPI"))
.DataSources(t => t.Name("DsCartera").Value(ViewData["reportDataSource"]).Add()))
    </div>
}



Please refer to the below links for more details about Web API request not found when deploying the application in IIS,
http://forums.asp.net/t/2070064.aspx?Web+API+2+URL+routing+404+error+on+IIS+7+5+IIS+Express+works+fine
http://stackoverflow.com/questions/9703090/http-404-page-not-found-in-web-api-hosted-in-iis-7-5

If the issue still persists, then please share your Web.config file with us to validate this issue.  

Regards,
Yuvaraj D


Edgar H Velandia M
Replied On March 2, 2016 05:40 PM

Hello Mr.  Yuvaraj Devarajan,

Thank you,  for help me,

Make changes, and displays the report on the server properly.
Now the problem, when  Export to PDF,  does not work.  When I debug, I see that generates the following error:

http://10.103.5.75/REI/api/ReportAPI/PostReportAction Failed to load resource: the server responded with a status of 404 (Not Found)

1) On Legrand.REI.Web.Controllers  namespace  I have :

1.1) ReportViewer Controller

using Syncfusion.EJ.ReportViewer;
using Syncfusion.JavaScript;
using Syncfusion.JavaScript.Models;
using Syncfusion.JavaScript.ReportViewerEnums;
using Syncfusion.Reports.EJ;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;


namespace Legrand.REI.Web.Controllers
{
    
    public partial class ReportViewerController : Controller
    {
        
        public ActionResult ReportViewerDetail(string id)
        {
            var application = Session["Aplicacion"] as Legrand.REI.Web.Custom.Base.Application;
            ViewData["reportDataSource"] = application.DetailTransaction.DetTransaction.ToList();

            return View();
        }
    }

   1.2) ReportAPI Controller
    public class ReportAPIController : ApiController, IReportController
    {
       
        public object PostReportAction(Dictionary<string, object> jsonResult)
        {
            return ReportHelper.ProcessReport(jsonResult, this);
        }

       
        [System.Web.Http.ActionName("GetResource")]
        [System.Web.Http.AcceptVerbs("GET")]
        public object GetResource(string key, string resourcetype, bool isPrint)
        {
            return ReportHelper.GetResource(key, resourcetype, isPrint);
        }

       
        public void OnInitReportOptions(ReportViewerOptions reportOption)
        {
        }

        public void OnReportLoaded(ReportViewerOptions reportOption)
        {

        }
    }
}

2) This is the web.config


<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
    <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
    <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  </configSections>
  <connectionStrings>
    <add name="DefaultConnection" connectionString="Data Source=10.103.5.75,1433;User ID=cagudelo;Password=Kelo2015;Initial Catalog=DbWebCustom;" providerName="System.Data.SqlClient" />
    <add name="StringConectionOLDB" connectionString="Provider=IBMDA400.DataSource.1;Data Source=CO-OPGL.LIMOUSIN.FR.GRPLEG.COM;Persist Security Info=False;Protection Level=None;Initial Catalog=AS25;Force Translate=65535;Catalog Library List=VECAOBJ,COFLIBC;Query Optimize Goal=1;Block Size=1024" providerName="System.Data.OleDb" />
  </connectionStrings>
  <appSettings>
    <add key="webpages:Version" value="2.0.0.0" />
    <add key="webpages:Enabled" value="false" />
    <add key="PreserveLoginUrl" value="true" />
    <add key="ClientValidationEnabled" value="true" />
    <add key="UnobtrusiveJavaScriptEnabled" value="false" />
    <!--> E = Enterprise Library OleDb -->
    <!--> O = OleDb -->
    <!--> I = IBM.Data.DB2.iSeries -->
    <add key="Provider" value="I" />
    <!--> connectionStringOLDB = Conexion para Enterprise Library Y OLDB 400 = System.Data.OleDb provider -->
    <add key="StringConectionOLDB" value="StringConectionOLDB" />
    <!--> connectionStringIBMDB2 = IBM.Data.DB2.iSeries  Provider -->
    <add key="StringConectionIBMD2" value="StringConectionIBMD2" />
    <add key="ClientSettingsProvider.ServiceUri" value="" />
    <add key="UserProgrammer" value="EVELANDI" />
    <add key="LibObj" value="VECAOBJ" />
    <add key="LibSite" value="C" />
  </appSettings>
  <system.web>
    <compilation debug="true" targetFramework="4.5">
      <assemblies>
        <add assembly="AjaxMin, Version=4.57.4561.28951, Culture=neutral, PublicKeyToken=21ef50ce11b5d80f" />
        <add assembly="Syncfusion.Compression.Base, Version=13.1400.0.21, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
        <add assembly="Syncfusion.Core, Version=13.1400.0.21, Culture=neutral, PublicKeyToken=632609B4D040F6B4" />
        <add assembly="Syncfusion.DocIO.Base, Version=13.1400.0.21, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
        <add assembly="Syncfusion.DocToPDFConverter.Base, Version=13.1400.0.21, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
        <add assembly="Syncfusion.EJ, Version=13.1400.0.21, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
        <add assembly="Syncfusion.EJ.Export, Version=13.1400.0.21, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
        <add assembly="Syncfusion.EJ.Mvc, Version=13.1400.0.21, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
        <add assembly="Syncfusion.EJ.ReportViewer, Version=13.1400.0.21, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
        <add assembly="Syncfusion.Linq.Base, Version=13.1400.0.21, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
        <add assembly="Syncfusion.Pdf.Base, Version=13.1400.0.21, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
        <add assembly="Syncfusion.XlsIO.Base, Version=13.1400.0.21, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />       
    </assemblies>
    </compilation>
    <httpRuntime targetFramework="4.5" />
    <authentication mode="Forms">
      <forms name="ASPXAUTHRei" loginUrl="~/Account/Login" timeout="2880" />
    </authentication>
    <customErrors mode="Off" />
    <globalization culture="es-CO" uiCulture="es-CO" />
    <pages>
      <namespaces>
        <add namespace="System.Web.Helpers" />
        <add namespace="System.Web.Mvc" />
        <add namespace="System.Web.Mvc.Ajax" />
        <add namespace="System.Web.Mvc.Html" />
        <add namespace="System.Web.Optimization" />
        <add namespace="System.Web.Routing" />
        <add namespace="System.Web.WebPages" />
        <add namespace="Syncfusion.EJ" />
        <add namespace="Syncfusion.MVC.EJ" />
        <add namespace="Syncfusion.EJ.ReportViewer" />
        <add namespace="Syncfusion.JavaScript" />
        <add namespace="Syncfusion.JavaScript.DataVisualization" />
      </namespaces>
    </pages>
    <httpHandlers>
      <add verb="*" path="captimage.axd" type="Syncfusion.JavaScript.ImageHandler, Syncfusion.EJ, Version=13.1400.0.21, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
    </httpHandlers>
  </system.web>
  <system.webServer>
    <validation validateIntegratedModeConfiguration="false" />
    <modules runAllManagedModulesForAllRequests="true" />
    <handlers>
      <remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" />
      <remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" />
      <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
      <add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
      <add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
      <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
    </handlers>
  </system.webServer>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
        <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
        <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
        <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-1.3.0.0" newVersion="1.3.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="DotNetOpenAuth.AspNet" publicKeyToken="2780ccd10d57b246" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="DotNetOpenAuth.Core" publicKeyToken="2780ccd10d57b246" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Microsoft.Data.OData" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-5.6.1.0" newVersion="5.6.1.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-5.6.1.0" newVersion="5.6.1.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Spatial" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-5.6.1.0" newVersion="5.6.1.0" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
  <entityFramework>
    <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
  </entityFramework>
  <system.net>
    <mailSettings>
      <!-- Method#2: Dump emails to a local directory -->
      <smtp deliveryMethod="Network" from="rei.legrand@vecanet.com">
        <network host="mail.vecanet.com" userName="rei.legrand@vecanet.com" password="legrandAdmin2015." />
      </smtp>
    </mailSettings>
  </system.net>
</configuration>

I do not understand why it does not work

Thanks for help me, again.

Regards,

Edgar H. Velandia


Attachment: Web_cf9de9d5.zip

Yuvaraj Devarajan [Syncfusion]
Replied On March 2, 2016 11:55 PM

Hi Edgar,

Sorry for the inconvenience caused.

The mentioned issue might have occurred due to missed to refer the exporting related assemblies in your sample or unavailable dependent assemblies deployed in project bin location. So, please ensure whether all the dependent assemblies are properly referred in the sample. Please refer to the below UG documentation for more details,
http://help.syncfusion.com/aspnetmvc/reportviewer/getting-started#add-references-scripts-styles-and-control-in-cshtml-page

If the issue still persists even after referring all the dependent assemblies, then share reproducible RDL report definition to validate this issue.

Regards,
Yuvaraj D

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;