Activities of "balessi75"

Abp Commercial 5.2.0 / Blazor Server / EF

Hi, After deploying our Abp solution to Azure, we receive the below exception when clicking on Administration -> Identity Management -> Security Logs. This does not occur when running locally from VS.

Any input is greatly appreciated. Thanks in advance.

2022-05-11 01:32:32.103 +00:00 [WRN] Unhandled exception rendering component: Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
   at Volo.Abp.Identity.Pro.Blazor.Pages.Identity.Components.SecurityLogBrowserInfoComponent.BuildRenderTree(RenderTreeBuilder __builder)
   at Microsoft.AspNetCore.Components.ComponentBase.<.ctor>b__6_0(RenderTreeBuilder builder)
   at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException)
2022-05-11 01:32:32.103 +00:00 [ERR] Unhandled exception in circuit 'Mqnx1VKqCuwtgw4NJb8ZQHqkYKAckscQrI4BVbmW15w'.
System.NullReferenceException: Object reference not set to an instance of an object.
   at Volo.Abp.Identity.Pro.Blazor.Pages.Identity.Components.SecurityLogBrowserInfoComponent.BuildRenderTree(RenderTreeBuilder __builder)
   at Microsoft.AspNetCore.Components.ComponentBase.<.ctor>b__6_0(RenderTreeBuilder builder)
   at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException)
2022-05-11 01:32:32.116 +00:00 [WRN] Unhandled exception rendering component: Instances cannot be resolved and nested lifetimes cannot be created from this LifetimeScope as it (or one of its parent scopes) has already been disposed.
System.ObjectDisposedException: Instances cannot be resolved and nested lifetimes cannot be created from this LifetimeScope as it (or one of its parent scopes) has already been disposed.
   at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(ResolveRequest request)
   at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
   at Autofac.ResolutionExtensions.ResolveOptionalService(IComponentContext context, Service service, IEnumerable`1 parameters)
   at Autofac.Extensions.DependencyInjection.AutofacServiceProvider.GetService(Type serviceType)
   at Microsoft.AspNetCore.Components.ComponentFactory.<>c__DisplayClass7_0.<CreateInitializer>g__Initialize|1(IServiceProvider serviceProvider, IComponent component)
   at Microsoft.AspNetCore.Components.ComponentFactory.PerformPropertyInjection(IServiceProvider serviceProvider, IComponent instance)
   at Microsoft.AspNetCore.Components.ComponentFactory.InstantiateComponent(IServiceProvider serviceProvider, Type componentType)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.InstantiateChildComponentOnFrame(RenderTreeFrame& frame, Int32 parentComponentId)
   at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.InitializeNewComponentFrame(DiffContext& diffContext, Int32 frameIndex)
   at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.InitializeNewSubtree(DiffContext& diffContext, Int32 frameIndex)
   at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.InsertNewFrame(DiffContext& diffContext, Int32 newFrameIndex)
   at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.AppendDiffEntriesForRange(DiffContext& diffContext, Int32 oldStartIndex, Int32 oldEndIndexExcl, Int32 newStartIndex, Int32 newEndIndexExcl)
   at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.ComputeDiff(Renderer renderer, RenderBatchBuilder batchBuilder, Int32 componentId, ArrayRange`1 oldTree, ArrayRange`1 newTree)
   at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.ProcessRenderQueue()
2022-05-11 01:32:32.116 +00:00 [ERR] Unhandled exception in circuit 'Mqnx1VKqCuwtgw4NJb8ZQHqkYKAckscQrI4BVbmW15w'.
System.ObjectDisposedException: Instances cannot be resolved and nested lifetimes cannot be created from this LifetimeScope as it (or one of its parent scopes) has already been disposed.
   at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(ResolveRequest request)
   at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
   at Autofac.ResolutionExtensions.ResolveOptionalService(IComponentContext context, Service service, IEnumerable`1 parameters)
   at Autofac.Extensions.DependencyInjection.AutofacServiceProvider.GetService(Type serviceType)
   at Microsoft.AspNetCore.Components.ComponentFactory.<>c__DisplayClass7_0.<CreateInitializer>g__Initialize|1(IServiceProvider serviceProvider, IComponent component)
   at Microsoft.AspNetCore.Components.ComponentFactory.PerformPropertyInjection(IServiceProvider serviceProvider, IComponent instance)
   at Microsoft.AspNetCore.Components.ComponentFactory.InstantiateComponent(IServiceProvider serviceProvider, Type componentType)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.InstantiateChildComponentOnFrame(RenderTreeFrame& frame, Int32 parentComponentId)
   at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.InitializeNewComponentFrame(DiffContext& diffContext, Int32 frameIndex)
   at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.InitializeNewSubtree(DiffContext& diffContext, Int32 frameIndex)
   at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.InsertNewFrame(DiffContext& diffContext, Int32 newFrameIndex)
   at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.AppendDiffEntriesForRange(DiffContext& diffContext, Int32 oldStartIndex, Int32 oldEndIndexExcl, Int32 newStartIndex, Int32 newEndIndexExcl)
   at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.ComputeDiff(Renderer renderer, RenderBatchBuilder batchBuilder, Int32 componentId, ArrayRange`1 oldTree, ArrayRange`1 newTree)
   at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.ProcessRenderQueue()

