Ends in:
0 DAY
23 HRS
24 MIN
22 SEC
Ends in:
0 D
23 H
24 M
22 S

Activities of "IbrahimSarigoz"

Yes i added new migration :

using System;
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace MyBankStore.Migrations
{
    /// <inheritdoc />
    public partial class Updated_OpenIddict : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "Type",
                table: "OpenIddictApplications",
                newName: "ClientType");

            migrationBuilder.AddColumn<string>(
                name: "ApplicationType",
                table: "OpenIddictApplications",
                type: "nvarchar(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "JsonWebKeySet",
                table: "OpenIddictApplications",
                type: "nvarchar(max)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "Settings",
                table: "OpenIddictApplications",
                type: "nvarchar(max)",
                nullable: true);
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "ApplicationType",
                table: "OpenIddictApplications");

            migrationBuilder.DropColumn(
                name: "JsonWebKeySet",
                table: "OpenIddictApplications");

            migrationBuilder.DropColumn(
                name: "Settings",
                table: "OpenIddictApplications");

            migrationBuilder.RenameColumn(
                name: "ClientType",
                table: "OpenIddictApplications",
                newName: "Type");
        }
    }
}

I changed this part as well

   var application = new AbpApplicationDescriptor {
       ClientId = name,
       ClientType = type,
       ClientSecret = secret,
       ConsentType = consentType,
       DisplayName = displayName,
       ClientUri = clientUri,
       LogoUri = logoUri,
   };

