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

Activities of "alexanderpilhar"

I have solved the issue!

Make sure to target iOS and Android platform in project CompanyName.ProjectName.Mobile.MAUI.

This issue also exists for ASPNETZERO 12.2.0 (Angular).

@murphymj5209 seems to be right: The issue only occurs when opening solution CompanyName.PorjectName.All and does not occur when opening solution CompanyName.ProjectName.Web.

But what does that mean? Use .Web instead of .All for now?

Thank you very much @edarib!

For anyone who wonders what to do:

  • Right-click project YourProjectName.Mobile.MAUI.
  • Click on Properties.
  • There under Application -> Android Targets click the checkbox Target the Android platform.

You may need to clean your solution and rebuild it. If cleaning fails just restart Visual Studio and try again.

I hope this helps!

I can confirm the linked commit fixes the issue!

Thank you very much!

Hi @m.aliozkaya!

I'll give it a try and see if it fixes the issue!

And this is the error logged:

ERROR 2023-03-01 09:01:40,258 [39 ] Mvc.ExceptionHandling.AbpExceptionFilter - There is no user with id: 189
Abp.AbpException: There is no user with id: 189
at Abp.Authorization.Users.AbpUserManager`2.GetUserByIdAsync(Int64 userId)
at Company.Name.Authorization.Accounts.AccountAppService.ResetPassword(ResetPasswordInput input) in D:\User.Name\source\repos\Company.Name.All\Core\src\Company.Name.Application\Authorization\Accounts\AccountAppService.cs:line 144
at lambda_method9990(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)

Also, URL seems to be okay - the tenant-id is correct there: https://.../account/reset-password?tenantId=1&c=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

But the form says there is no tenant selected... And sending the forms leads to an error message...

Hi @ismcagdas!

I use the login approach as shipped with ASPNETZERO.

I wanted to try again using ASPNETZERO demo application but there is a problem with the certificate it seems (ERR_SSL_VERSION_OR_CIPHER_MISMATCH).

This is true for ASPNETZERO 12.0.0 (Angular)!

How to reproduce: Start the spinner in any component that extends AppComponentBase without stopping it: this.spinnerService.show(). You will see the dark overlay but no blue circle spinning around.

How to solve: As already stated by @rickfrankel in the comment above, in angular.json add node_modules/ngx-spinner/animations/ball-clip-rotate.css to styles section:

"styles": [
    ...,
    "node_modules/ngx-spinner/animations/ball-clip-rotate.css"
]

I made the Angular application into a PWA and I think maybe some of our clients just never update the client application and therefor are still using a version in which the .png file was linked...

I close this now as it seems irrelevant and not an issue of ASPNETZERO.

Anyway, thank you @ismcagdas!

Showing 1 to 10 of 173 entries