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

Activities of "Leonardo.Willrich"

Ismcagdas,

After code implemented, it seems that the issue has been resolved. I could reproduce one more time, but, after login page refresh, I am no longer to reproduce that. Thank you for your help!

Hi ismcagdas, I can only reproduce the issue when the website is published and deployed in a IIS server. If I am running locally with IIS Express the issue doesn't happen. I'll try the changes as suggested here: https://support.aspnetzero.com/QA/Questions/10325#answer-93b82c90-0d0d-949c-8de5-39fdc150f354

Hi ismcagdas,

I'll check that and I'll be back to you. I'm quite busy atm with another project, but hopefully I'll find some time to reproduce that agian by tomorrow or the the day after tomorrow.

Any progress? Have you reproduced that issue?

Hi ismcagdas,

Ok, no problems! Just don't forget that I'am using version 8.6 aspnet .core + JQuery. If you need further information just let me know.

Hi musa.demir,

Unfortunately, I am not authorized to send you the project. Also, it will depend on external databases, so you will not be able to run the application. Would be possible we arrange a remote session on my local machine?

Hi BigCDogCrew,

The method AddError throws an exception and the code doesn't carry-on. Sorry, maybe that is not so clear.

I've resolved my issue creating a transaction and committing that manually using the methods:

using (var transaction = UnitOfWorkManager.Begin(TransactionScopeOption.RequiresNew)) { transaction.Complete(); }

Hi ismcagdas,

I have just 1 cookie for anti forgery. I can reproduce in other machines as well!

Prerequisites

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

Hi,

I am getting error 400 (bad request) when the user is logging out and logging in again. It is intermittent, sometimes it works fine and sometimes not. If the user presses F5 in the Login form, it works again.

In the log file I am getting this error:

ERROR 2021-05-17 14:16:06,099 [121 ] idateAntiforgeryTokenAuthorizationFilter - The provided antiforgery token was meant for a different claims-based user than the current user. Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException: The provided antiforgery token was meant for a different claims-based user than the current user. at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery.ValidateTokens(HttpContext httpContext, AntiforgeryTokenSet antiforgeryTokenSet) at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery.ValidateRequestAsync(HttpContext httpContext) at Abp.AspNetCore.Mvc.Antiforgery.AbpValidateAntiforgeryTokenAuthorizationFilter.OnAuthorizationAsync(AuthorizationFilterContext context)

Prerequisites

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

Hello,

When I tried to Linker "All assemblies" to reduce sizes but I am causing this issue. I tried to skip the below assemblies but still no luck.

  1. Castle.Core.AsyncInterceptor
  2. Castle.Facilities.Logging
  3. Castle.Core
  4. Castle.Windsor
  5. Abp
  6. Abp.AutoMapper

Below code throwing exception: AbpBootstrapper.Create<T>(options => { options.DisableAllInterceptors = true; }); Abp package version - 5.10.1 Base framework - .Net standard. Message=Could not instantiate custom activator Source=Castle.Windsor StackTrace: at Castle.MicroKernel.DefaultKernel.CreateComponentActivator (Castle.Core.ComponentModel model) [0x00083] in <7fa4ed9fe042449ab5a097b854c82d16>:0 at Castle.MicroKernel.Handlers.DefaultHandler.InitDependencies () [0x0000c] in <7fa4ed9fe042449ab5a097b854c82d16>:0 at Castle.MicroKernel.Handlers.AbstractHandler.Init (Castle.MicroKernel.IKernelInternal kernel) [0x0002c] in <7fa4ed9fe042449ab5a097b854c82d16>:0 at Castle.MicroKernel.Handlers.DefaultHandlerFactory.Create (Castle.Core.ComponentModel model) [0x00007] in <7fa4ed9fe042449ab5a097b854c82d16>:0 at Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.CreateHandler (Castle.Core.ComponentModel model) [0x0001b] in <7fa4ed9fe042449ab5a097b854c82d16>:0 at Castle.MicroKernel.DefaultKernel.AddCustomComponent (Castle.Core.ComponentModel model) [0x00000] in <7fa4ed9fe042449ab5a097b854c82d16>:0 at Castle.MicroKernel.Registration.ComponentRegistration`1[TService].Castle.MicroKernel.Registration.IRegistration.Register (Castle.MicroKernel.IKernelInternal kernel) [0x00056] in <7fa4ed9fe042449ab5a097b854c82d16>:0 at Castle.MicroKernel.DefaultKernel.Register (Castle.MicroKernel.Registration.IRegistration[] registrations) [0x0001b] in <7fa4ed9fe042449ab5a097b854c82d16>:0 at Castle.Windsor.WindsorContainer.Register (Castle.MicroKernel.Registration.IRegistration[] registrations) [0x00006] in <7fa4ed9fe042449ab5a097b854c82d16>:0 at Abp.Dependency.IocManager..ctor () [0x00036] in <52178ad3bb2d4b018609898d2b1ce89b>:0 at Abp.Dependency.IocManager..cctor () [0x0000a] in <52178ad3bb2d4b018609898d2b1ce89b>:0

To debug/reproduce the issue look into: https://github.com/Ajaysinh4377/AbpSample-V5.10.1.

Showing 21 to 30 of 78 entries