If you became a customer of the Syncfusion� Reporting Platform or the Report Viewer, Report Designer, or Report Writer components before October 2019 and have questions related to those products, you can request support through our forum system. However, please note that this support system is only for existing customers who are still using the Syncfusion� Reporting Platform or its components and not for new customers looking for reporting products from Syncfusion�.

For new customers or those with general reporting questions, we recommend contacting our support team at https://support.boldreports.com/, which is a separate brand created by Syncfusion� for its reporting solutions. Our team will be happy to assist you with any questions you may have.

Thank you for choosing Syncfusion� for your reporting needs.

GetServiceUrl - NullReferenceException

Hello,

I followed the steps in "Getting Started" for Report Designer (JavaScript).

The Report Designer renders fine, but when I try to do Open / From Server or Save / To Server, I get the exception below in my "PostDesignerAction" of the ReportDesignController.

Am I missing some configuration for the Service Url?
 

Sf_Exception - System.NullReferenceException: Object reference not set to an instance of an object.
   at Syncfusion.Report.Intenal.Server.ServerUtility.GetServiceUrl(String reportServerUrl, String version)
   at Syncfusion.Report.Intenal.Server.ReportService2005.SetReportingServer()
   at Syncfusion.Report.Intenal.Server.ReportService2005.GetCatalogItem(String folderName)
   at Syncfusion.Report.Intenal.Server.SqlReportingServer.GetCatalogItem(String folderName, ItemTypeEnum type, List`1& items)
   at Syncfusion.Report.Intenal.Server.ServerReportProcessor.GetCatalogItem(String folderName, ItemTypeEnum type, List`1& items)
   at Syncfusion.EJ.ReportDesigner.ReportProcessor.GetCatalogItems(String dirPath)
   at Syncfusion.EJ.ReportDesigner.Internal.ReportDesignerInternalHelper.ProcessDesigner()


Thanks!

1 Reply

MM Mageshyadav M Syncfusion Team October 17, 2018 02:03 PM UTC

Hi Andy, 
 
Thanks for contacting Syncfusion support. 
 
Actually the issue will arise while opening the reports from server option when the server is not configured in your WebReportDesigner application. 
 
If you want to open or edit or save to the Syncfusion Report server means please refer to the below documentation link. 
 
If you want to configure your application using external server then we need to add the ExternalServer.cs class file in your application to make your application act as external server. This file is available in below Essential Studio JavaScript build location.  
File Location : ‘C:\Users\Public\Documents\Syncfusion\JavaScript\16.3.0.21\ejservices\Controllers\ ExternalReportServer.cs’ 
 
We have prepared the sample for your reference using ExternalServer.cs class file to open or save to external server and it can be downloaded from below location. 
 
Please let us know in case of any further clarifications needed. 
 
Regards, 
Mageshyadav.M 


Loader.
Up arrow icon