فتح مغلق

Client generated Proxy by ABP Suite block MVC web from running #4637


User avatar
0
t.abouzid خلقت

I'm not able to run my default web application after adding an entityin a microservice module, all the default generated ABP SUITE as not altered or changed but once added the API is running and it's works, the web gateway is able to find the necessary messing APIs but the MVC web site is keep trying to run

  • ABP Framework version: v7.0.2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes (Microservice)
  • Exception message and stack trace:Volo.Abp.AbpInitializationException: An error occurred during the initialize Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor phase of the module ..Web.MsWebModule, ..Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: The action '..Micro1Service.EntityTests.ClientProxies.EntityTestsClientProxy.GetAsync (..Micro1Service.HttpApi.Client)' has ApiExplorer enabled, but is using conventional routing. Only actions which use attribute routing support ApiExplorer.. See the inner exception for details. ---> System.InvalidOperationException: The action '..Micro1Service.EntityTests.ClientProxies.EntityTestsClientProxy.GetAsync (..Micro1Service.HttpApi.Client)' has ApiExplorer enabled, but is using conventional routing. Only actions which use attribute routing support ApiExplorer.
  • Steps to reproduce the issue: Add new microservice, Map from Database Model chosing Entity with string Type, configure the new web service as documented and run run-tye.ps1.

4 إجابة (إجابات)
  • User Avatar
    0
    maliming خلقت
    فريق الدعم Fullstack Developer

    hi

    Can you share your project with me? liming.ma@volosoft.com
    include the steps to reproduce thanks

  • User Avatar
    0
    maliming خلقت
    فريق الدعم Fullstack Developer

    hi

    please make sure your all controller has the same Area name(Case Sensitive).

    then regenerate the proxy on Ms.Micro1Service.HttpApi.Client

  • User Avatar
    0
    t.abouzid خلقت

    the regeneration command keep responding App name not correct

  • User Avatar
    0
    maliming خلقت
    فريق الدعم Fullstack Developer

    hi

    What is command output?

Made with ❤️ on ABP v8.2.0-preview Updated on مارس 25, 2024, 15:11