Abp Commercial 5.2.0 / Blazor Server / EF

Hi,

We recently deployed our Abp project to Azure and we are finding that the email confirmation link that is generated by the system is referencing localhost (as if working through VS) instead of the actual domain/url provided through Azure.

I'm guessing there is a simple configuration solution to this, but wanted to ask here as we are somewhat new to Abp and deploying to a production environment in general.

Thanks in advance!

I needed to pass the root namespace name to options.FileSets.AddEmbedded...

options.FileSets.AddEmbedded<TimepieceApplicationContractsModule>("FM.Timepiece")

Abp Commercial 5.2.0 / Blazor Server / EF / Non-tiered

Hi, we are receiving the below exception when using the virtual file system to override the default email confirmation text template. Everything works fine when running locally in VS, but the exception:

Volo.Abp.AbpException: Could not find a file/folder at the location: /Email/Templates/EmailConfirmation.tpl

occurs when running in azure. We noticed that this has been encountered before in the following post, but nothing posted there seems to work in our situation. https://support.abp.io/QA/Questions/2187/TemplateDefinitionProvider-ABP---Virtual-File-Path-not-working-after-deployment-to-Azure

We've looked at https://support.abp.io/QA/Questions/2187/TemplateDefinitionProvider-ABP---Virtual-File-Path-not-working-after-deployment-to-Azure Our .tpl files are flagged as an 'Embedded Resource' in our Application.Contracts Project and we have the following defined in the ConfigureServices method of the Application.Contracts project:

  Configure<AbpVirtualFileSystemOptions>(options =>
        {
            options.FileSets.AddEmbedded<TimepieceApplicationContractsModule>();
        });
