ok the problem is "mhd_hmz" user is assigned to your inactive organization "Projile" and you are using "Projile Corporation". we added the user "mhd_hmz" to the "Projile Corporation" organization
try the command and it will work
abp login mhd_hmz -p <your-password>
There's a stream support for the application services. Is that what you are looking for https://docs.abp.io/en/abp/latest/Application-Services#working-with-streams ?
is it recreating everything or just menu item? is that happening on v4.3.3?
there's a workaround for this issue.
Open YourMicroserviceSolution.IdentityService.EntityFrameworkCore.csproj
project file and delete the <PrivateAssets>all</PrivateAssets>
section. This will solve the version conflict.
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<RootNamespace>MyAngulaarMicroservice.IdentityService</RootNamespace>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="5.0.*">
<!-- delete this -->
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Volo.Abp.EntityFrameworkCore.SqlServer" Version="4.3.2" />
<PackageReference Include="Volo.Abp.Identity.Pro.EntityFrameworkCore" Version="4.3.2" />
<PackageReference Include="Volo.Abp.IdentityServer.EntityFrameworkCore" Version="4.3.2" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MyAngulaarMicroservice.IdentityService.Domain\MyAngulaarMicroservice.IdentityService.Domain.csproj" />
</ItemGroup>
</Project>
Install the latest .NET Core SDK
https://dotnet.microsoft.com/download/dotnet/5.0
check out :
Are you generating code for Account.Pro ?
By the way, for those who wants to persist IDS protection keys to the database to prevent cookie invalidation after server restart, follow the steps below:
YourProjectAccountWebModule.cs
context.Services.AddDataProtection().PersistKeysToDbContext<AbpIoDbContext>();
YourProjectDbContextModelCreatingExtensions.cs
builder.Entity<DataProtectionKey>(b =>
{
b.ToTable(AbpIoDbContext.DbTablePrefix + "DataProtectionKeys");
b.HasKey(x => x.Id);
b.Property(x => x.FriendlyName);
b.Property(x => x.Xml);
});
DbContext:
public class YourDbContext : AbpDbContext<YourDbContext>, IDataProtectionKeyContext
{
public DbSet<DataProtectionKey> DataProtectionKeys { get; set; }
}
Add migration > Update database
https://docs.microsoft.com/en-us/aspnet/core/security/data-protection/configuration/default-settings?view=aspnetcore-5.0#key-lifetime
Run the following command:
dotnet nuget locals --clear http-cache
See the related issue https://github.com/NuGet/Home/issues/5445
See https://gist.github.com/ebicoglu/543928d2dec68ce4fc0ddf25b8e39bac