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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Error trying example

Thread ID:





146413 Aug 2,2019 02:29 PM UTC Aug 6,2019 12:30 PM UTC Report Platform 3
Tags: Report Viewer
Rodrigo Luz
Asked On August 2, 2019 02:29 PM UTC


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)

Vinoth Srinivasan [Syncfusion]
Replied On 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. 

Vinoth S. 

Rodrigo Luz
Replied On August 6, 2019 12:20 PM UTC

Thanks, it worked!

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

Vinoth Srinivasan [Syncfusion]
Replied On August 6, 2019 12:30 PM UTC

Hi Rodrigo, 

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

Vinoth S. 


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon