No aspnet Security tables created after setting up Radzen Security

#1

Hi guys

I running through the creation of the demo "CRM" app

When I set the demo Application "CRM" to use "Default" provider and pick the database
and run the application , No aspnet security tables are created in my database .

and so I get the following error when I run the code....

core.js:1440 ERROR Error: Uncaught (in promise): Error: Cannot match any routes. URL Segment: 'login'
Error: Cannot match any routes. URL Segment: 'login'
at ApplyRedirects.noMatchError (router.js:1719)
at CatchSubscriber.eval [as selector] (router.js:1684)
at CatchSubscriber.error (catchError.js:105)
at MapSubscriber.Subscriber._error (Subscriber.js:131)
at MapSubscriber.Subscriber.error (Subscriber.js:105)
at MapSubscriber.Subscriber._error (Subscriber.js:131)
at MapSubscriber.Subscriber.error (Subscriber.js:105)
at MapSubscriber.Subscriber._error (Subscriber.js:131)
at MapSubscriber.Subscriber.error (Subscriber.js:105)
at LastSubscriber.Subscriber._error (Subscriber.js:131)
at resolvePromise (zone.js:809)
at eval (zone.js:728)
at eval (zone.js:744)
at ZoneDelegate.invoke (zone.js:388)
at Object.onInvoke (core.js:4733)
at ZoneDelegate.invoke (zone.js:387)
at Zone.run (zone.js:138)
at eval (zone.js:858)
at ZoneDelegate.invokeTask (zone.js:421)
at Object.onInvokeTask (core.js:4724)
defaultErrorLogger @ core.js:1440

Any ideas?

thanks a lot

dave

0 Likes

#2

This error means that your application doesn't have a login page. Did you check the Auto generate pages for user and role management checkbox? It should have created all security related pages including the login one.

The security tables are created on demand on first login.

0 Likes