Activities of "berkansasmaz"

Try abp install-libs

https://github.com/abpframework/abp/blob/dev/docs/en/Migration-Guides/Abp-5-0-MVC.md#use-install-libs-by-default

Answer

Maybe the reason it is because the Redis server is not run or improper Redis configuration while using the AbpCachingStackExchangeRedisModule module.

Can you check if the Redis server is running? https://stackoverflow.com/a/69371513/9922629

Hi 👋

See https://support.abp.io/QA/Questions/1916/How-to-Restrict-user-to-multiple-login-session#answer-a5392899-3f74-435d-f4cf-39ff3cf43ae2

That's why I'm closing this issue. Feel free to re-open or create a new issue if you have further questions.

You can use the UseAbpSecurityHeaders middleware.

app.UseAbpSecurityHeaders();

In addition to this, this article may also be of use to you.

In the MyProjectName.EntityFrameworkCore project, it worked for me when I put it at the beginning of the OnModelCreating method in the MyProjectNameDbContext.

You can see the generated migration code from the image below when I create a new migration for new table prefix.

AbpPermissionManagementDbProperties.DbTablePrefix = "NewPrefix"

Can you try this code?

2021-12-30 11:36:21.976 +10:00 [WRN] ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script 
StackExchange.Redis.RedisServerException: ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script 
   at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.SetAsync(String key, Byte[] value, DistributedCacheEntryOptions options, CancellationToken token)
   at Volo.Abp.Caching.DistributedCache`2.<>c__DisplayClass51_0.<<SetAsync>g__SetRealCache|0>d.MoveNext()
2021-12-30 11:36:21.977 +10:00 [WRN] Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration.

I think the problem is caused by your Redis server.

But just to be sure, I downloaded and tested the template below.

abp new TestBszTiered -t app-pro -u blazor-server --database-provider mongodb -csf --tiered

PS: ABP CLI tool version: 5.0.1

After a little research, I found a resource that had the same problem as you, maybe it will help => https://github.com/StackExchange/StackExchange.Redis/issues/1904#issuecomment-982500351

Yes, mandatory, if the application uses ABP 5.0.*'s packages, Volo.Abp.EntityFrameworkCore.Oracle package should also have 5.0.* version.

As you may have noticed, we are getting this error right now because of the Volo.Abp.EntityFrameworkCore.Oracle package is not available for ABP 5.0.* .

Let's leave this issue open if you want so you can reply after the package is available for ABP 5.0.* ?

Hi 👋

Volo.Abp.EntityFrameworkCore.Oracle is not currently available for ABP 5.0. It will probably be available in the next version.

I have two questions:

  1. Do you get an error when you run YourProjectName.DbMigrator project after successfully running the dotnet ef migrations add ... command?
  2. Do you get the error only when using the Oracle database in ABP 5.0?
Showing 181 to 190 of 267 entries
Made with ❤️ on ABP v9.1.0-rc.1. Updated on January 17, 2025, 14:13