Activities of "EngincanV"

Did you also change the _configuration.GetConnectionString("Default") to _configuration.GetConnectionString("<user-secret-key>")?

protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
    {
        if (!optionsBuilder.IsConfigured) 
            optionsBuilder.UseSqlServer(_configuration.GetConnectionString("<user-secret-key>"));
    }

Also, there are some community articles to show how you can replace the current template with a new one. There might be helpful for you.

Hi, I guess you are storing your connection string as a user secret. Can you replace the Default keyword with your user secret key on your ConnectionStringName attribute?

It's defined top of your DbContext class:

[ConnectionStringName("<user-secret-key>")]
public class MyProjectNameDbContext {}

Hi, can you check your production environment settings are correct or not?

You can open the Environment.js and check the prod section. Please, ensure your apiUrl and issuer is correct and point to the backend server on production.

Hi @LinchArnold, we've created an internal issue (#9763) for this problem and will fix it asap. Therefore, I close the question.

Best regards.

Hi @adrianl, this was a known problem and fixed in the v5.2 version. You can upgrade your project to v5.2 and try it.

There is only one restriction for now, after renaming the role you need to re-login.

We've also created an issue (#8620) for this restriction and aim to fix it in v6.0.

Hi @Mikael, I close the question since we've created an internal issue for this problem and will take the necessary action for it. Thanks for reporting the problem.

Best regards.

Hi @cezary.bojko, is your problem resolved? Can we close the question?

Hi, v5.1 was a minor feature release and there were not any breaking changes except for the Angular UI upgrade (ABP v5.1 startup templates use Angular 13). Therefore, we didn't write any migration guide for v5.0 to v5.1 upgrade.

You can read the ABP.IO Platform v5.1 Has Been Released blog post to see what's new in v5.1.

Best regards.

Hi, I suggest you to upgrade version by version to prevent possible problems.

Showing 1111 to 1120 of 1343 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 12, 2025, 10:20