Hello, I successfully moved my project from .net 7 to .net 8. My problem occurs while updating OpenIddict. When I run migrate, it gives me an error like this:

 An exception occurred while iterating over the results of a query for context type 'Volo.Abp.OpenIddict.EntityFrameworkCore.OpenIddictProDbContext'. 
 Oracle.ManagedDataAccess.Client.OracleException (0x80004005): ORA-00904: "o"."ClientType": invalid identifier                      
 at OracleInternal.ServiceObjects.OracleConnectionImpl.VerifyExecution(Int32& cursorId, Boolean bThrowArrayBindRelatedErrors, SqlStatementType sqlStatementType,
 Int32 arrayBindCount, OracleException& exceptionForArrayBindDML, Boolean& hasMoreRowsInDB, Boolean bFirstIterationDone)             
 at OracleInternal.ServiceObjects.OracleCommandImpl.ExecuteReader(String commandText, OracleParameterCollection paramColl,
 CommandType commandType, OracleConnectionImpl connectionImpl, OracleDataReaderImpl& rdrImpl, Int32 longFetchSize, Int64 clientInitialLOBFS, 
 OracleDependencyImpl orclDependencyImpl, Int64[] scnForExecution, Int64[]& scnFromExecution, OracleParameterCollection& bindByPositionParamColl, 
 Boolean& bBindParamPresent, Int64& internalInitialLOBFS, Int64 internalInitialJSONFS, OracleException& exceptionForArrayBindDML, OracleConnection
 connection, IEnumerable`1 adrianParsedStmt, Boolean isDescribeOnly, Boolean isFromEF)
 at Oracle.ManagedDataAccess.Client.OracleCommand.ExecuteReader(Boolean requery, Boolean fillRequest, CommandBehavior behavior) 
 at Oracle.ManagedDataAccess.Client.OracleCommand.ExecuteDbDataReader(CommandBehavior behavior)
 at System.Data.Common.DbCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
 --- End of stack trace from previous location --- 
 at Oracle.EntityFrameworkCore.Storage.Internal.OracleRelationalCommandBuilderFactory.OracleRelationalCommandBuilder.OracleRelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
 at Oracle.EntityFrameworkCore.Storage.Internal.OracleRelationalCommandBuilderFactory.OracleRelationalCommandBuilder.OracleRelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)                                              
 at Oracle.EntityFrameworkCore.Storage.Internal.OracleRelationalCommandBuilderFactory.OracleRelationalCommandBuilder.OracleRelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)                                          
 at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
 at Oracle.EntityFrameworkCore.Storage.Internal.OracleExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
 at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
 Oracle.ManagedDataAccess.Client.OracleException (0x80004005): ORA-00904: "o"."ClientType": invalid identifier
 at OracleInternal.ServiceObjects.OracleConnectionImpl.VerifyExecution(Int32& cursorId, Boolean bThrowArrayBindRelatedErrors, SqlStatementType sqlStatementType, Int32 arrayBindCount,
 OracleException& exceptionForArrayBindDML, Boolean& hasMoreRowsInDB, Boolean bFirstIterationDone)
 at OracleInternal.ServiceObjects.OracleCommandImpl.ExecuteReader(String commandText, OracleParameterCollection paramColl, CommandType commandType, OracleConnectionImpl connectionImpl, OracleDataReaderImpl& rdrImpl, Int32 longFetchSize, Int64 clientInitialLOBFS, OracleDependencyImpl orclDependencyImpl, Int64[] scnForExecution, Int64[]& scnFromExecution, OracleParameterCollection& bindByPositionParamColl, Boolean& bBindParamPresent, Int64& internalInitialLOBFS, Int64 internalInitialJSONFS, OracleException& exceptionForArrayBindDML, OracleConnection connection, IEnumerable`1 adrianParsedStmt, Boolean isDescribeOnly, Boolean isFromEF)
 at Oracle.ManagedDataAccess.Client.OracleCommand.ExecuteReader(Boolean requery, Boolean fillRequest, CommandBehavior behavior)
 at Oracle.ManagedDataAccess.Client.OracleCommand.ExecuteDbDataReader(CommandBehavior behavior)
 at System.Data.Common.DbCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
 --- End of stack trace from previous location --- 
 at Oracle.EntityFrameworkCore.Storage.Internal.OracleRelationalCommandBuilderFactory.OracleRelationalCommandBuilder.OracleRelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
 at Oracle.EntityFrameworkCore.Storage.Internal.OracleRelationalCommandBuilderFactory.OracleRelationalCommandBuilder.OracleRelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
 at Oracle.EntityFrameworkCore.Storage.Internal.OracleRelationalCommandBuilderFactory.OracleRelationalCommandBuilder.OracleRelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
 at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
 at Oracle.EntityFrameworkCore.Storage.Internal.OracleExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
 at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
 at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken)
 at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken)
 at Volo.Abp.OpenIddict.Applications.EfCoreOpenIddictApplicationRepository.FindByClientIdAsync(String clientId, CancellationToken cancellationToken)         
 at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)   
 
 at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()                                      
 at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation)                                              
 at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)         
 at MyBankStore.OpenIddict.OpenIddictDataSeedContributor.CreateApplicationAsync(String name, String type, String consentType, String displayName, String secret, List`1 grantTypes, List`1 scopes, String redirectUri, String postLogoutRedirectUri, List`1 permissions, String clientUri, String logoUri) in D:\\MyBankStore\src\MyBankStore.Domain\OpenIddict\OpenIddictDataSeedContributor.cs:line 344        
 Unhandled exception.    at MyBankStore.OpenIddict.OpenIddictDataSeedContributor.CreateApplicationsAsync() in D:\\MyBankStore\src\MyBankStore.Domain\OpenIddict\OpenIddictDataSeedContributor.cs:line 90                                                                  
 at MyBankStore.OpenIddict.OpenIddictDataSeedContributor.SeedAsync(DataSeedContext context) in D:\\MyBankStore\src\MyBankStore.Domain\OpenIddict\OpenIddictDataSeedContributor.cs:line 56   
 at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous(IInvocation invocation, IInvocationProceedInfo proceedInfo)Oracle.ManagedDataAccess.Client.OracleException (0x80004005): ORA-00904: "o"."ClientType": invalid identifier  
 at OracleInternal.ServiceObjects.OracleConnectionImpl.VerifyExecution(Int32& cursorId, Boolean bThrowArrayBindRelatedErrors, SqlStatementType sqlStatementType, Int32 arrayBindCount, OracleException& exceptionForArrayBindDML, Boolean& hasMoreRowsInDB, Boolean bFirstIterationDone)       
 at OracleInternal.ServiceObjects.OracleCommandImpl.ExecuteReader(String commandText, OracleParameterCollection paramColl, CommandType commandType, OracleConnectionImpl connectionImpl, OracleDataReaderImpl& rdrImpl, Int32 longFetchSize, Int64 clientInitialLOBFS, OracleDependencyImpl orclDependencyImpl, Int64[] scnForExecution, Int64[]& scnFromExecution, OracleParameterCollection& bindByPositionParamColl, Boolean& bBindParamPresent, Int64& internalInitialLOBFS, Int64 internalInitialJSONFS, OracleException& exceptionForArrayBindDML, OracleConnection connection, IEnumerable`1 adrianParsedStmt, Boolean isDescribeOnly, Boolean isFromEF) 
 at Oracle.ManagedDataAccess.Client.OracleCommand.ExecuteReader(Boolean requery, Boolean fillRequest, CommandBehavior behavior)             
 at Oracle.ManagedDataAccess.Client.OracleCommand.ExecuteDbDataReader(CommandBehavior behavior)                                         
 at System.Data.Common.DbCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken) 
 --- End of stack trace from previous location ---     
 at Oracle.EntityFrameworkCore.Storage.Internal.OracleRelationalCommandBuilderFactory.OracleRelationalCommandBuilder.OracleRelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)           
 at Oracle.EntityFrameworkCore.Storage.Internal.OracleRelationalCommandBuilderFactory.OracleRelationalCommandBuilder.OracleRelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)               
 at Oracle.EntityFrameworkCore.Storage.Internal.OracleRelationalCommandBuilderFactory.OracleRelationalCommandBuilder.OracleRelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)            
 at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)                                                                               
 at Oracle.EntityFrameworkCore.Storage.Internal.OracleExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)                                                                               
 at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()        
 at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken)                                                                                                           
 at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken)                                                     
 at Volo.Abp.OpenIddict.Applications.EfCoreOpenIddictApplicationRepository.FindByClientIdAsync(String clientId, CancellationToken cancellationToken)                                                                                                                                             
 at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)     
 at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()      
 at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation)                   
 at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)                                                                                                                         

 at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapter.ProceedAsync()                                                             
 at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation)                        
 at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync(IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)                                      
 at Volo.Abp.Data.DataSeeder.SeedAsync(DataSeedContext context)                                                                 
 at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous(IInvocation invocation, IInvocationProceedInfo proceedInfo)                   
 at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapter.ProceedAsync()                                                               
 at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation)                                                      
 at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync(IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)                                                                                            at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)                                 at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)                                                                                              at Microsoft.Extensions.Hosting.Internal.Host.&lt;StartAsync&gt;g__LogAndRethrow|15_3(&lt;&gt;c__DisplayClass15_0&)                                            at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)                                                      at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)                                    at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)                              
 at MyBankStore.DbMigrator.Program.Main(String[] args) in D:\\MyBankStore\src\MyBankStore.DbMigrator\Program.cs:line 28        
 at MyBankStore.DbMigrator.Program.&lt;Main&gt;(String[] args)                                                                     
 at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapter.ProceedAsync()                                   
 at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation)                            
 at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync(IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)           
 at Volo.Abp.Data.DataSeeder.SeedAsync(DataSeedContext context)                                                                  
 at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous(IInvocation invocation, IInvocationProceedInfo proceedInfo)        
 at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapter.ProceedAsync()                                                     
 at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation)    
 

