Activities of "RonaldR"

we are tyring to use volo docs but we do not use github, we use bitbucket. it appears that you are forcing us to github. is there a way to change which git repository we want to use?

Question

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.

  • ABP Framework version: v3.2
  • UI type: MVC
  • Tiered (MVC) or Identity Server Seperated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue: *We want to move from .net core 3.1 to .net 5. what is the migration path? i tried just changing all the project to .net 5, after that failed to work, i updated nugat packes include prelease for v4-rc4, and that producted a lot of bugs in the volo soft code. how do we get to the .net 5 level in an exsting project?

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.

  • ABP Framework version: v3.2
  • UI type: MVC
  • Tiered (MVC) or Identity Server Seperated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:
  • In our menu provider we add themenu items we wantr plus make some adjustments to the administration menu. what we notice is the admin menu, after you click on a page, stays open to the page you clicked on,however, the pages we added do not behave this way. is there some setting or css or something we are supposed to apply to get our menus to stay open too?
Answer

I am still having issues. i followed the steps, most of which i tried the first time, although i didnt know about the new scope db changes, but i havehtose in place and seeded now. i am still getting the following issue when i start up the applicatiop though: System.TypeLoadException: Could not load type 'Volo.Abp.IdentityServer.ApiResources.ApiScope' from assembly 'Volo.Abp.IdentityServer.Domain, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null'. at System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType) at System.Reflection.RuntimeMethodInfo.get_Signature() at System.Reflection.RuntimeMethodInfo.FetchNonReturnParameters() at System.Reflection.RuntimeMethodInfo.GetParameters() at Castle.DynamicProxy.Generators.MethodSignatureComparer.GetHashCode(MethodInfo obj) at System.Linq.Set1.InternalGetHashCode(TElement value) at System.Linq.Set1.Add(TElement value) at System.Linq.Set1.UnionWith(IEnumerable1 other) at System.Linq.Enumerable.DistinctIterator1.FillSet() at System.Linq.Enumerable.DistinctIterator1.ToArray() at Castle.DynamicProxy.Generators.MethodFinder.GetAllInstanceMethods(Type type, BindingFlags flags) at Castle.DynamicProxy.Contributors.MembersCollector.CollectMethods(IProxyGenerationHook hook) at Castle.DynamicProxy.Contributors.MembersCollector.CollectMembersToProxy(IProxyGenerationHook hook) at Castle.DynamicProxy.Contributors.ClassProxyTargetContributor.CollectElementsToProxyInternal(IProxyGenerationHook hook)+MoveNext() at Castle.DynamicProxy.Contributors.CompositeTypeContributor.CollectElementsToProxy(IProxyGenerationHook hook, MetaType model) at Castle.DynamicProxy.Generators.ClassProxyGenerator.GenerateType(String name, Type[] interfaces, INamingScope namingScope) at Castle.DynamicProxy.Generators.ClassProxyGenerator.<>c__DisplayClass1_0.<GenerateCode>b__0(String n, INamingScope s) at Castle.DynamicProxy.Generators.BaseProxyGenerator.<>c__DisplayClass33_0.<ObtainProxyType>b__0(CacheKey _) at Castle.Core.Internal.SynchronizedDictionary2.GetOrAdd(TKey key, Func2 valueFactory) at Castle.DynamicProxy.Generators.BaseProxyGenerator.ObtainProxyType(CacheKey cacheKey, Func3 factory) at Castle.DynamicProxy.Generators.ClassProxyGenerator.GenerateCode(Type[] interfaces, ProxyGenerationOptions options) at Castle.DynamicProxy.DefaultProxyBuilder.CreateClassProxyType(Type classToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options) at Autofac.Extras.DynamicProxy.RegistrationExtensions.EnableClassInterceptors[TLimit,TConcreteReflectionActivatorData,TRegistrationStyle](IRegistrationBuilder3 registration, ProxyGenerationOptions options, Type[] additionalInterfaces) at Autofac.Extras.DynamicProxy.RegistrationExtensions.EnableClassInterceptors[TLimit,TConcreteReflectionActivatorData,TRegistrationStyle](IRegistrationBuilder3 registration) at Autofac.Builder.AbpRegistrationBuilderExtensions.AddInterceptors[TLimit,TActivatorData,TRegistrationStyle](IRegistrationBuilder3 registrationBuilder, Type serviceType, IEnumerable1 interceptors) at Autofac.Builder.AbpRegistrationBuilderExtensions.InvokeRegistrationActions[TLimit,TActivatorData,TRegistrationStyle](IRegistrationBuilder3 registrationBuilder, ServiceRegistrationActionList registrationActionList, Type serviceType, Type implementationType) at Autofac.Builder.AbpRegistrationBuilderExtensions.ConfigureAbpConventions[TLimit,TActivatorData,TRegistrationStyle](IRegistrationBuilder3 registrationBuilder, IModuleContainer moduleContainer, ServiceRegistrationActionList registrationActionList) at Autofac.Extensions.DependencyInjection.AutofacRegistration.Register(ContainerBuilder builder, IServiceCollection services) at Autofac.Extensions.DependencyInjection.AutofacRegistration.Populate(ContainerBuilder builder, IServiceCollection services) at Volo.Abp.Autofac.AbpAutofacServiceProviderFactory.CreateBuilder(IServiceCollection services) at Microsoft.Extensions.Hosting.Internal.ServiceFactoryAdapter1.CreateBuilder(IServiceCollection services) at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider() at Microsoft.Extensions.Hosting.HostBuilder.Build() at DAG.TFORM.Web.Program.Main(String[] args) in C:\Users\ronald.rizk\source\repos\tform_repo\DAG.TFORM\aspnet-core\src\DAG.TFORM.Web\Program.cs:line 34

