Activities of "ilhan.ordukaya"

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v7.1.1
  • UI type:
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

log.txt

Volo.Abp.AbpInitializationException: An error occurred during PreConfigureServicesAsync phase of the module Volo.Abp.Validation.AbpValidationModule, Volo.Abp.Validation, Version=7.1.1.0, Culture=neutral, PublicKeyToken=null. See the inner exception for details. ---> System.MissingMethodException: Method not found: 'Void Microsoft.Extensions.DependencyInjection.ServiceCollectionRegistrationActionExtensions.OnRegistred(Microsoft.Extensions.DependencyInjection.IServiceCollection, System.Action1<Volo.Abp.DependencyInjection.IOnServiceRegistredContext>)'. at Volo.Abp.Validation.AbpValidationModule.PreConfigureServices(ServiceConfigurationContext context) at Volo.Abp.Modularity.AbpModule.PreConfigureServicesAsync(ServiceConfigurationContext context) at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync() --- End of inner exception stack trace --- at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync() at Volo.Abp.AbpApplicationFactory.CreateAsync[TStartupModule](IServiceCollection services, Action1 optionsAction) at Microsoft.Extensions.DependencyInjection.ServiceCollectionApplicationExtensions.AddApplicationAsync[TStartupModule](IServiceCollection services, Action1 optionsAction) at Microsoft.Extensions.DependencyInjection.WebApplicationBuilderExtensions.AddApplicationAsync[TStartupModule](WebApplicationBuilder builder, Action1 optionsAction) at Definition.Program.Main(String[] args) in C:\definitions\Definition\host\Definition.HttpApi.Host\Program.cs:line 35 2023-04-14 10:32:11.018 +03:00 [INF] Starting web host. 2023-04-14 10:32:12.278 +03:00 [FTL] Host terminated unexpectedly! Volo.Abp.AbpInitializationException: An error occurred during PreConfigureServicesAsync phase of the module Volo.Abp.Validation.AbpValidationModule, Volo.Abp.Validation, Version=7.1.1.0, Culture=neutral, PublicKeyToken=null. See the inner exception for details. ---> System.MissingMethodException: Method not found: 'Void Microsoft.Extensions.DependencyInjection.ServiceCollectionRegistrationActionExtensions.OnRegistred(Microsoft.Extensions.DependencyInjection.IServiceCollection, System.Action1<Volo.Abp.DependencyInjection.IOnServiceRegistredContext>)'. at Volo.Abp.Validation.AbpValidationModule.PreConfigureServices(ServiceConfigurationContext context) at Volo.Abp.Modularity.AbpModule.PreConfigureServicesAsync(ServiceConfigurationContext context) at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync() --- End of inner exception stack trace --- at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync() at Volo.Abp.AbpApplicationFactory.CreateAsync[TStartupModule](IServiceCollection services, Action1 optionsAction) at Microsoft.Extensions.DependencyInjection.ServiceCollectionApplicationExtensions.AddApplicationAsync[TStartupModule](IServiceCollection services, Action1 optionsAction) at Microsoft.Extensions.DependencyInjection.WebApplicationBuilderExtensions.AddApplicationAsync[TStartupModule](WebApplicationBuilder builder, Action1 optionsAction) at Definition.Program.Main(String[] args) in C:\definitions\Definition\host\Definition.HttpApi.Host\Program.cs:line 35

We create an abp project with script. The project we created was created with 7.1.1 version of ABP, but it does not work properly due to the version of the postgresql package (Volo.Abp.EntityFrameworkCore.PostgreSql Version: 7.2.0-rc.1). project and this package have been changed to version 7.1.0-rc.2. When the version is not changed, the migration process gives an error and the 500.30 error is displayed when the project is run. What is the reason why the package that came in the last version does not work? How can we run it?

Hi,

We create an abp project with script. The project we created was created with 7.1.1 version of ABP, but it does not work properly due to the version of the postgresql package (Volo.Abp.EntityFrameworkCore.PostgreSql Version: 7.2.0-rc.1).

You should use the stable version. please use version 7.1.1 instead of 7.2.0-rc.1

hi I can run the project already. I wonder why the project was installed with the wrong package version? If this is a problem from ABP, when will this problem be fixed?

Hi,