I updated all my packages via Suite and such a problem occurs.

I am trying to migrate in the link https://docs.abp.io/en/abp/8.0/Migration-Guides/OpenIddict4-to-5#openiddictapplicationmodel-changes We work in Oracle database. Could there be a problem with Volo.Abp.OpenIddict.Pro Version="8.0.1"?

  • ABP Framework version: v8.0.1
  • UI Type: MVC
  • Database System: Oracle
  • Tiered (for MVC) or Auth Server Separated (for Angular): Tiered

Hello, First, I run the project in debug mode. I can grant permissions to users while the project is in debug mode. Then, as I show in the screenshot, I return the necessary areas to my publish version via OpenIddictApplication. When I try to authorize on Publish, it gives me the method not allowed error. The logs given by iis publish when I received the error are as follows. this one for debug:

this one for publish: this is what i got when i published it

AuthLog:

2023-11-02 15:16:00.500 +03:00 [INF] Request starting HTTP/1.1 POST https://server2022:5000/connect/introspect application/x-www-form-urlencoded 1250
2023-11-02 15:16:00.501 +03:00 [INF] The request URI matched a server endpoint: "Introspection".
2023-11-02 15:16:00.502 +03:00 [INF] The introspection request was successfully extracted: {
  "token": "[redacted]",
  "client_id": "MyBankStore_Web",
  "client_secret": "[redacted]"
}.
2023-11-02 15:16:00.549 +03:00 [INF] The introspection request was successfully validated.
2023-11-02 15:16:00.550 +03:00 [INF] Potentially sensitive application claims were excluded from the introspection response as the client 'MyBankStore_Web' was not explicitly listed as an audience.
2023-11-02 15:16:00.550 +03:00 [INF] The response was successfully returned as a JSON document: {
  "active": true,
  "iss": "https://server2022:5000/",
  "sub": "aca10e3a-8dea-4711-2f1b-31d2c159fdc9",
  "jti": "80ac7344-f54f-4487-9883-6d657075594e",
  "token_type": "Bearer",
  "token_usage": "access_token",
  "client_id": "MyBankStore_Web",
  "iat": 1698926942,
  "nbf": 1698926942,
  "exp": 1698930542,
  "aud": "MyBankStore"
}.
2023-11-02 15:16:00.551 +03:00 [INF] Request finished HTTP/1.1 POST https://server2022:5000/connect/introspect application/x-www-form-urlencoded 1250 - 200 347 application/json;charset=UTF-8 51.6372ms

