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. Image for the cookie policy date
close icon
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.

Error trying example

https://reports.syncfusion.com/documentation/angular/report-viewer/display-ssrs-rdl-report-in-angular-application/

I am trying the sample on link above and getting an error. Any suggestion to resolve this issue?


AppComponent_Host.ngfactory.js? [sm]:1 ERROR Error: The selector "ej-sample" did not match any elements
    at DefaultDomRenderer2.push../node_modules/@angular/platform-browser/fesm5/platform-browser.js.DefaultDomRenderer2.selectRootElement (platform-browser.js:1074)
    at DebugRenderer2.push../node_modules/@angular/core/fesm5/core.js.DebugRenderer2.selectRootElement (core.js:24292)
    at createElement (core.js:20978)
    at createViewNodes (core.js:23216)
    at createRootView (core.js:23169)
    at callWithDebugContext (core.js:24177)
    at Object.debugCreateRootView [as createRootView] (core.js:23687)
    at ComponentFactory_.push../node_modules/@angular/core/fesm5/core.js.ComponentFactory_.create (core.js:21508)
    at ComponentFactoryBoundToModule.push../node_modules/@angular/core/fesm5/core.js.ComponentFactoryBoundToModule.create (core.js:9935)
    at ApplicationRef.push../node_modules/@angular/core/fesm5/core.js.ApplicationRef.bootstrap (core.js:18088)

3 Replies

VS Vinoth Srinivasan Syncfusion Team August 6, 2019 06:09 AM UTC

Hi Rodrigo, 

Sorry for the inconvenience. 

The mentioned issue occurs when selector name is invalid. We need to pass the selector name which we have provided in our index.html inside the body tag as shown in below snap. So, could you please change your selector name as same as which you have provided in your index.html page to avoid the mentioned problem at your end. 

 

 

Also, we will consider changing this in our online documentation. 

Regards, 
Vinoth S. 



RL Rodrigo Luz August 6, 2019 12:20 PM UTC

Thanks, it worked!

I am from Delphi+FastReport so I need to learn a lot yet ...


VS Vinoth Srinivasan Syncfusion Team August 6, 2019 12:30 PM UTC

Hi Rodrigo, 

Thanks for your update. Please let us know if you require further assistance on this. 

Regards, 
Vinoth S. 


Loader.
Live Chat Icon For mobile
Up arrow icon