Open Closed

Volo.Doc's Blazor Admin pages - IProjectAdminAppService can't be invoked when navigating to pages #6997


User avatar
0
daniellpollock@gmail.com created

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, and please first use the search on the homepage. Provide us with the following info:

  • ABP Framework version: v8.0.0
  • UI Type: Blazor Server
  • Database System: EF Core
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace: Autofac.Core.DependencyResolutionException: An exception was thrown while activating Volo.Docs.Admin.Pages.Docs.Admin.Documents.IndexModel. ---> Autofac.Core.DependencyResolutionException: None of the constructors found on type 'Volo.Docs.Admin.Pages.Docs.Admin.Documents.IndexModel' can be invoked with the available services and parameters: Cannot resolve parameter 'Volo.Docs.Admin.Projects.IProjectAdminAppService projectAdminAppService' of constructor 'Void .ctor(Volo.Docs.Admin.Projects.IProjectAdminAppService)'.
  • Steps to reproduce the issue:
    • Create a new abp project that has a blazor server app and HttpApi.Client.
    • Install the Volo.Docs module with the cli: abp add-module Volo.Docs (directions here: https://docs.abp.io/en/abp/latest/Modules/Docs)
    • Run blazor admin application and navigate to Administration -> Documents -> Projects.

The Fix:

Let me know if this isn't the correct spot to report this bug, but I have fixed the issue already in my code. In short, the HttpApiClientModule is missing a DependsOn to DocsAdminHttpApiClientModule which wasn't added by the add-module cli script or mentioned in the documentation.


2 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Yes, this is a problem, we will fix it. your ticket was refunded.

  • User Avatar
    0
    daniellpollock@gmail.com created

    Thank you!

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.0.0-preview. Updated on September 01, 2025, 08:37