HostApiLog:

2023-11-02 15:15:58.830 +03:00 [INF] Request starting HTTP/1.1 GET https://server2022:5001/health-status - -
2023-11-02 15:15:58.832 +03:00 [INF] Executing endpoint 'Health checks'
2023-11-02 15:15:58.838 +03:00 [INF] Executed endpoint 'Health checks'
2023-11-02 15:15:58.839 +03:00 [INF] Received HTTP response headers after 10.2743ms - 200
2023-11-02 15:15:58.839 +03:00 [INF] End processing HTTP request after 10.8877ms - 200
2023-11-02 15:15:58.859 +03:00 [INF] Request finished HTTP/1.1 GET https://server2022:5001/health-status - - - 200 - application/json 29.1304ms
2023-11-02 15:16:00.569 +03:00 [INF] Request starting HTTP/1.1 GET https://server2022:5001/api/permission-management/permissions?providerName=U&providerKey=04a20e3a-1b59-c89a-52fb-f1ef9d1b4312&api-version=1.0 - -
2023-11-02 15:16:00.573 +03:00 [INF] Executing endpoint 'Volo.Abp.PermissionManagement.PermissionsController.GetAsync (Volo.Abp.PermissionManagement.HttpApi)'
2023-11-02 15:16:00.573 +03:00 [INF] Route matched with {area = "permissionManagement", action = "Get", controller = "Permissions", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Volo.Abp.PermissionManagement.GetPermissionListResultDto] GetAsync(System.String, System.String) on controller Volo.Abp.PermissionManagement.PermissionsController (Volo.Abp.PermissionManagement.HttpApi).
2023-11-02 15:16:01.440 +03:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.PermissionManagement.GetPermissionListResultDto'.
2023-11-02 15:16:01.441 +03:00 [INF] Executed action Volo.Abp.PermissionManagement.PermissionsController.GetAsync (Volo.Abp.PermissionManagement.HttpApi) in 867.285ms
2023-11-02 15:16:01.441 +03:00 [INF] Executed endpoint 'Volo.Abp.PermissionManagement.PermissionsController.GetAsync (Volo.Abp.PermissionManagement.HttpApi)'
2023-11-02 15:16:01.460 +03:00 [INF] Request finished HTTP/1.1 GET https://server2022:5001/api/permission-management/permissions?providerName=U&providerKey=04a20e3a-1b59-c89a-52fb-f1ef9d1b4312&api-version=1.0 - - - 200 - application/json;+charset=utf-8 890.5437ms
2023-11-02 15:16:01.476 +03:00 [INF] Request starting HTTP/1.1 GET https://server2022:5001/api/abp/application-configuration?IncludeLocalizationResources=False&api-version=1.0 - -
2023-11-02 15:16:01.479 +03:00 [INF] Executing endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationController.GetAsync (Volo.Abp.AspNetCore.Mvc)'
2023-11-02 15:16:01.480 +03:00 [INF] Route matched with {area = "abp", action = "Get", controller = "AbpApplicationConfiguration", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ApplicationConfigurationDto] GetAsync(Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ApplicationConfigurationRequestOptions) on controller Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationController (Volo.Abp.AspNetCore.Mvc).
2023-11-02 15:16:01.570 +03:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ApplicationConfigurationDto'.
2023-11-02 15:16:01.572 +03:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationController.GetAsync (Volo.Abp.AspNetCore.Mvc) in 91.5936ms
2023-11-02 15:16:01.572 +03:00 [INF] Executed endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationController.GetAsync (Volo.Abp.AspNetCore.Mvc)'
2023-11-02 15:16:01.595 +03:00 [INF] Request finished HTTP/1.1 GET https://server2022:5001/api/abp/application-configuration?IncludeLocalizationResources=False&api-version=1.0 - - - 200 - application/json;+charset=utf-8 119.1411ms
2023-11-02 15:16:01.598 +03:00 [INF] Request starting HTTP/1.1 GET https://server2022:5001/api/abp/application-localization?CultureName=en-GB&OnlyDynamics=True&api-version=1.0 - -
2023-11-02 15:16:01.600 +03:00 [INF] Executing endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationLocalizationController.GetAsync (Volo.Abp.AspNetCore.Mvc)'
2023-11-02 15:16:01.601 +03:00 [INF] Route matched with {area = "abp", action = "Get", controller = "AbpApplicationLocalization", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ApplicationLocalizationDto] GetAsync(Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ApplicationLocalizationRequestDto) on controller Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationLocalizationController (Volo.Abp.AspNetCore.Mvc).
2023-11-02 15:16:01.741 +03:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ApplicationLocalizationDto'.
2023-11-02 15:16:01.741 +03:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationLocalizationController.GetAsync (Volo.Abp.AspNetCore.Mvc) in 140.5967ms
2023-11-02 15:16:01.741 +03:00 [INF] Executed endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationLocalizationController.GetAsync (Volo.Abp.AspNetCore.Mvc)'
2023-11-02 15:16:01.757 +03:00 [INF] Request finished HTTP/1.1 GET https://server2022:5001/api/abp/application-localization?CultureName=en-GB&OnlyDynamics=True&api-version=1.0 - - - 200 - application/json;+charset=utf-8 159.0243ms
2023-11-02 15:16:08.862 +03:00 [INF] Start processing HTTP request GET https://server2022:5001/health-status
2023-11-02 15:16:08.862 +03:00 [INF] Sending HTTP request GET https://server2022:5001/health-status
2023-11-02 15:16:08.863 +03:00 [INF] Request starting HTTP/1.1 GET https://server2022:5001/health-status - -
2023-11-02 15:16:08.864 +03:00 [INF] Executing endpoint 'Health checks'
2023-11-02 15:16:08.870 +03:00 [INF] Executed endpoint 'Health checks'

