- ABP Framework version: 7.4.2
- UI Type: Angular
- Database System: EF Core (PostgreSQL..)
- Tiered (for MVC) or Auth Server Separated (for Angular): yes
- Exception message and full stack trace:
- Steps to reproduce the issue:
Saml2AppService.cs, which is located in IdentityApplicationModule. I want to save user data in the abpUser table, therefore I called the CreateAsync method, which is present within IdentityUserAppService.cs in IdentityApplicationModule.
I'm facing error while calling the below api. DependencyResolutionException: None of the constructors found on type can be invoked with the available services and parameters
6 Answer(s)
-
0
hi
First. Do not inject an application service into another application service. Second, The application service shouldn't return the
IActionResult
I think you can't use
IUrlHelper
in the application service.You can try removing the parameter from the constructor to test which one causes the error.
Thanks.
-
0
ok let me change code
-
0
Hi if we do not inject an application service into another application service. But i want to call another application service specific method how to call ?
-
0
You can add a domain service and use it in two application services.
https://docs.abp.io/en/abp/latest/Domain-Services
-
0
Thanks for update :)
-
0
: )