Activities of "desenvolvimento@logicpulse.com"

No, the LanguageInfo is the default.

I don't have the code you provided, but when debugging, I found the problem. The AbpLocalizationOptions is configure two times (BlazorModule and DomainModule). Can I ignore the BlazorModule?

BlazorModule

DomainModule

Hi,

Thank's for the response.

By doing this, the database is successfully created, however the following error is always displayed, and the server does not start. If we remove the OnPostApplicationInitializationAsync after database creation, it runs normally. In DBMigrator this error does not happen.

An exception occurred in the database while saving changes for context type 'Volo.Abp.LanguageManagement.EntityFrameworkCore.LanguageManagementDbContext'. Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details. ---> Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object 'dbo.AbpLanguages' with unique index 'IX_AbpLanguages_CultureName'. The duplicate key value is (tr).

DBMigrator

Hi,

We created our first application on Blazor Server, and published it for IIS, however when opening it for the first time, we found that the database was not created.

Is it necessary to always run DB Migrator? Is there no possibility of creating and updating the Database on the Blazor Server itself?

Thank's

Hi,

I had already tested this option, but it had not worked, however doing as you say, it works.

Thank's

The same happens with the example FileUpload2

  • ABP Framework version: v7.0.1

  • UI type: Blazor

  • DB provider: EF Core

  • Tiered (MVC) or Identity Server Separated (Angular): No, Blazor Server

  • Exception message and stack trace:Did not receive any data in the allotted time.

    at System.IO.Pipelines.Pipe.GetReadResult(ReadResult& result) at System.IO.Pipelines.Pipe.GetReadAsyncResult() at System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable1.ConfiguredValueTaskAwaiter.GetResult() at System.IO.Pipelines.PipeReaderStream.<ReadAsyncInternal>d__30.MoveNext() at System.Threading.Tasks.ValueTask1.get_Result() at System.Runtime.CompilerServices.ValueTaskAwaiter1.GetResult() at Microsoft.AspNetCore.Components.Server.Circuits.RemoteJSDataStream.<ReadAsync>d__36.MoveNext() at System.Threading.Tasks.ValueTask1.get_Result() at System.Runtime.CompilerServices.ValueTaskAwaiter1.GetResult() at Microsoft.AspNetCore.Components.Forms.BrowserFileStream.<CopyFileDataIntoBuffer>d__30.MoveNext() at System.Threading.Tasks.ValueTask1.get_Result() at System.Runtime.CompilerServices.ValueTaskAwaiter`1.GetResult() at Microsoft.AspNetCore.Components.Forms.BrowserFileStream.

  • Steps to reproduce the issue:"

  • Create a new solution. Copy FileUpload1 from microsoft page (https://learn.microsoft.com/en-us/aspnet/core/blazor/file-uploads?source=recommendations&view=aspnetcore-7.0&pivots=server)

  • Run the project and try to upload a file

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