Open Closed

ISettingManager is not registered #6842


User avatar
1
themisoft created

Hello, I'm trying to inject the "ISettingManager" into a .razor page: When i do it this way, i get the error, that the Service is not registered:

It worked in a non-tiered Solution, that i was testing a few months ago.

What i tried:

  • Adding the Service manually (via. AddScoped, AddSingelton etc.) in the Blazor Module "ConfigureServices" Method. This led to more complex Errors
  • Adding [DependsOn(typeof(AbpSettingManagementDomainModule))]. This also led to more complex Errors.
  • Removing the ISettingManager removes the Error, the ISettingProvider works fine.

What this code is supposed to to do:

  • Saves a Filepath.

  • ABP Framework version: v8.0.2
  • UI Type: Blazor Server
  • Database System:PostgreSQL
  • Tiered Blazor Server (Auth,Blazor,ApiHost Server): yes

1 Answer(s)
  • User Avatar
    0
    rsg160 created

    Same issue here

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11