How to handle multiple sessions(authentications) for single user in different browsers. how to manage the his sessions manually
https://yourdomain.com/Abp/ServiceProxyScript
successfully loading
2020-08-11 10:11:40.613 +00:00 [INF] Completed: Setting status of inactive sessions...
2020-08-11 10:11:40.616 +00:00 [INF] Request starting HTTP/1.1 GET https://domain/Account/Login
2020-08-11 10:11:40.627 +00:00 [INF] Executing endpoint '/Account/Login'
2020-08-11 10:11:40.628 +00:00 [INF] Route matched with {page = "/Account/Login", action = "", controller = "", area = ""}. Executing page /Account/Login
2020-08-11 10:11:40.636 +00:00 [INF] Executing handler method Volo.Abp.Account.Public.Web.Pages.Account.LoginModel.OnGetAsync - ModelState is "Valid"
2020-08-11 10:11:40.638 +00:00 [INF] Executed handler method OnGetAsync, returned result .
2020-08-11 10:11:40.640 +00:00 [INF] Executing an implicit handler method - ModelState is "Valid"
2020-08-11 10:11:40.642 +00:00 [INF] Executed an implicit handler method, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult.
2020-08-11 10:11:40.708 +00:00 [INF] Executed page /Account/Login in 78.1705ms
2020-08-11 10:11:40.714 +00:00 [INF] Executed endpoint '/Account/Login'
2020-08-11 10:11:40.715 +00:00 [INF] Request finished in 99.3678ms 200 text/html; charset=utf-8
2020-08-11 10:11:41.209 +00:00 [INF] Request starting HTTP/1.1 GET https://domain/Abp/ApplicationConfigurationScript
2020-08-11 10:11:41.214 +00:00 [INF] Executing endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc)'
2020-08-11 10:11:41.219 +00:00 [INF] Route matched with {area = "Abp", action = "Get", controller = "AbpApplicationConfigurationScript", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult] Get() on controller Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController (Volo.Abp.AspNetCore.Mvc).
2020-08-11 10:11:41.233 +00:00 [INF] Authorization was successful.
2020-08-11 10:11:41.239 +00:00 [INF] Authorization was successful.
2020-08-11 10:11:41.241 +00:00 [INF] Authorization was successful.
2020-08-11 10:11:41.242 +00:00 [INF] Request starting HTTP/1.1 GET https://domain/Abp/ServiceProxyScript
2020-08-11 10:11:41.251 +00:00 [INF] Executing endpoint 'Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc)'
2020-08-11 10:11:41.253 +00:00 [INF] Route matched with {area = "Abp", action = "GetAll", controller = "AbpServiceProxyScript", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult GetAll(Volo.Abp.AspNetCore.Mvc.ProxyScripting.ServiceProxyGenerationModel) on controller Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController (Volo.Abp.AspNetCore.Mvc).
2020-08-11 10:11:41.289 +00:00 [INF] Executing ContentResult with HTTP Response ContentType of application/javascript
2020-08-11 10:11:41.292 +00:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc) in 38.4914ms
2020-08-11 10:11:41.293 +00:00 [INF] Executed endpoint 'Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc)'
2020-08-11 10:11:41.294 +00:00 [INF] Request finished in 52.2982ms 200 application/javascript
these are my logs in logs folder
only account module not working. after login evrything working fine.
Yes I have added the migrations.
application working in debug and release mode.
after deploying the application in the cloud its's showing above error.
Getting issue while running the migrator console after upgrade the application
ERR] Failed executing DbCommand (845ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
CREATE TABLE [AbpAuditLogs] (
[Id] uniqueidentifier NOT NULL,
[ExtraProperties] nvarchar(max) NULL,
[ConcurrencyStamp] nvarchar(max) NULL,
[ApplicationName] nvarchar(96) NULL,
[UserId] uniqueidentifier NULL,
[UserName] nvarchar(256) NULL,
[TenantId] uniqueidentifier NULL,
[TenantName] nvarchar(max) NULL,
[ImpersonatorUserId] uniqueidentifier NULL,
[ImpersonatorTenantId] uniqueidentifier NULL,
[ExecutionTime] datetime2 NOT NULL,
[ExecutionDuration] int NOT NULL,
[ClientIpAddress] nvarchar(64) NULL,
[ClientName] nvarchar(128) NULL,
[ClientId] nvarchar(64) NULL,
[CorrelationId] nvarchar(64) NULL,
[BrowserInfo] nvarchar(512) NULL,
[HttpMethod] nvarchar(16) NULL,
[Url] nvarchar(256) NULL,
[Exceptions] nvarchar(4000) NULL,
[Comments] nvarchar(256) NULL,
[HttpStatusCode] int NULL,
CONSTRAINT [PK_AbpAuditLogs] PRIMARY KEY ([Id])
);
[08:28:52 ERR] There is already an object named 'AbpAuditLogs' in the database.
Microsoft.Data.SqlClient.SqlException (0x80131904): There is already an object named 'AbpAuditLogs' in the database.
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction) at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action
1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlCommand.InternalEndExecuteNonQuery(IAsyncResult asyncResult, Boolean isInternal, String endMethod)
at Microsoft.Data.SqlClient.SqlCommand.EndExecuteNonQueryInternal(IAsyncResult asyncResult)
at Microsoft.Data.SqlClient.SqlCommand.EndExecuteNonQueryAsync(IAsyncResult asyncResult)
at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func
2 endFunction, Action1 endAction, Task
1 promise, Boolean requiresSynchronization)
ERR] Failed executing DbCommand (845ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
CREATE TABLE [AbpAuditLogs] (
[Id] uniqueidentifier NOT NULL,
[ExtraProperties] nvarchar(max) NULL,
[ConcurrencyStamp] nvarchar(max) NULL,
[ApplicationName] nvarchar(96) NULL,
[UserId] uniqueidentifier NULL,
[UserName] nvarchar(256) NULL,
[TenantId] uniqueidentifier NULL,
[TenantName] nvarchar(max) NULL,
[ImpersonatorUserId] uniqueidentifier NULL,
[ImpersonatorTenantId] uniqueidentifier NULL,
[ExecutionTime] datetime2 NOT NULL,
[ExecutionDuration] int NOT NULL,
[ClientIpAddress] nvarchar(64) NULL,
[ClientName] nvarchar(128) NULL,
[ClientId] nvarchar(64) NULL,
[CorrelationId] nvarchar(64) NULL,
[BrowserInfo] nvarchar(512) NULL,
[HttpMethod] nvarchar(16) NULL,
[Url] nvarchar(256) NULL,
[Exceptions] nvarchar(4000) NULL,
[Comments] nvarchar(256) NULL,
[HttpStatusCode] int NULL,
CONSTRAINT [PK_AbpAuditLogs] PRIMARY KEY ([Id])
);
[08:28:52 ERR] There is already an object named 'AbpAuditLogs' in the database.
Microsoft.Data.SqlClient.SqlException (0x80131904): There is already an object named 'AbpAuditLogs' in the database.
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction) at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action
1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlCommand.InternalEndExecuteNonQuery(IAsyncResult asyncResult, Boolean isInternal, String endMethod)
at Microsoft.Data.SqlClient.SqlCommand.EndExecuteNonQueryInternal(IAsyncResult asyncResult)
at Microsoft.Data.SqlClient.SqlCommand.EndExecuteNonQueryAsync(IAsyncResult asyncResult)
at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func
2 endFunction, Action1 endAction, Task
1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Migrations.Internal.MigrationCommandExecutor.ExecuteNonQueryAsync(IEnumerable1 migrationCommands, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Migrations.Internal.MigrationCommandExecutor.ExecuteNonQueryAsync(IEnumerable
1 migrationCommands, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Migrations.Internal.MigrationCommandExecutor.ExecuteNonQueryAsync(IEnumerable1 migrationCommands, IRelationalConnection connection, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Migrations.Internal.MigrationCommandExecutor.ExecuteNonQueryAsync(IEnumerable
1 migrationCommands, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Migrations.Internal.Migrator.MigrateAsync(String targetMigration, CancellationToken cancellationToken)
at MViable.EntityFrameworkCore.EntityFrameworkCoreMViableDbSchemaMigrator.MigrateAsync() in D:\Sandbox\mviable\src\MViable.EntityFrameworkCore.DbMigrations\EntityFrameworkCore\EntityFrameworkCoreMViableDbSchemaMigrator.cs:line 28
at MViable.Data.MViableDbMigrationService.MigrateDatabaseSchemaAsync(Tenant tenant) in D:\Sandbox\mviable\src\MViable.Domain\Data\MViableDbMigrationService.cs:line 84
at MViable.Data.MViableDbMigrationService.MigrateAsync() in D:\Sandbox\mviable\src\MViable.Domain\Data\MViableDbMigrationService.cs:line 40
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
at Nito.AsyncEx.AsyncContext.<>c__DisplayClass15_0.<Run>b__0(Task t)
at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location where exception was thrown ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
at Nito.AsyncEx.AsyncContext.Run(Func1 action) at Volo.Abp.Threading.AsyncHelper.RunSync(Func
1 action)
I am unable to see the identity server menu at tenant level without menu how can i create identity client