Web Application can't use when using load balancer (A10) not using persit source mode or using multiple worker on application pool (IIS). There throw "Current user did not login" error for the end users. We using redis cache backplane to caching and for signalR.
Note: I follow this article to optimize performace but facing the same issue (current user did not login).
https://medium.com/@sanjay.rajak/does-api-response-fast-if-maximum-worker-processes-is-more-than-1-4b877af6b951
Any help would be much appreciated.
Thanks!
Now, I have issues login with ADFS SSO. After login adfs success redirect ExternalLoginCallback /Account/ExternalLoginCallback?ReturnUrl=%2F&tenancyName=Default. Sometime I have been received error code 500 Internal Server Error and view request timeout (image attachment)
I check AbpUserLoginAttempts table (after step 3) => database has record user login with Result = 1 (Success). I try mode incognito and another browser but received error same that. When restart pool login normal. How can check and resolve issue?
Dear Asp.net zero Support,
I deploy application to azure app service => Log is not generate on App_Data/Logs and D:\home\logfiles also. I also reference to issue on link bellow but it do not work.
Please check and let me know how to do. Thanks!
Hello,
I'm using Aspnet core + agular version 8.5.0 and enable two factor login - using SMS like setting bellow but It doesn't work. I just follow document at https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Features-Angular-Two-Factor-Authentication#sms-verification
Please check and help me slove this issue! Thanks!
Dear AspNet zero,
I want to update my project to ASP.NET Core & JQuery but this version doesn't support ADFS login.
Please tell me do you have plan to support that? or Can you give me some help to step by step working with ADFS.
Thanks in advance!
Dear admin,
I found some exceptions in the log file, please help me figure out this error and how to fix it:
Castle.MicroKernel.ComponentActivator.ComponentActivatorException: ComponentActivator: could not proxy Abp.EntityFramework.Repositories.EfRepositoryBase2[[Abp.Zero.EntityFramework.AbpZeroCommonDbContext
2[[MyNamespace.Authorization.Roles.Role, MyNamespace.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null],[MyNamespace.Authorization.Users.User, MyNamespace.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null]], Abp.Zero.EntityFramework, Version=2.1.3.0, Culture=neutral, PublicKeyToken=null],[Abp.Localization.ApplicationLanguage, Abp.Zero.Common, Version=2.1.3.0, Culture=neutral, PublicKeyToken=null]] ---> System.ArgumentException: Unable to obtain public key for StrongNameKeyPair.
......
3.Get(ConnectionString csWithDiffOrNewPwd, Boolean bGetForApp, String affinityInstanceName, Boolean bForceMatch) at OracleInternal.ConnectionPool.OraclePoolManager.Get(ConnectionString csWithNewPassword, Boolean bGetForApp, String affinityInstanceName, Boolean bForceMatch) at OracleInternal.ConnectionPool.OracleConnectionDispenser
3.Get(ConnectionString cs, PM conPM, ConnectionString pmCS, SecureString securedPassword, SecureString securedProxyPassword)
at Oracle.ManagedDataAccess.Client.OracleConnection.Open()
at Oracle.ManagedDataAccess.EntityFramework.EFOracleProviderServices.GetDbProviderManifestToken(DbConnection connection)
at System.Data.Entity.Core.Common.DbProviderServices.GetProviderManifestToken(DbConnection connection)
--- End of inner exception stack trace ---
at System.Data.Entity.Core.Common.DbProviderServices.GetProviderManifestToken(DbConnection connection)
at System.Data.Entity.Utilities.DbProviderServicesExtensions.GetProviderManifestTokenChecked(DbProviderServices providerServices, DbConnection connection)
--- End of inner exception stack trace ---
at System.Data.Entity.Utilities.DbProviderServicesExtensions.GetProviderManifestTokenChecked(DbProviderServices providerServices, DbConnection connection)
at System.Data.Entity.Infrastructure.DefaultManifestTokenResolver.<>c__DisplayClass1.<ResolveManifestToken>b__0(Tuple3 k) at System.Collections.Concurrent.ConcurrentDictionary
2.GetOrAdd(TKey key, Func2 valueFactory) at System.Data.Entity.Infrastructure.DefaultManifestTokenResolver.ResolveManifestToken(DbConnection connection) at System.Data.Entity.Utilities.DbConnectionExtensions.GetProviderInfo(DbConnection connection, DbProviderManifest& providerManifest) at System.Data.Entity.DbModelBuilder.Build(DbConnection providerConnection) at System.Data.Entity.Internal.LazyInternalContext.CreateModel(LazyInternalContext internalContext) at System.Data.Entity.Internal.RetryLazy
2.GetValue(TInput input)
at System.Data.Entity.Internal.LazyInternalContext.InitializeContext()
at System.Data.Entity.Internal.InternalContext.ForceOSpaceLoadingForKnownEntityTypes()
at System.Data.Entity.DbContext.System.Data.Entity.Infrastructure.IObjectContextAdapter.get_ObjectContext()
at Abp.EntityFramework.AbpDbContext.RegisterToChanges()
at MyNamespace.EntityFramework.MyDbContext..ctor(String nameOrConnectionString)
....
Please help me! Thanks in advance!Hi,
I try external social login with google account but loginInfo always return null from GetExternalLoginInfoAsync function. I think facebook account is fired the same error but I did not try
var loginInfo = await _authenticationManager.GetExternalLoginInfoAsync();
I use ASP.NET MVC 5.x & jQuery v4.1.0.0, please help me!
Thanks!
Dear admin,
ASP.Net Zero is easy integrated with ADFS to authentication but I want Authorize by role ADFS response. Is asp.net zero support that? and how to do it?
Thanks!
Hi, I'm using asp.net zero in my project, and my project have two module:
Hi ,
I have a strange error like bellow:
ORA-00933: SQL command not properly ended
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: Oracle.ManagedDataAccess.Client.OracleException: ORA-00933: SQL command not properly ended
Source Error:
Line 44: {
Line 45: var settingManager = AbpBootstrapper.IocManager.Resolve<ISettingManager>();
Line 46: var defaultLanguage = settingManager.GetSettingValue(LocalizationSettingNames.DefaultLanguage);
Line 47:
Line 48: if (defaultLanguage.IsNullOrEmpty())
When debug I found some reason:
SELECT
"Extent1"."ID" AS "ID",
"Extent1"."CUSTOM_CSS_ID" AS "CUSTOM_CSS_ID",
"Extent1"."LOGO_ID" AS "LOGO_ID",
"Extent1"."LOGO_FILE_TYPE" AS "LOGO_FILE_TYPE",
"Extent1"."EDITION_ID" AS "EDITION_ID",
"Extent1"."NAME" AS "NAME",
"Extent1"."TENANCY_NAME" AS "TENANCY_NAME",
"Extent1"."CONNECTION_STRING" AS "CONNECTION_STRING",
"Extent1"."IS_ACTIVE" AS "IS_ACTIVE",
"Extent1"."IS_DELETED" AS "IS_DELETED",
"Extent1"."DELETER_USER_ID" AS "DELETER_USER_ID",
"Extent1"."DELETION_TIME" AS "DELETION_TIME",
"Extent1"."LAST_MODIFICATION_TIME" AS "LAST_MODIFICATION_TIME",
"Extent1"."LAST_MODIFIER_USER_ID" AS "LAST_MODIFIER_USER_ID",
"Extent1"."CREATION_TIME" AS "CREATION_TIME",
"Extent1"."CREATOR_USER_ID" AS "CREATOR_USER_ID"
FROM "KHTT_QC"."ABP_TENANTS" "Extent1"
WHERE ((("Extent1"."IS_DELETED" = :DynamicFilterParam_000001) ) AND (1 = "Extent1"."ID")) AND (ROWNUM <= (1) )
WHERE (ROWNUM <= (1000) )
-- DynamicFilterParam_000001: 'False' (Type = Decimal, IsNullable = false)
-- DynamicFilterParam_000002: 'null' (Type = Decimal)
-- Executing at 7/5/2017 5:31:50 PM +07:00
Exception thrown: 'OracleInternal.Network.NetworkException' in Oracle.ManagedDataAccess.dll
Exception thrown: 'Oracle.ManagedDataAccess.Client.OracleException' in Oracle.ManagedDataAccess.dll
Exception thrown: 'Oracle.ManagedDataAccess.Client.OracleException' in Oracle.ManagedDataAccess.dll
Exception thrown: 'Oracle.ManagedDataAccess.Client.OracleException' in Oracle.ManagedDataAccess.dll
Exception thrown: 'Oracle.ManagedDataAccess.Client.OracleException' in Oracle.ManagedDataAccess.dll
-- Failed in 280 ms with error: ORA-00933: SQL command not properly ended
Please help how to resolve that.
Thanks!