Skip to content

DuplicateRoleName #5

@Recoil1980

Description

@Recoil1980

When I run the code I get the following 3 warn messages in the console window:

warn: Microsoft.AspNetCore.Identity.RoleManager[0] Role d1a5e1d1-e9ff-42e7-b89e-39ef19ece392 validation failed: DuplicateRoleName.

info: Microsoft.EntityFrameworkCore.Database.Command[20101] Executed DbCommand (2ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [r].[Id], [r].[ConcurrencyStamp], [r].[Name], [r].[NormalizedName] FROM [Identity].[Role] AS [r] WHERE [r].[NormalizedName] = @__normalizedName_0

warn: Microsoft.AspNetCore.Identity.RoleManager[0] Role b1a02385-2d17-44d2-bdfc-9e22137ab9f7 validation failed: DuplicateRoleName.

info: Microsoft.EntityFrameworkCore.Database.Command[20101] Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [r].[Id], [r].[ConcurrencyStamp], [r].[Name], [r].[NormalizedName] FROM [Identity].[Role] AS [r] WHERE [r].[NormalizedName] = @__normalizedName_0

warn: Microsoft.AspNetCore.Identity.RoleManager[0] Role d680aba5-5ce0-4889-8ec3-35ec64b6a0c9 validation failed: DuplicateRoleName.

I'm new to Blazor, so not sure where the names are being duplicated at, or where to prevent this from happening.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions