Bold BI®Unlock stunning dashboards with Bold BI®: 35+ widgets, 150+ data sources, AI agent & more. Try it for free!
I am trying to follow the steps of creating a report viewer and loading a sample .rdl file. Since I could find not a corresponding description for report controller in the EJ2 documentation |
Currently, we don’t have our Reporting control in EJ2 and you can use our EJ1 ReportViewer control along with EJ2 controls. |
I used the sample provided in the EJ1 documentationhttps://help.syncfusion.com/aspnetmvc/reportviewer/getting-started. I am using VS2019, .NET 4.8 and Syncfusion V 17.02.34. Unfortunately, following the steps in the documentation, the report viewer and the report are bot not displayed correctly, instead I get the following error (roughly translated from source language):
Server error in application /.
Resource could not be found.
Description: HTTP 404. The requested resource or one if its dependencies may have been removed, renamed or might be temporarily not available. Check if the following URL was written correctly.
Requested URL: /api/ReportApi/PostReportAction
Moreover, when adding @using Syncfusion.JavaScript.ReportViewer to Index.cshtml, I get an error, although this using statement is explicitly mentioned in the documentation.
Could you please assist me in resolving this matter? Please let me know if you require additional information.
Thanks a mil in advance for any help provided.
|
We suspect that the reported issue may occur when we miss to register our controller details in Global.asax file as shown in the below link.
So, could you please ensure this at your end and if you still face any issue, then share your application with us for further validation. |
Bold Reports details. |
As per our plan of branding the reporting components from our Syncfusion Essential Studio, we were introduced Bold Reports Report Viewer SDK from Syncfusion. Based on this migration, will not have further feature updates with Syncfusion Essential Studio products from now onwards. You can get started to integrate the ReportViewer reporting functionalities into your ASP.NET MVC application using Bold Reports Report Viewer SDK. If you have already started the integration using Syncfusion Essential Studio, then you need to consider migrating the reporting components with Bold Reports libraries with changes in namespace and declarations for getting new feature updates. You can refer the below help documentation for your reference.
Also, you can make use of the below documentation to migrate the ReportViewer component. If you are having the application with Syncfusion Essential Studio libraries.
|
Thanks a mil for getting back to me regarding my post. Also thank you for clarifying that both EJ1 and EJ2 are to be used depending on the control that is to be implemented in the respective project. I'll try to remember taking a look at both documentations from now on with regards to the control I am working with. |
Please let us know if you face any issue while using our ReportViewer with EJ2 controls. |
went through my Global.asax as you suggested. Apart from some default lines implemented automatically upon project creation, I would argue that the Global.asax is pretty much the same.
namespace SyncfusionReportViewerNew
{
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start(object sender, EventArgs e)
{
AreaRegistration.RegisterAllAreas();
FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
RouteConfig.RegisterRoutes(RouteTable.Routes);
BundleConfig.RegisterBundles(BundleTable.Bundles);
GlobalConfiguration.Configuration.Routes.MapHttpRoute(
name: "DefaultApi",
routeTemplate: "api/{controller}/{action}/{id}",
defaults: new { id = RouteParameter.Optional });
}
}
}
I am still getting an error message when trying to import @using Syncfusion.JavaScript.ReportViewer into the Index.html.
Please let me know if and where I might upload the current project should require the whole thing for analysis.
|
Could you please share your sample application with us? You can compress your application and upload the zip file in this forum for our validation.
Note: Please remove bin and object folder from application. |
I am still a bit confused about the last part in your reply in which you mentioned the Bold reports. I do have some question about Am I right in the assumption that this is a new product? If so, will the current report view be phased out gradually (with no future updates made to EJ1 components)? Would you suggest switching to the Bold reports and would that require a new licence? I'll surely take a look at the trial version.
|
Our Bold Reports is a rebranded product and yes, we don’t have a further feature updates in our Essential Studio Report Viewer. You can use your existing license for downloading the Bold Reports ReportViewer SDK by logging in with your Syncfusion account in our Bold Reports site.
|
namespace SyncfusionReportViewerNew
{
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start(object sender, EventArgs e)
{
AreaRegistration.RegisterAllAreas();
GlobalConfiguration.Configuration.Routes.MapHttpRoute(
name: "DefaultApi",
routeTemplate: "api/{controller}/{action}/{id}",
defaults: new { id = RouteParameter.Optional });
FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
RouteConfig.RegisterRoutes(RouteTable.Routes);
BundleConfig.RegisterBundles(BundleTable.Bundles);
}
}
} |