Answer

I just tried that but no change. it still says unable to find ApiScope.

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.

  • ABP Framework version: v3.2
  • UI type: MVC
  • Tiered (MVC) or Identity Server Seperated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue: we keep encountering this issue. we find it in almost all of our delete calls to the api. i also found it in the put when making a change in the administration -> settings -> lepton Theme page which comes with framework, so i set this pages error.

2020-11-29 11:21:45.941 -06:00 [INF] Request starting HTTP/2.0 PUT https://localhost:44355/api/lepton-theme-management/settings application/json 90 2020-11-29 11:21:45.971 -06:00 [INF] No CORS policy found for the specified request. 2020-11-29 11:21:45.973 -06:00 [INF] Executing endpoint 'Volo.Abp.LeptonTheme.LeptonThemeSettingsController.UpdateAsync (Volo.Abp.LeptonTheme.Management.HttpApi)' 2020-11-29 11:21:45.982 -06:00 [INF] Route matched with {area = "leptonThemeManagement", action = "Update", controller = "LeptonThemeSettings", page = ""}. Executing controller action with signature System.Threading.Tasks.Task UpdateAsync(Volo.Abp.LeptonTheme.Management.UpdateLeptonThemeSettingsDto) on controller Volo.Abp.LeptonTheme.LeptonThemeSettingsController (Volo.Abp.LeptonTheme.Management.HttpApi). 2020-11-29 11:21:45.984 -06:00 [DBG] Login Url: /Account/Login 2020-11-29 11:21:45.984 -06:00 [DBG] Login Return Url Parameter: ReturnUrl 2020-11-29 11:21:45.984 -06:00 [DBG] Logout Url: /Account/Logout 2020-11-29 11:21:45.984 -06:00 [DBG] ConsentUrl Url: /Consent 2020-11-29 11:21:45.984 -06:00 [DBG] Consent Return Url Parameter: returnUrl 2020-11-29 11:21:45.984 -06:00 [DBG] Error Url: /Account/Error 2020-11-29 11:21:45.984 -06:00 [DBG] Error Id Parameter: errorId 2020-11-29 11:21:45.987 -06:00 [ERR] The required antiforgery header value "RequestVerificationToken" is not present. 2020-11-29 11:21:45.988 -06:00 [INF] Authorization failed for the request at filter 'Volo.Abp.AspNetCore.Mvc.AntiForgery.AbpAutoValidateAntiforgeryTokenAuthorizationFilter'. 2020-11-29 11:21:45.996 -06:00 [INF] Executing HttpStatusCodeResult, setting HTTP status code 400 2020-11-29 11:21:45.996 -06:00 [INF] Executed action Volo.Abp.LeptonTheme.LeptonThemeSettingsController.UpdateAsync (Volo.Abp.LeptonTheme.Management.HttpApi) in 13.4389ms 2020-11-29 11:21:45.996 -06:00 [INF] Executed endpoint 'Volo.Abp.LeptonTheme.LeptonThemeSettingsController.UpdateAsync (Volo.Abp.LeptonTheme.Management.HttpApi)'

Answer

we have a 3.3.1 commericail license, it will work find with 4-rv4? can i select that from there? 4 is the right version for needing .net 5? if i need different download then what is the link to get that?

Question

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.

  • ABP Framework version: v3.3.1
  • UI type: MVC
  • Tiered (MVC) or Identity Server Seperated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:
  • How do we configure connection pooling? we are running against postgres. we have the website and the api backend and a hangfire server running asd part of this project. the connection to our database and the hangfire database. we have 4 developers working on the same postgres server but we are constantly running in to PostgresException: 53300: sorry, too many clients already.
  • My thought was connection pooling would handle this. in EF core, i know you are supposed to use AddDbContextPool instead of AddDbContext, but i do not see where AddDbContext is even being called in our code, so i am guessing it is handled in your code instead. Can you shed some light on the best practices for handling these connection pooling issues?
Answer

maybe i just dont kow ef core well enough but i didnt see the answer to my question in that link. would adding this to the connection string solve the issue? ;Pooling=true;MinPoolSize=0;MaxPoolSize=10;

Question

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.

  • ABP Framework version: v3.3.1
  • UI type: MVC
  • Tiered (MVC) or Identity Server Seperated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:
  • When we leave the site inactive for more than 15 minutes or there abouts it loses the identity. if i login then click on a page on the menu, then do nothing for 20 minutes then click on a new menu link, when it tries to rebuild the menus us use CurrentUser in the api to see who it logged in, but there is no user in there.
  • I tried adding this in the TFORMWebModule:
    context.Services.AddAuthentication()
                .AddCookie(options => {
                    options.SlidingExpiration = true;
                    options.ExpireTimeSpan = DateTimeOffset.UtcNow.AddHours(24).Offset;
                })
                .AddJwtBearer(options =>
                {
                    options.Authority = configuration["AuthServer:Authority"];
                    options.RequireHttpsMetadata = false;
                    options.Audience = "TFORM";
                });
        }

The AddJwtBearer was already there, i added the AddCookie setion, but that didnt work.

I alos checked the identity tables the accesstimeout and the identity timeout are all set to 31536000 so they shouldbe be expiring that quickly, i think thats about 8.5 hours, give or take.

so what am i missing?

Showing 1 to 10 of 47 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11