Activities of "zhongfang"

Oh, only a module. very simple module.

Thank you for your quick reply. I can work toward now.

Sorry, I forget to replace connection string...

Thank you! It work well now.

Let'm give you more detail description.

  1. When I didn't logged in, the page displayed normally. 2)Then I will login with username and password. I will get above exception. Then I will refresh the page, the exception disappeared.

Yes, I am using Blazor Server. With the same code, If I use Lepton, there is no error. After I replace/change the theme from Lepton to LeptonX, I will get above error.

Good question, I will prepare a new ABP solution for you. After I create it by ABP Suite.

At first, I placed the code in PreConfigureServices. Failed as before. Then, I placed the code in ConfigureServices, Failed again.

I place the code in ConfigureServices and PreConfigureServices.

Configure<AbpLocalizationOptions>(options =>
        {
            options.DefaultResourceType = typeof(BlazorOneResource);
        });

But I still get the same error as before.

I have checked the source code of ABP Framework. Volo.Abp.FeatureManagement Volo.Abp.FeatureManagement.Blazor /Components/FeatureManagementModal.razor line 65.

I past the code as below

<SelectItem Value="@item.Value">
    @CreateStringLocalizer(item.DisplayText.ResourceName).GetString(item.DisplayText.Name)
</SelectItem>

Sometimes, CreateStringLocalizer(item.DisplayText.ResourceName) return a null object. So, GetString will throw exception.

You may think these senarios: Such as I change the file name /class name of Resource file. But a feature setting has already been stored into database many months ago...

Showing 51 to 60 of 136 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 10, 2025, 10:45
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.