2022-05-10 22:31:02.338 +00:00 [INF] Executed endpoint '/Account/Login'
2022-05-10 22:31:02.357 +00:00 [ERR] An unhandled exception has occurred while executing the request.
Volo.Abp.AbpException: Could not find a file/folder at the location: /Email/Templates/EmailConfirmation.tpl
   at Volo.Abp.TextTemplating.VirtualFiles.LocalizedTemplateContentReaderFactory.CreateInternalAsync(TemplateDefinition templateDefinition)
   at Volo.Abp.TextTemplating.VirtualFiles.LocalizedTemplateContentReaderFactory.CreateAsync(TemplateDefinition templateDefinition)
   at Volo.Abp.TextTemplating.VirtualFiles.VirtualFileTemplateContentContributor.GetOrNullAsync(TemplateContentContributorContext context)
   at Volo.Abp.TextTemplating.TemplateContentProvider.GetContentOrNullAsync(ITemplateContentContributor[] contributors, TemplateContentContributorContext context)
   at Volo.Abp.TextTemplating.TemplateContentProvider.GetContentOrNullAsync(TemplateDefinition templateDefinition, String cultureName, Boolean tryDefaults, Boolean useCurrentCultureIfCultureNameIsNull)
   at Volo.Abp.TextTemplating.TemplateRenderingEngineBase.GetContentOrNullAsync(TemplateDefinition templateDefinition)
   at Volo.Abp.TextTemplating.Scriban.ScribanTemplateRenderingEngine.RenderSingleTemplateAsync(TemplateDefinition templateDefinition, Dictionary`2 globalContext, Object model)
   at Volo.Abp.TextTemplating.Scriban.ScribanTemplateRenderingEngine.RenderInternalAsync(String templateName, Dictionary`2 globalContext, Object model)
   at Volo.Abp.TextTemplating.Scriban.ScribanTemplateRenderingEngine.RenderAsync(String templateName, Object model, String cultureName, Dictionary`2 globalContext)
   at Volo.Abp.TextTemplating.AbpTemplateRenderer.RenderAsync(String templateName, Object model, String cultureName, Dictionary`2 globalContext)
   at Volo.Abp.Account.Emailing.AccountEmailer.SendEmailConfirmationLinkAsync(IdentityUser user, String confirmationToken, String appName, String returnUrl, String returnUrlHash)
   at Volo.Abp.Account.AccountAppService.SendEmailConfirmationTokenAsync(IdentityUser user, String applicationName, String returnUrl, String returnUrlHash)
   at Volo.Abp.Account.AccountAppService.SendEmailConfirmationTokenAsync(SendEmailConfirmationTokenDto input)

Thanks in advance.

Abp Commercial 5.2.0 / Blazor Server / EF

Hi we are trying to troubleshoot an issue by creating a new solution at an older version by using the following CLI command

abp new FM.Test2 -u blazor-server -o c:\temp\FM.Test2 -v 4.2.0

The solution gets created, but for some reason there is no Blazor project in the solution that is created.

Please advise. Thanks in advance.

Abp Commercial 5.2.0 / Blazor Server / EF / Non-tiered

Hi, I was wondering if anyone had any insight or recommendations for an issue we are having after publishing our Abp solution to an Azure App Service.

Everything works perfectly when we run locally in VS, but when hitting the URL in Azure, we see the index start page right away, but when licking on 'login', after about 15 seconds, we receive a 502 error as shown below. We have monitored the application using Azure's Application Insights and we se no exceptions occurring and we see nothing in any of the Azure logs.

"502 - Web server received an invalid response while acting as a gateway or proxy server. There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server."

Any suggestions is greatly appreciated as this one really has us scratching our heads.

Great, thank you @gterdem

Abp Commercial 5.2.0 / Blazor Server / EF Core

We've overridden the User Management page, but noticed that the Grid is built using AbpExtensibleDataGrid, so it appears that UI customizations are not possible, is that correct?

We are attempting to modify the Actions drop-down button so that it has an icon within it (similar to what is seen in the Easy CRM demo that is not built with Blazor).

Is there a recommended approach to doing this?

Thanks in advance, -Brian

Abp Commercial 5.2.0 / Blazor Server / EF / Non-tiered

When there are more than 10 users to add to an organization unit (10 is the default page size), and you try to navigate to another page, nothing happens.

Please advise.

Thanks

Hi, as I know there is not any way to do that unless overriding the related page and applying the logic.

Or is there a way to manually create the input without using the <ExtensionProperties> component?

We use this component in modules to show extended properties on UI and it basically creates HTML tags for the extended properties by their type.

You can check the ExtensionProperties component component and create a new component for you to show extended properties on UI by your needs.

BTW, I've created an issue (#12249) for your suggestion and we'll consider it.

Excellent, thanks for the support @EngincanV

Showing 51 to 60 of 108 entries
Made with ❤️ on ABP v9.1.0-rc.1. Updated on January 17, 2025, 14:13