webLog:

2023-11-02 15:16:00.478 +03:00 [INF] Request starting HTTP/2 GET https://server2022:5002/AbpPermissionManagement/PermissionManagementModal?providerName=U&providerKey=04a20e3a-1b59-c89a-52fb-f1ef9d1b4312&providerKeyDisplayName=ibo - -
2023-11-02 15:16:00.480 +03:00 [INF] Check the access_token is active every 60 seconds.
2023-11-02 15:16:00.551 +03:00 [INF] The access_token is active.
2023-11-02 15:16:00.552 +03:00 [INF] Executing endpoint '/AbpPermissionManagement/PermissionManagementModal'
2023-11-02 15:16:00.553 +03:00 [INF] Route matched with {page = "/AbpPermissionManagement/PermissionManagementModal", action = "", controller = "", area = ""}. Executing page /AbpPermissionManagement/PermissionManagementModal
2023-11-02 15:16:00.553 +03:00 [INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy
2023-11-02 15:16:00.554 +03:00 [INF] Executing handler method Volo.Abp.PermissionManagement.Web.Pages.AbpPermissionManagement.PermissionManagementModal.OnGetAsync - ModelState is "Valid"
2023-11-02 15:16:00.555 +03:00 [INF] Start processing HTTP request GET https://server2022:5001/api/permission-management/permissions?providerName=U&providerKey=04a20e3a-1b59-c89a-52fb-f1ef9d1b4312&api-version=1.0
2023-11-02 15:16:00.555 +03:00 [INF] Sending HTTP request GET https://server2022:5001/api/permission-management/permissions?providerName=U&providerKey=04a20e3a-1b59-c89a-52fb-f1ef9d1b4312&api-version=1.0
2023-11-02 15:16:01.441 +03:00 [INF] Received HTTP response headers after 885.4394ms - 200
2023-11-02 15:16:01.441 +03:00 [INF] End processing HTTP request after 885.8275ms - 200
2023-11-02 15:16:01.461 +03:00 [INF] Executed handler method OnGetAsync, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult.
2023-11-02 15:16:01.466 +03:00 [INF] Start processing HTTP request GET https://server2022:5001/api/abp/application-configuration?IncludeLocalizationResources=False&api-version=1.0
2023-11-02 15:16:01.466 +03:00 [INF] Sending HTTP request GET https://server2022:5001/api/abp/application-configuration?IncludeLocalizationResources=False&api-version=1.0
2023-11-02 15:16:01.572 +03:00 [INF] Received HTTP response headers after 106.105ms - 200
2023-11-02 15:16:01.572 +03:00 [INF] End processing HTTP request after 106.4819ms - 200
2023-11-02 15:16:01.596 +03:00 [INF] Start processing HTTP request GET https://server2022:5001/api/abp/application-localization?CultureName=en-GB&OnlyDynamics=True&api-version=1.0
2023-11-02 15:16:01.596 +03:00 [INF] Sending HTTP request GET https://server2022:5001/api/abp/application-localization?CultureName=en-GB&OnlyDynamics=True&api-version=1.0
2023-11-02 15:16:01.742 +03:00 [INF] Received HTTP response headers after 145.0816ms - 200
2023-11-02 15:16:01.742 +03:00 [INF] End processing HTTP request after 145.3944ms - 200
2023-11-02 15:16:02.111 +03:00 [INF] Executed page /AbpPermissionManagement/PermissionManagementModal in 1558.4942ms
2023-11-02 15:16:02.111 +03:00 [INF] Executed endpoint '/AbpPermissionManagement/PermissionManagementModal'
2023-11-02 15:16:02.114 +03:00 [INF] Request finished HTTP/2 GET https://server2022:5002/AbpPermissionManagement/PermissionManagementModal?providerName=U&providerKey=04a20e3a-1b59-c89a-52fb-f1ef9d1b4312&providerKeyDisplayName=ibo - - - 200 - text/html;+charset=utf-8 1636.0225ms
2023-11-02 15:16:04.648 +03:00 [INF] Request starting HTTP/2 POST https://server2022:5002/AbpPermissionManagement/PermissionManagementModal application/x-www-form-urlencoded;+charset=UTF-8 16612
2023-11-02 15:16:04.650 +03:00 [INF] Executing endpoint '/AbpPermissionManagement/PermissionManagementModal'
2023-11-02 15:16:04.650 +03:00 [INF] Route matched with {page = "/AbpPermissionManagement/PermissionManagementModal", action = "", controller = "", area = ""}. Executing page /AbpPermissionManagement/PermissionManagementModal
2023-11-02 15:16:04.650 +03:00 [INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy
2023-11-02 15:16:04.662 +03:00 [INF] Executing handler method Volo.Abp.PermissionManagement.Web.Pages.AbpPermissionManagement.PermissionManagementModal.OnPostAsync - ModelState is "Valid"
2023-11-02 15:16:04.663 +03:00 [INF] Start processing HTTP request PUT https://server2022:5001/api/permission-management/permissions?providerName=U&providerKey=04a20e3a-1b59-c89a-52fb-f1ef9d1b4312&api-version=1.0
2023-11-02 15:16:04.663 +03:00 [INF] Sending HTTP request PUT https://server2022:5001/api/permission-management/permissions?providerName=U&providerKey=04a20e3a-1b59-c89a-52fb-f1ef9d1b4312&api-version=1.0
2023-11-02 15:16:04.665 +03:00 [INF] Received HTTP response headers after 1.9647ms - 405
2023-11-02 15:16:04.665 +03:00 [INF] End processing HTTP request after 2.245ms - 405
2023-11-02 15:16:04.666 +03:00 [ERR] ---------- RemoteServiceErrorInfo ----------
{
  "code": "MethodNotAllowed",
  "message": "Method Not Allowed",
  "details": null,
  "data": null,
  "validationErrors": null
}

2023-11-02 15:16:04.667 +03:00 [ERR] Method Not Allowed
Volo.Abp.Http.Client.AbpRemoteCallException: Method Not Allowed
   at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.ThrowExceptionForResponseAsync(HttpResponseMessage response)
   at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.RequestAsync(ClientProxyRequestContext requestContext)
   at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.RequestAsync(String methodName, ClientProxyRequestTypeValue arguments)
   at Volo.Abp.PermissionManagement.PermissionsClientProxy.UpdateAsync(String providerName, String providerKey, UpdatePermissionsDto input)
   at Volo.Abp.PermissionManagement.Web.Pages.AbpPermissionManagement.PermissionManagementModal.OnPostAsync()
   at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.ExecutorFactory.GenericTaskHandlerMethod.Convert[T](Object taskAsObject)
   at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.ExecutorFactory.GenericTaskHandlerMethod.Execute(Object receiver, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeHandlerMethodAsync()
   at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeNextPageFilterAsync()
2023-11-02 15:16:04.667 +03:00 [ERR] Code:MethodNotAllowed
2023-11-02 15:16:04.667 +03:00 [ERR] Details:
2023-11-02 15:16:04.667 +03:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
2023-11-02 15:16:04.667 +03:00 [INF] Executed page /AbpPermissionManagement/PermissionManagementModal in 17.3296ms
2023-11-02 15:16:04.667 +03:00 [INF] Executed endpoint '/AbpPermissionManagement/PermissionManagementModal'
2023-11-02 15:16:04.668 +03:00 [INF] Request finished HTTP/2 POST https://server2022:5002/AbpPermissionManagement/PermissionManagementModal application/x-www-form-urlencoded;+charset=UTF-8 16612 - 405 - application/json;+charset=utf-8 19.0783ms
~~~~
  • ABP Framework version: v7.4
  • UI Type: MVC
  • Database System: EF Core (Oracle)
  • Tiered (for MVC) or Auth Server Separated (for Angular): MVC Project
  • Exception message and full stack trace:
  • Steps to reproduce the issue:
Question

Some of the pages that work smoothly when in debug mode do not work when published via IIS. I can't find the reason for this. I would be happy if you help.

  • ABP Framework version: v7.4
  • UI Type: MVC
  • Database System: EF Core ( Oracle )
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:
Question

Hello, What is the method to change the image on the back of the login page? Is it possible without adding the Account module to the project?

  • ABP Framework version: v7.3
  • UI Type: MVC
  • Database System: EF Core (Oracle)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:
Question

Hello, when updating any property of a record, I want to show the changes made to the entity previously. How can we make this connection? Is there a way to reflect the logs this way?

  • ABP Framework version: v7.4.X
  • UI Type: MVC
  • Database System: EF Core ( Oracle)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:
Question

Hello, Creating seed data I reviewed the document and wrote the code. The code runs successfully. The problem is that it keeps adding the same data to the same table every time I migrate. Is there any way to prevent this without giving the ID to the entity?

  public async Task SeedAsync(DataSeedContext context)
        {
            GSMOperationType OperationType1 = new GSMOperationType { Code = 30, Description = "Bla" };
            GSMOperationType OperationType2 = new GSMOperationType { Code = 31, Description = "BlaBla" };
            GSMOperationType OperationType3 = new GSMOperationType { Code = 32, Description = "BlaBlaBlaBla" };
            GSMOperationType OperationType4 = new GSMOperationType { Code = 33, Description = "BlaBlaBlaBlaBla" };
            GSMOperationType  OperationType5 = new GSMOperationType { Code = 51, Description = "BlaBlaBlaBlaBlaBla" };
            GSMOperationType OperationType6 = new GSMOperationType { Code = 52, Description = "BlaBlaBlaBlaBlaBlaBla" };
            GSMOperationType OperationType7 = new GSMOperationType { Code = 53, Description = "BlaBlaBlaBlaBlaBlaBlaBla" };

            await _gSMOperationTypeRepository.InsertManyAsync(new[] { OperationType1, OperationType2, OperationType3, OperationType4, OperationType5, OperationType6, OperationType7 });
        }
  • ABP Framework version: v7.3.2
  • UI Type: MVC
  • Database System: EF Core (Oracle)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes Tiered (for MVC)

I did this

Now it gives

>gulp build
Error [ERR_REQUIRE_ESM]: require() of ES Module M:\Bookstore\Bookstore\aspnet-core\src\Bookstore.Web\node_modules\globby\index.js from M:\Bookstore\Bookstore\aspnet-core\src\Bookstore.Web\gulpfile.js not supported.
Instead change the require of index.js in M:\Bookstore\Bookstore\aspnet-core\src\Bookstore.Web\gulpfile.js to a dynamic import() which is available in all CommonJS modules.
    at Object.<anonymous> (M:\Bookstore\Bookstore\aspnet-core\src\Bookstore.Web\gulpfile.js:7:14) {
  code: 'ERR_REQUIRE_ESM'
}

Can you give me the process at the beginning because i couldn't solve the problem. What should I delete and what should I create?

It gives this error also i am using mvc not angular version



>gulp build
Error: Cannot find module 'globby'
Require stack:
- M:\Bookstore\Bookstore\aspnet-core\src\Bookstore.Web\gulpfile.js
- C:\Users\Monster\AppData\Roaming\npm\node_modules\gulp-cli\lib\shared\require-or-import.js
- C:\Users\Monster\AppData\Roaming\npm\node_modules\gulp-cli\lib\versioned\^4.0.0\index.js
- C:\Users\Monster\AppData\Roaming\npm\node_modules\gulp-cli\index.js
- C:\Users\Monster\AppData\Roaming\npm\node_modules\gulp-cli\bin\gulp.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
    at Module._load (node:internal/modules/cjs/loader:922:27)
    at Module.require (node:internal/modules/cjs/loader:1143:19)
    at require (node:internal/modules/cjs/helpers:110:18)
    at Object.<anonymous> (M:\DormenProjeler\OBINEX\aspnet-core\src\Bookstore.Web\gulpfile.js:7:14)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at Module.require (node:internal/modules/cjs/loader:1143:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    'M:\\Bookstore\\Bookstore\\aspnet-core\\src\\Bookstore.Web\\gulpfile.js',
    'C:\\Users\\Monster\\AppData\\Roaming\\npm\\node_modules\\gulp-cli\\lib\\shared\\require-or-import.js',
    'C:\\Users\\Monster\\AppData\\Roaming\\npm\\node_modules\\gulp-cli\\lib\\versioned\\^4.0.0\\index.js',
    'C:\\Users\\Monster\\AppData\\Roaming\\npm\\node_modules\\gulp-cli\\index.js',
    'C:\\Users\\Monster\\AppData\\Roaming\\npm\\node_modules\\gulp-cli\\bin\\gulp.js'
  ]
}```
Showing 41 to 50 of 59 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on December 05, 2024, 12:19