Sorry, but I could not understand why there is a 7.2.0-rc package here. Is this generated by ABP CLI or Suite?

actually i build it with init file. Its content is as follows

` $name = $args[0]

abp new "$name" -t module --no-ui --database-provider ef --database-management-system PostgreSQL -csf dotnet sln ".$name$name.sln" remove (Get-ChildItem -r **/.Installer.csproj) dotnet sln ".$name$name.sln" remove (Get-ChildItem -r **/.MongoDB.Tests.csproj) dotnet sln ".$name$name.sln" remove (Get-ChildItem -r **/.MongoDB.csproj) dotnet sln ".$name$name.sln" remove (Get-ChildItem -r **/.Host.Shared.csproj) dotnet sln ".$name$name.sln" remove (Get-ChildItem -r **/.AuthServer.csproj) Remove-Item -Recurse -Force (Get-ChildItem -r **/.Installer) Remove-Item -Recurse -Force (Get-ChildItem -r **/.MongoDB.Tests) Remove-Item -Recurse -Force (Get-ChildItem -r **/.MongoDB) Remove-Item -Recurse -Force (Get-ChildItem -r **/.Host.Shared) Remove-Item -Recurse -Force (Get-ChildItem -r **/.AuthServer)

abp add-module Volo.Abp.EntityFrameworkCore.PostgreSql -s ".$name\host.$name.HttpApi.Host$name.HttpApi.Host.csproj" --skip-db-migrations

dotnet add ".$name\host$name.HttpApi.Host" package Volo.Abp.EntityFrameworkCore.PostgreSql --prerelease dotnet remove ".$name\host$name.HttpApi.Host" package Volo.Abp.EntityFrameworkCore.SqlServer rm -r -fo .$name\host$name.HttpApi.Host\EntityFrameworkCore\

`

The exact solution to your question may have been answered before, and please use the search on the homepage.

If you're creating a bug/problem report, please include the followings:

  • ABP Framework version: v7.0.2
  • UI type: Angular / MVC
  • DB provider: EF Core
  • Tiered (MVC) or Auth Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

"We have an architecture similar to the one shown in the image, where the login processes take place in the authserver project. We have developed some code to override or create custom login processes in the authentication server. However, we couldn't find a designated place in the MVC project where we can change the login process. We are wondering if ABP handles this through an automated module. Can you assist us with this scenario?

hi

The oauth2 handle by OpenIddict:

https://github.com/abpframework/abp/tree/dev/modules/openiddict/src/Volo.Abp.OpenIddict.AspNetCore/Volo/Abp/OpenIddict/Controllers

hi maliming

I tried to implement such a custom login, but I don't know how to link it to the login Razor Page you mentioned in the first image? how can I do that?

I couldn't breakpoint when I logged in

hi

We use page to handle the login request instead of controller.

Volo.Abp.Account.Pro.Public.Web/Pages/Account/Login.cshtml Volo.Abp.Account.Pro.Public.Web/Pages/Account/Login.cshtml.cs

I actually use the classes you mentioned, but I still can't debug myaccountcontroller.cs that it produces while logging in.

hi

The application will not call the myaccountcontroller during login.

why?

Because the LoginModel handles the login request.

Volo.Abp.Account.Pro.Public.Web/Pages/Account/Login.cshtml 
Volo.Abp.Account.Pro.Public.Web/Pages/Account/Login.cshtml.cs 

well I will never use myaccountcontroller then when logging in.So when will my login method be used or can I use my own login method while logging in?

hi

You have to override the code from Volo.Abp.Account.Public.Web.Pages.Account.LoginModel

Volo.Abp.Account.Pro.Public.Web/Pages/Account/Login.cshtml  
Volo.Abp.Account.Pro.Public.Web/Pages/Account/Login.cshtml.cs  

Is there a sample project or a document related to this topic?

hi

https://support.abp.io/QA/Questions/160/How-to-customize-an-ABP-project

https://community.abp.io/posts/how-to-customize-the-login-page-for-mvc-razor-page-applications-9a40f3cd https://gist.github.com/ebicoglu/ce0f0425bab806d0ee1a87d0073af96b

I'm doing such a development, I'm getting an error in references, what do you think?

Showing 31 to 40 of 46 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on November 11, 2025, 06:29
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.