Activities of "TonyLewis"

I need to stick with the open source product right now, but everything that I create, even with the --use-open-source option has my license key embedded and won't run without it. How do I at least temporarily kill off the team subscription on my development machine so I can create a clean project with just the open source components?

I'm new to the pro version. We are having trouble with developer permissions C:\Users{username}.abp\cli\access-token.bin not found. I don't have the problem, but one of my developers does. I assume that my developers can also send support tickets? They are in India and the time zone issue is causing multiple delays as we run into issues.

Also, I am seeing a lot of exceptions being thrown by the application when running through visual studio. It works, but it seems slow. I assume that these exceptions probably indicate an issue, but I don't know where to look. These errors repeat

  • ABP Framework version: v8.2.2
  • UI Type: MVC
  • Database System: EF Core (PostgreSQL)
  • Tiered (for MVC): yes/no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Exception thrown: 'System.Net.Sockets.SocketException' in System.Net.Sockets.dll Exception thrown: 'System.Net.Sockets.SocketException' in System.Private.CoreLib.dll Exception thrown: 'System.Net.Sockets.SocketException' in System.Net.Http.dll Exception thrown: 'System.Net.Http.HttpRequestException' in System.Net.Http.dll Exception thrown: 'System.Net.Http.HttpRequestException' in System.Private.CoreLib.dll Exception thrown: 'System.Net.Http.HttpRequestException' in System.Private.CoreLib.dll Exception thrown: 'System.Net.Http.HttpRequestException' in System.Private.CoreLib.dll Exception thrown: 'System.Net.Http.HttpRequestException' in System.Private.CoreLib.dll Exception thrown: 'System.Net.Http.HttpRequestException' in System.Private.CoreLib.dll Exception thrown: 'System.Net.Http.HttpRequestException' in System.Private.CoreLib.dll Exception thrown: 'System.Net.Http.HttpRequestException' in System.Private.CoreLib.dll Exception thrown: 'System.Net.Http.HttpRequestException' in System.Private.CoreLib.dll Exception thrown: 'System.Net.Http.HttpRequestException' in System.Private.CoreLib.dll Exception thrown: 'System.Net.Http.HttpRequestException' in Grpc.Net.Client.dll Exception thrown: 'Grpc.Core.RpcException' in Grpc.Net.Client.dll Exception thrown: 'Grpc.Core.RpcException' in System.Private.CoreLib.dll Exception thrown: 'Grpc.Core.RpcException' in MagicOnion.Client.dll Exception thrown: 'Grpc.Core.RpcException' in System.Private.CoreLib.dll Exception thrown: 'Grpc.Core.RpcException' in System.Private.CoreLib.dll Exception thrown: 'Grpc.Core.RpcException' in System.Private.CoreLib.dll

And sometimes a lot more

Check the samples to s ee the basic tasks: https://abp.io/docs/latest/samples The exact solution to your question may have been answered before, and please first use the search on the homepage. Provide us with the following info: 🧐 Hint: If you are using the ABP Studio, you can see all the information about your solution from the configuration window, which opens when you right-click on the solution and click on the Solution Configuration button.

  • ABP Framework version: v8.2.2
  • UI Type: MVC
  • Database System: EF Core (PostgreSQL)
  • Tiered (for MVC): yes
  • Exception message and full stack trace: The requested service 'Volo.Abp.TenantManagement.EntityFrameworkCore.TenantManagementDbContext' has not been registered. To avoid this exception, either register a component to provide the service, check for service registration using IsRegistered(), or use the ResolveOptional() method to resolve an optional dependency. See https://autofac.rtfd.io/help/service-not-registered for more info.
  • Steps to reproduce the issue:

This is an implementation of the Domain Tenant Resolution. We had this running with a community edition of the library. We implemented the commercial package and made the same modifications, but now it throws this error.

public class CustomTenantRepository : EfCoreRepository<TenantManagementDbContext, Tenant, Guid>, ICustomTenantRepository
{
    public CustomTenantRepository(IDbContextProvider<TenantManagementDbContext> dbContextProvider) : base(dbContextProvider)
    {
    }

    public async Task<Tenant> GetTenantByDomain(string host, CancellationToken cancellationToken = default)
    {
        var context = await GetDbContextAsync();
        var tenant = context.Tenants.Where(u => EF.Property<string>(u, "Domain") == host);
        return await tenant.FirstOrDefaultAsync(cancellationToken: cancellationToken);
    }
}

Is the DbContext different in the pro module?

I don't know what to check next.

Thanks, Tony Lewis

Showing 1 to 3 of 3 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 19, 2024, 10:13