Open Closed

The API description of the Volo.Abp.SettingManagement.IEmailSettingsAppService.GetAsync method was not found! #2590


User avatar
0
Spospisil 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, please use the search on the homepage.

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

  • ABP Framework version: v5.1.3
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): Tiered (MVC)/Separate Identity Server

I get following error when I try to launch the 'settings' menu option under the admin menu. Additionally I get similar issues on the PermissionAppService.GetAsync and FeatureAppService.GetAsync calls at well.


3 Answer(s)
  • User Avatar
    0
    yekalkan created
    Support Team Fullstack Developer

    Hi @Spospisil,

    I couldn't faced this error on a newly created project. (abp new Acme.BookStore -u mvc --tiered -v 5.1.3)

    After which change you begin to see this error?

  • User Avatar
    0
    Spospisil created

    We run our solutions with full source code. If I step through the code the issue is happening on the highlighted (red box) line in the ClientProxyBase.cs class as shown in the below screenshot. The value of 'methodUniqueName' is:

    Volo.Abp.FeatureManagement.IFeatureAppService.GetAsync.System.String-System.String

    How do these values get loaded into the ClientProxyApiDescriptionFinder collection as this value is not being loaded into it?

  • User Avatar
    0
    Spospisil created

    The solution was to add the following lines to the project file(s) for SettingManagementHttpApiClient, FeatureManagementHttpApiClient and PermissionManagementHttpApiClient

    <ItemGroup>
    	<EmbeddedResource Include="**\*generate-proxy.json" />
    	<Content Remove="**\*generate-proxy.json" />
    </ItemGroup>
    
Made with ❤️ on ABP v9.1.0-preview. Updated on December 12, 2024, 07:15