in Contact us form following error occurred there is any settings for this??
The following errors were detected during validation. - The RecaptchaToken field is required.
but field is not visible in form.
referance:https://docs.abp.io/en/commercial/5.2/modules/cms-kit/contact-form
Ok thanks.
I want to add web.public project in existing project then what should i do?
I recommend you add controllers manually just like https://github.com/abpframework/abp/tree/dev/modules/identity/src/Volo.Abp.Identity.HttpApi/Volo/Abp/Identity
but i am using AutoApiController in module project.that can be affect?
e
In Proxy i get all the api from module project. and its working in swagger but not in frontend
Can i Use AutoApiController in Module Project?
https://docs.abp.io/en/abp/latest/API/Auto-API-Controllers
but when i run project all api working fine in swagger. but in frontend these is not working and throw following error.
2022-07-04 13:07:47.013 +05:30 [INF] Executing endpoint '/NamedDatas/CreateModal' 2022-07-04 13:07:47.013 +05:30 [INF] Route matched with {page = "/NamedDatas/CreateModal", area = "", action = "", controller = ""}. Executing page /NamedDatas/CreateModal 2022-07-04 13:07:47.013 +05:30 [INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy 2022-07-04 13:07:47.033 +05:30 [INF] Executing handler method SGLNamedData.Web.Pages.NamedDatas.CreateModalModel.OnPostAsync - ModelState is "Valid" 2022-07-04 13:07:47.048 +05:30 [ERR] ---------- RemoteServiceErrorInfo ---------- { "code": null, "message": "An internal error occurred during your request!", "details": null, "data": {}, "validationErrors": null }
2022-07-04 13:07:47.048 +05:30 [ERR] Remote service 'SGLNamedData' was not found and there is no default configuration.
Volo.Abp.AbpException: Remote service 'SGLNamedData' was not found and there is no default configuration.
at Volo.Abp.Http.Client.RemoteServiceConfigurationDictionary.GetConfigurationOrDefault(String name)
at Volo.Abp.Http.Client.RemoteServiceConfigurationProvider.GetConfigurationOrDefaultAsync(String name)
at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor1.GetActionApiDescriptionModel(IAbpMethodInvocation invocation) at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor
1.InterceptAsync(IAbpMethodInvocation invocation)
at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func
3 proceed)
at Castle.DynamicProxy.AsyncInterceptorBase.InterceptSynchronousResult[TResult](AsyncInterceptorBase me, IInvocation invocation)
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Castle.DynamicProxy.AbstractInvocation.ProceedInfo.Invoke()
at Castle.DynamicProxy.AsyncInterceptorBase.ProceedSynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
--- End of stack trace from previous location ---
at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.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 Castle.DynamicProxy.AsyncInterceptorBase.InterceptSynchronousResult[TResult](AsyncInterceptorBase me, IInvocation invocation)
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Castle.Proxies.INamedDataAppServiceProxy.CheckNamedDataTitleExists(String Title, Guid Id)
at SGLNamedData.Web.Pages.NamedDatas.CreateModalModel.OnPostAsync()
at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.ExecutorFactory.GenericTaskHandlerMethod.Convert[T](Object taskAsObject)
at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.ExecutorFactory.GenericTaskHandlerMethod.Execute(Object receiver, Object[] arguments)
at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeHandlerMethodAsync()
at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeNextPageFilterAsync()
2022-07-04 13:07:47.049 +05:30 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
this issue solved..... i added this line to Program.cs file
await builder.AddApplicationAsync<SglCreateBaseProjectWebModule>(options => { options.PlugInSources.Add(new FolderPlugInSource(@"D:\Module_Project\Create Base Project\SglCreateBaseProject\src\SglCreateBaseProject.Web\wwwroot\DLL")); });
in SGLNamedData module there is only one crud operation and i use this module as Plugin in another project.
its module project...there is SGLNamedData.Web is module project