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

Activities of "VuCA"

Prerequisites

  • What is your product version? => AspNet Zero V5.4.0.0
  • What is your product type (Angular or MVC)? => MVC
  • What is product framework type (.net framework or .net core)? => .Net
  • What is ABP Framework version? => 3.6.2.0

Issue

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.

https://stackoverflow.com/questions/54177080/log4net-configuration-is-not-working-in-production-doe-azure-web-services

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!

Setting:

My setting form:

Question

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:

  1. The first one is: I do not customize class Role : AbpRole<User>

Castle.MicroKernel.ComponentActivator.ComponentActivatorException: ComponentActivator: could not proxy Abp.EntityFramework.Repositories.EfRepositoryBase2[[Abp.Zero.EntityFramework.AbpZeroCommonDbContext2[[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. ......

  1. The second one is: The website is running but sometime throw this exception. (note: the connection string is correct & db server working fine) ERROR ComponentActivator: could not instantiate MyNamespace.EntityFramework.MyDbContext Castle.MicroKernel.ComponentActivator.ComponentActivatorException: ComponentActivator: could not instantiate MyNamespace.EntityFramework.MyDbContext ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Data.Entity.Core.ProviderIncompatibleException: An error occurred accessing the database. This usually means that the connection to the database failed. Check that the connection string is correct and that the appropriate DbContext constructor is being used to specify it or find it in the application's config file. See <a class="postlink" href="http://go.microsoft.com/fwlink/?LinkId=386386">http://go.microsoft.com/fwlink/?LinkId=386386</a> for information on DbContext and connections. See the inner exception for details of the failure. ---> System.Data.Entity.Core.ProviderIncompatibleException: The provider did not return a ProviderManifestToken string. ---> Oracle.ManagedDataAccess.Client.OracleException: Connection request timed out at OracleInternal.ConnectionPool.PoolManager3.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.OracleConnectionDispenser3.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.ConcurrentDictionary2.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.RetryLazy2.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:

  1. Functional
  2. Reports When user access to export reports, some report take many time to process so that it affect to another function. Can you give me a solution to solve this problem? Thanks!

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:

  1. Disable background job --> do not see the error happen again (not full test)
  2. I log command text and saw the error bellow
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
  1. I found the problem (not sure) on the stackoverflow [https://stackoverflow.com/questions/42147820/ef-6-adding-row-limit-automatically]) but do not have solution for this one.

Please help how to resolve that.

Thanks!

Showing 1 to 10 of 14 entries