Getting exception while login with default tenant:
An unhandled exception occurred while processing the request.
MissingMethodException: Method not found: 'Void Abp.Domain.Entities.Auditing.EntityAuditingHelper.SetCreationAuditProperties(Abp.Configuration.Startup.IMultiTenancyConfig, System.Object, System.Nullable1<Int32>, System.Nullable
1<Int64>)'.
Abp.EntityFrameworkCore.AbpDbContext.SetCreationAuditProperties(object entityAsObj, Nullable<long> userId)
Is there any near future plan that ABP SUITE will support Microservices template ?
After updating required package using https://abp.io/package-detail/Volo.Abp.Commercial.SuiteTemplates again tried creating entity, but getting below exception..
Below is the Stack Trace : send @ http://localhost:3000/libs/jquery/jquery.js?_v=637466433880000000:9837 ajax @ http://localhost:3000/libs/jquery/jquery.js?_v=637466433880000000:9434 (anonymous) @ http://localhost:3000/libs/abp/jquery/abp.jquery.js?_v=637466433880000000:103 Deferred @ http://localhost:3000/libs/jquery/jquery.js?_v=637466433880000000:3774 abp.ajax @ http://localhost:3000/libs/abp/jquery/abp.jquery.js?_v=637466433880000000:102 saveAndGenerateEntity @ http://localhost:3000/Pages/CrudPageGenerator/create.js?_v=637474195980000000:360 (anonymous) @ http://localhost:3000/Pages/CrudPageGenerator/create.js?_v=637474195980000000:403 (anonymous) @ http://localhost:3000/Pages/CrudPageGenerator/create.js?_v=637474195980000000:13 fire @ http://localhost:3000/libs/jquery/jquery.js?_v=637466433880000000:3291 fireWith @ http://localhost:3000/libs/jquery/jquery.js?_v=637466433880000000:3421 deferred.**<computed> @ http://localhost:3000/libs/jquery/jquery.js?_v=637466433880000000:3759 (anonymous) @ http://localhost:3000/libs/abp/jquery/abp.jquery.js?_v=637466433880000000:105 fire @ http://localhost:3000/libs/jquery/jquery.js?_v=637466433880000000:3291 fireWith @ http://localhost:3000/libs/jquery/jquery.js?_v=637466433880000000:3421 done @ http://localhost:3000/libs/jquery/jquery.js?_v=637466433880000000:9533 (anonymous) @ http://localhost:3000/libs/jquery/jquery.js?_v=637466433880000000:9785 send @ http://localhost:3000/libs/jquery/jquery.js?_v=637466433880000000:9804 ajax @ http://localhost:3000/libs/jquery/jquery.js?_v=637466433880000000:9434 (anonymous) @ http://localhost:3000/libs/abp/jquery/abp.jquery.js?_v=637466433880000000:103 Deferred @ http://localhost:3000/libs/jquery/jquery.js?_v=637466433880000000:3774 abp.ajax @ http://localhost:3000/libs/abp/jquery/abp.jquery.js?_v=637466433880000000:102 checkSolutionIsBuilt @ http://localhost:3000/Pages/CrudPageGenerator/create.js?_v=637474195980000000:8 checkBuildAndSaveAndGenerateEntity @ http://localhost:3000/Pages/CrudPageGenerator/create.js?_v=637474195980000000:401 saveAndGenerate @ http://localhost:3000/Pages/CrudPageGenerator/create.js?_v=637474195980000000:813 click @ :5 invokeWithErrorHandling @ http://localhost:3000/libs/vue/vue.js?_v=637466433880000000:1863 invoker @ http://localhost:3000/libs/vue/vue.js?_v=637466433880000000:2184 original._wrapper @ http://localhost:3000/libs/vue/vue.js?_v=637466433880000000:7541
Below is the response : {"error":{"code":null,"message":"An internal error occurred during your request!","details":null,"data":{},"validationErrors":null}}
I really intrested to know about how to add new microservices/entities in ABP.IO microservices module.
Thanks - Prasad G
ABP Framework version: v4.2.0 UI type: MVC DB provider: EF Core Tiered (MVC) or Identity Server Seperated (Angular): no Steps to reproduce the issue: Followed all the steps given in https://docs.abp.io/en/commercial/latest/startup-templates/microservice/index to create Microservices Template. Able to run all the required services :
But when tried to run MVC Web Project, it throws so many exceptions:
Exception message and stack trace: An unhandled exception occurred while processing the request. SocketException: No connection could be made because the target machine actively refused it. System.Net.Sockets.Socket+AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:44325) System.Net.Http.ConnectHelper.ConnectAsync(Func<SocketsHttpConnectionContext, CancellationToken, ValueTask<Stream>> callback, DnsEndPoint endPoint, HttpRequestMessage requestMessage, CancellationToken cancellationToken)
Stack Query Cookies Headers Routing SocketException: No connection could be made because the target machine actively refused it. System.Net.Sockets.Socket+AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) System.Net.Sockets.Socket+AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(short token) System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable+ConfiguredValueTaskAwaiter.GetResult() System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|283_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken) System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable+ConfiguredValueTaskAwaiter.GetResult() System.Net.Http.HttpConnectionPool.DefaultConnectAsync(SocketsHttpConnectionContext context, CancellationToken cancellationToken) System.Threading.Tasks.ValueTask<TResult>.get_Result() System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable<TResult>+ConfiguredValueTaskAwaiter.GetResult() System.Net.Http.ConnectHelper.ConnectAsync(Func<SocketsHttpConnectionContext, CancellationToken, ValueTask<Stream>> callback, DnsEndPoint endPoint, HttpRequestMessage requestMessage, CancellationToken cancellationToken)
Show raw exception details HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:44325) System.Net.Http.ConnectHelper.ConnectAsync(Func<SocketsHttpConnectionContext, CancellationToken, ValueTask<Stream>> callback, DnsEndPoint endPoint, HttpRequestMessage requestMessage, CancellationToken cancellationToken) System.Threading.Tasks.ValueTask<TResult>.get_Result() System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable<TResult>+ConfiguredValueTaskAwaiter.GetResult() System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, bool async, CancellationToken cancellationToken) System.Threading.Tasks.ValueTask<TResult>.get_Result() System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable<TResult>+ConfiguredValueTaskAwaiter.GetResult() System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, bool async, CancellationToken cancellationToken) System.Threading.Tasks.ValueTask<TResult>.get_Result() System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable<TResult>+ConfiguredValueTaskAwaiter.GetResult() System.Net.Http.HttpConnectionPool.GetHttpConnectionAsync(HttpRequestMessage request, bool async, CancellationToken cancellationToken) System.Threading.Tasks.ValueTask<TResult>.get_Result() System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable<TResult>+ConfiguredValueTaskAwaiter.GetResult() System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, bool async, bool doRequestAuth, CancellationToken cancellationToken) System.Threading.Tasks.ValueTask<TResult>.get_Result() System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable<TResult>+ConfiguredValueTaskAwaiter.GetResult() System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, bool async, CancellationToken cancellationToken) System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, bool async, CancellationToken cancellationToken) Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) System.Net.Http.HttpClient.SendAsyncCore(HttpRequestMessage request, HttpCompletionOption completionOption, bool async, bool emitTelemetryStartStop, CancellationToken cancellationToken) Volo.Abp.Http.Client.DynamicProxying.ApiDescriptionFinder.GetApiDescriptionFromServerAsync(HttpClient client, string baseUrl) Volo.Abp.Http.Client.DynamicProxying.ApiDescriptionCache.GetAsync(string baseUrl, Func<Task<ApplicationApiDescriptionModel>> factory) Volo.Abp.Http.Client.DynamicProxying.ApiDescriptionFinder.GetApiDescriptionAsync(HttpClient client, string baseUrl) Volo.Abp.Http.Client.DynamicProxying.ApiDescriptionFinder.FindActionAsync(HttpClient client, string baseUrl, Type serviceType, MethodInfo method) Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor<TService>.MakeRequestAsync(IAbpMethodInvocation invocation) Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor<TService>.MakeRequestAndGetResultAsync<T>(IAbpMethodInvocation invocation) Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor<TService>.GetResultAsync(Task task, Type resultType) Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor<TService>.InterceptAsync(IAbpMethodInvocation invocation) Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter<TInterceptor>.InterceptAsync<TResult>(IInvocation invocation, IInvocationProceedInfo proceedInfo, Func<IInvocation, IInvocationProceedInfo, Task<TResult>> proceed) Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous<TResult>(IInvocation invocation, IInvocationProceedInfo proceedInfo) Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue<TResult>.ProceedAsync() Volo.Abp.Validation.ValidationInterceptor.InterceptAsync(IAbpMethodInvocation invocation) Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter<TInterceptor>.InterceptAsync<TResult>(IInvocation invocation, IInvocationProceedInfo proceedInfo, Func<IInvocation, IInvocationProceedInfo, Task<TResult>> proceed) Volo.Abp.AspNetCore.Mvc.Client.MvcCachedApplicationConfigurationClient.<GetAsync>b__14_0() Volo.Abp.Caching.DistributedCache<TCacheItem, TCacheKey>.GetOrAddAsync(TCacheKey key, Func<Task<TCacheItem>> factory, Func<DistributedCacheEntryOptions> optionsFactory, Nullable<bool> hideErrors, bool considerUow, CancellationToken token) Volo.Abp.AspNetCore.Mvc.Client.MvcCachedApplicationConfigurationClient.GetAsync() Volo.Abp.AspNetCore.Mvc.Client.RemoteLanguageProvider.GetLanguagesAsync() Microsoft.AspNetCore.RequestLocalization.DefaultAbpRequestLocalizationOptionsProvider.GetLocalizationOptionsAsync() Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) Microsoft.AspNetCore.Builder.UseMiddlewareExtensions+<>c__DisplayClass6_1+<<UseMiddlewareInterface>b__1>d.MoveNext() Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
Thanks - Prasad
Followed all the steps given in https://docs.abp.io/en/commercial/latest/startup-templates/microservice/index to create Microservices Template. Able to run all the required services : But when tried to run Blazor Web Project, it throws so many exceptions:
Thanks - Prasad
Thanks - Prasad G
Thanks alper, will try this.
Hi,
Even if I am able to achive it while generating the required http post web request payload, it's a temporary solution so is this going to get resolved in any upcoming version?
Thanks - Prasad G
Couldn't find any file like Frontend.Mvc.Page.Partials.editcshtmlcsLookupDropdownOnGet.txt anywhere in the solution. Issue still persists.