Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "mahendra"

Hi Support, Any update? Regards, Mahendra

Hi support,

We have customized the register page by adding some new fields. To do this we have used the wizard instead of doing manual changes in the register page. After compilation, if we test the "Register" button, code is working fine on localhost i.e. on the development machine but getting below mentioned error if we deploy the solution at public URL. For your reference, our public hosted URL is below on which we are getting error: http://oewebuidevwin.westus.cloudapp.azure.com:91/

Following exception is coming in the browser console.

Exception and Product info:

ERROR Error: Uncaught (in promise): NullInjectorError: StaticInjectorError[n -> n]: StaticInjectorError(Platform: core)[n -> n]: NullInjectorError: No provider for n! NullInjectorError: StaticInjectorError[n -> n]: StaticInjectorError(Platform: core)[n -> n]: NullInjectorError: No provider for n! at e.get (main.27a131212635f0042b00.js:1) at main.27a131212635f0042b00.js:1 at e (main.27a131212635f0042b00.js:1) at e.get (main.27a131212635f0042b00.js:1) at main.27a131212635f0042b00.js:1 at e (main.27a131212635f0042b00.js:1) at e.get (main.27a131212635f0042b00.js:1) at Sf (main.27a131212635f0042b00.js:1) at e.get (main.27a131212635f0042b00.js:1) at Sf (main.27a131212635f0042b00.js:1) at j (polyfills.b9d3a8e21533e34a7a7b.js:1) at j (polyfills.b9d3a8e21533e34a7a7b.js:1) at polyfills.b9d3a8e21533e34a7a7b.js:1 at t.invokeTask (polyfills.b9d3a8e21533e34a7a7b.js:1) at Object.onInvokeTask (main.27a131212635f0042b00.js:1) at t.invokeTask (polyfills.b9d3a8e21533e34a7a7b.js:1) at e.runTask (polyfills.b9d3a8e21533e34a7a7b.js:1) at b (polyfills.b9d3a8e21533e34a7a7b.js:1) at e.invokeTask [as invoke] (polyfills.b9d3a8e21533e34a7a7b.js:1) at b (polyfills.b9d3a8e21533e34a7a7b.js:1)

Product version-8.2.0 Product type (Angular or MVC)-Angular Product framework type (.net framework or .net core)-.net core

Regards, Mahendra

Hi support,

We have customized the register page by adding some new fields. To do this we have used the wizard instead of doing manual changes in the register page. After compilation, if we test the "Register" button, code is working fine on localhost i.e. on the development machine but getting below mentioned error if we deploy the solution at public URL. For your reference, our public hosted URL is below on which we are getting error: http://oewebuidevwin.westus.cloudapp.azure.com:91/

Following exception is coming in the browser console.

Exception and Product info:

ERROR Error: Uncaught (in promise): NullInjectorError: StaticInjectorError[n -> n]: StaticInjectorError(Platform: core)[n -> n]: NullInjectorError: No provider for n! NullInjectorError: StaticInjectorError[n -> n]: StaticInjectorError(Platform: core)[n -> n]: NullInjectorError: No provider for n! at e.get (main.27a131212635f0042b00.js:1) at main.27a131212635f0042b00.js:1 at e (main.27a131212635f0042b00.js:1) at e.get (main.27a131212635f0042b00.js:1) at main.27a131212635f0042b00.js:1 at e (main.27a131212635f0042b00.js:1) at e.get (main.27a131212635f0042b00.js:1) at Sf (main.27a131212635f0042b00.js:1) at e.get (main.27a131212635f0042b00.js:1) at Sf (main.27a131212635f0042b00.js:1) at j (polyfills.b9d3a8e21533e34a7a7b.js:1) at j (polyfills.b9d3a8e21533e34a7a7b.js:1) at polyfills.b9d3a8e21533e34a7a7b.js:1 at t.invokeTask (polyfills.b9d3a8e21533e34a7a7b.js:1) at Object.onInvokeTask (main.27a131212635f0042b00.js:1) at t.invokeTask (polyfills.b9d3a8e21533e34a7a7b.js:1) at e.runTask (polyfills.b9d3a8e21533e34a7a7b.js:1) at b (polyfills.b9d3a8e21533e34a7a7b.js:1) at e.invokeTask [as invoke] (polyfills.b9d3a8e21533e34a7a7b.js:1) at b (polyfills.b9d3a8e21533e34a7a7b.js:1)

Product version-8.2.0 Product type (Angular or MVC)-Angular Product framework type (.net framework or .net core)-.net core

Regards, Mahendra

This issue is resolved.

What is your product version? 8.2.0 What is your product type (Angular or MVC)? Angular What is product framework type (.net framework or .net core)? .net core

Steps needed to reproduce the problem.

  1. On Login screen, enter Email:"Admin" and password="123qwe" and press Login button.
  2. Goto Administration-->Settings-->Security tab.
  3. On "Security" tab "Enable user account locking on failed login attempts" checkbox is enabled, "Maximum number of failed login attempt count before locking the account" value is 3 and "Account locking duration (as seconds)" is 300.
  4. Logout
  5. Try to enter any user email and incorrect password who is already active multiple times.
  6. On each attempts (4th and onwards also), getting same error message "Login failed! Invalid username or password" while on 4th attemps, user should have to get the warning related to "user lockout".
  7. Now try to login same user with same email and correct password, user is suessfully login while at this step user should not get login and get warning message.

We have single tenant app in which security setting "Enable user account locking on failed login attempts" is enabled for max 5 attempts. On login page, user is only getting error message "Login Failed". In case, if user is exceeding this limit as well and he is still active and never marked locked.

Please let us know how to configure this in case if we are missing any setting or may be this is a bug.

Answer

Hi,

When I chaged the datatype of my Dto from DateTime to DateTimeOffset, the GraphQL started returning the time with date value. But the next problem started in AutoMapper.

Now my entity class has a DateTime datatype but my dto (say, CreateOrUpdate DTO) has a a DateTimeOffset datatype. Due to this it started throwing error while mapping the dto object to entity object or vice versa.

What is the best way to overcome this problem.

Regards, Mahendra

Answer

Please don't bother. The issue has been fixed by converting the daetime datetype to datetimeoffset datatype...

Regards, Mahendra

Question

Hi Expert,

I am not getting the timepart in a datetime field in GraphQL playground. See attached image

Please advise....

Could you please tell us the steps to deploy aspnetzero application (both aspnetzero app and angular) in AWS elastic beanstalk? 
Showing 141 to 150 of 203 entries