Replies: 3 comments 1 reply
-
Does |
Beta Was this translation helpful? Give feedback.
0 replies
-
Does OrchardCore.Queries is enabled? Which OC version? |
Beta Was this translation helpful? Give feedback.
1 reply
-
I can't seem to reproduce this, the only time I got the same error was when the queries feature isn't enabled. Do you mind sharing your code? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
When I inject IQueryManager into the controller and use it in one of the actions, the project runs without any issues. However, when I define a service to inject it into different controllers, the following error occurs: "Unable to resolve service for type 'OrchardCore.Queries.IQueryManager' while attempting to activate 'OrchardCms.Services.UserService'."
The interface and the implementation class of the service are in the same project where the controllers exist, and the OrchardCore.Queries package is installed.
Could you please guide me?
Beta Was this translation helpful? Give feedback.
All reactions