Ends in:
3 DAYS
10 HRS
4 MIN
5 SEC
Ends in:
3 D
10 H
4 M
5 S

Activities of "TonyLewis"

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

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

>

What are the "Magic Onion" calls?

Grpc.Net.Client.dll!Grpc.Net.Client.Internal.GrpcCall<byte[], byte[]>.GetResponseHeadersCoreAsync() Line 192 C# [Resuming Async Method] System.Private.CoreLib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 138 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder<Grpc.Core.Metadata>.AsyncStateMachineBox<Grpc.Net.Client.Internal.GrpcCall<byte[], byte[]>.<GetResponseHeadersCoreAsync>d__46>.MoveNext(System.Threading.Thread threadPoolThread) Line 163 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.TaskAwaiter.OutputWaitEtwEvents.AnonymousMethod__12_0(System.Action innerContinuation, System.Threading.Tasks.Task innerTask) Line 140 C# System.Private.CoreLib.dll!System.Threading.Tasks.AwaitTaskContinuation.System.Threading.IThreadPoolWorkItem.Execute() Line 94 C# System.Private.CoreLib.dll!System.Threading.ThreadPoolWorkQueue.Dispatch() Line 690 C# System.Private.CoreLib.dll!System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() Line 1328 C# [Async Call Stack] [Async] MagicOnion.Client.dll!MagicOnion.Client.StreamingHubClientBase<Volo.Abp.Studio.Connectivity.IStudioHub, Volo.Abp.Studio.Connectivity.IStudioHubClient>.__ConnectAndSubscribeAsync(Volo.Abp.Studio.Connectivity.IStudioHubClient receiver, System.Threading.CancellationToken cancellationToken) Unknown [Async] MagicOnion.Client.dll!MagicOnion.Client.StreamingHubClient.ConnectAsync<Volo.Abp.Studio.Connectivity.IStudioHub, Volo.Abp.Studio.Connectivity.IStudioHubClient>(Grpc.Core.CallInvoker callInvoker, Volo.Abp.Studio.Connectivity.IStudioHubClient receiver, string host, Grpc.Core.CallOptions option, MagicOnion.Serialization.IMagicOnionSerializerProvider serializerProvider, MagicOnion.Client.IStreamingHubClientFactoryProvider factoryProvider, MagicOnion.Client.IMagicOnionClientLogger logger, System.Threading.CancellationToken cancellationToken) Unknown [Async] MagicOnion.Client.dll!MagicOnion.Client.StreamingHubClient.ConnectAsync<Volo.Abp.Studio.Connectivity.IStudioHub, Volo.Abp.Studio.Connectivity.IStudioHubClient>(Grpc.Core.ChannelBase channel, Volo.Abp.Studio.Connectivity.IStudioHubClient receiver, string host, Grpc.Core.CallOptions option, MagicOnion.Serialization.IMagicOnionSerializerProvider serializerProvider, MagicOnion.Client.IStreamingHubClientFactoryProvider factoryProvider, MagicOnion.Client.IMagicOnionClientLogger logger, System.Threading.CancellationToken cancellationToken) Unknown [Async] Volo.Abp.Studio.Client.dll!Volo.Abp.Studio.Connectivity.AbpStudioLink.<ConnectAsync>d__19.MoveNext() Unknown

hi

From the error message/stack, it seems unrelated to the abp framework.

Can you try to run app via dotnet run command to see if there still have any error messages in the logs.

Thanks.

That's interesting, because I'm not running anything but abp. It appears that this may have something to do with ABP Studio (see the last line) Is it trying to check in to see if something has changed?

This may also be because of communication between the .Web and the .Web.Public applications. I should not have clicked on public website in APB Studio.

In my application, almost all content is user-driven, not controlled by the admin. As such, each user is a "mini-admin" for their specific content information. As such, a separate "public" application is unnecessarily complex.

Is the public website a requirement for the CmsKit Pro? I'm trying to balance the convenience of having those modules written and the complexity and license headache associated with their use.

I tried to add the CmsKit Pro module to my application, and I added it to the global features as suggested, but the migrations don't add any files and I don't seem to have access to the advanced features.

Tony

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 use this command: abp new XAKTme -t app -dbms PostgreSQL -th basic -csf -nsl -nkc -smr -old

and it still puts my license key in AppSecrets.

I just want to be sure that I don't have the license restrictions, because I will need to have other developers work on this branch.

Showing 1 to 6 of 6 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on December 02, 2024, 12:35