Open Closed

IIdentityUserLookupAppService error? #29


User avatar
0
gexiaoxu created

IIdentityUserLookupAppService's controller have removed? I want to Synchronize user ,but get the error: Volo.Abp.AbpException: Could not found remote action for method: System.Threading.Tasks.Task1[Volo.Abp.Users.UserData] FindByIdAsync(System.Guid) on the URL: https://localhost:44335/ at Volo.Abp.Http.Client.DynamicProxying.ApiDescriptionFinder.FindActionAsync(String baseUrl, Type serviceType, MethodInfo method) at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor1.MakeRequestAsync(IAbpMethodInvocation invocation) at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor1.MakeRequestAndGetResultAsync[T](IAbpMethodInvocation invocation) at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor1.GetResultAsync(Task task, Type resultType) at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor1.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo) at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.ProceedAsync() at Volo.Abp.Validation.ValidationInterceptor.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) at Volo.Abp.Identity.HttpClientExternalUserLookupServiceProvider.FindByIdAsync(Guid id, CancellationToken cancellationToken) at Volo.Abp.Users.UserLookupService2.FindByIdAsync(Guid id, CancellationToken cancellationToken) 2020-02-18 15:15:02.566 +08:00 [ERR] Could not found remote action for method: System.Threading.Tasks.Task1[Volo.Abp.Users.UserData] FindByIdAsync(System.Guid) on the URL: https://localhost:44335/


4 Answer(s)
  • User Avatar
    0
    gterdem created
    Senior .NET Developer

    Hello gexiaoxu,

    Can you give more details to reproduce the issue?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Will be fixed in 2.1.

  • User Avatar
    0
    bqabani created

    Dear I have the error in abp 4.0.2 (angular , ef) host referencing custom module made by myself.

    Please share with us more information regarding this exception and how did you solve it

    Exception says:

    [ERR] Could not found remote action for method: System.Threading.Tasks.Task`1[Volo.Abp.Application.Dtos.PagedResultDto`1[Sw.Shared.Attachments.AttachmentDetailWithNavigationPropertiesDto]] GetListAsync(Sw.Shared.Attachments.GetAttachmentDetailsInput) on the URL: https://localhost:44398/
    Volo.Abp.AbpException: Could not found remote action for method: System.Threading.Tasks.Task`1[Volo.Abp.Application.Dtos.PagedResultDto`1[Sw.Shared.Attachments.AttachmentDetailWithNavigationPropertiesDto]] GetListAsync(Sw.Shared.Attachments.GetAttachmentDetailsInput) on the URL: https://localhost:44398/
    at Volo.Abp.Http.Client.DynamicProxying.ApiDescriptionFinder.FindActionAsync(HttpClient client, String baseUrl, Type serviceType, MethodInfo method)
    at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor`1.MakeRequestAsync(IAbpMethodInvocation invocation) at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor`1\.MakeRequestAndGetResultAsync\[T\]\(IAbpMethodInvocation invocation\)
    at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor`1.GetResultAsync(Task task, Type resultType) at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor`1.InterceptAsync(IAbpMethodInvocation invocation)
    at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
    at Castle\.DynamicProxy\.AsyncInterceptorBase\.ProceedAsynchronous\[TResult\]\(IInvocation invocation\, IInvocationProceedInfo proceedInfo\)
    at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync() at Volo.Abp.Validation.ValidationInterceptor.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed) at Sw.Shared.Controllers.Settings.AttachmentDetailController.GetListAsync(GetAttachmentDetailsInput input) in D:\Projects\Sw.Shared\Sw.Shared\src\Sw.Shared.HttpApi\Controllers\Attachments\AttachmentDetailController.cs:line 67 at lambda_method2317(Closure , Object ) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
    at Microsoft\.AspNetCore\.Mvc\.Infrastructure\.ControllerActionInvoker\.g\_\_Awaited\|10\_0\(ControllerActionInvoker invoker\, Task lastTask\, State next\, Scope scope\, Object state\, Boolean isCompleted\)
    
    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
    at Microsoft\.AspNetCore\.Mvc\.Infrastructure\.ControllerActionInvoker\.g\_\_Awaited\|13\_0\(ControllerActionInvoker invoker\, Task lastTask\, State next\, Scope scope\, Object state\, Boolean isCompleted\)
    
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi @bqabani

    Can you share the steps and code to reproduce?

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