Hi, I guess this problem is related to VS2021, if you use VS2021 as IDE can you try to run the project from CLI (dotnet run)?
Hi @MarturAbpUser, I've checked your organization and it seems your account was not added as a developer. I've added you as a developer to your organization. Can you try again to login? Btw, your credit has been refunded!
Hi, I've checked your organization and everything seems alright, can you be sure about your password? (and specify your organization name as "Martur")
ABP Problem.png
Hi @MarturAbpUser, it seems you've logged in without specifying the organization. This problem occurred because, in the above image there is not any organization information.)
Can you apply the below steps and then re-try to download the template again:
abp logout
abp login <username> -p <password> -o <organization>
It seems your project on localhost:44393 is not running therefore it could not send any HTTP request. Please ensure the project on localhost:44393 is running and try again.
Please check the appsettings.secrets.json file is exists in the directory of your web project and the file has a section named AbpLicenseCode:
{
"AbpLicenseCode": "<your-license-code>"
}
Program.cs file and check the .AddAppSettingsSecretsJson() is used in the main method:public class Program
{
public async static Task<int> Main(string[] args)
{
//logging configurations ...
try
{
Log.Information("Starting web host.");
var builder = WebApplication.CreateBuilder(args);
builder.Host
.AddAppSettingsSecretsJson() //ensure this line is exist
.UseAutofac()
.UseSerilog();
//...
}
//...
}
}
Not sure why but after having reinstalled Visual Studio, the migration problem seemed to go away.
It's nice to hear the DB context problem is fixed.
We never really bothered with angular for this sample, but it seems it is using Angular 11 in the samples so I guess it hasn't been updated in a while.
Todo App sample is in the v5.0.0 right now, we try to keep our samples up to date and we usually update our samples after the stable releases. Thanks for your suggestion, we'll upgrade it asap.
Hi @vincent.goh, have you tried it?
Hi @mukremin, I've created an application with v5.1.4 and successfully generate CRUD pages so i could not reproduce your problem.
Can you check does your *.domain project has a reference to the Volo.Abp.Commercial.SuiteTemplates package?
If not, please add and rebuild your project. You can follow the below steps:
*.Domain.csproj,<ItemGroup>
<PackageReference Include="Volo.Abp.Commercial.SuiteTemplates" Version="5.1.4" />
</ItemGroup>
*DomainModule class:using Volo.Abp.Commercial.SuiteTemplates;
[DependsOn(
//... other modules ...
typeof(VoloAbpCommercialSuiteTemplatesModule), //add this line
)]
public class MyAppDomainModule : AbpModule
{
}
Rebuild your application and try to generate CRUD pages, it should work.
Hi @improwise, I've just created an angular application and followed the steps that you've provided, but I didn't get any error and I could successfully create a migration even without specifying -Context parameter on Package Manager Console.
And also I could successfully run the Angular side by following the documentation.
Did you upgrade your application to v5.1.4 and what is your ng version?