Activities of "igomez"

not sure why this is closed, reopening...

Running in the terminal the proposed steps:

Reproduce the exact migration command locally to see the full error

  1. Open a terminal
  2. cd /d C:\Users\alutel\Documents\Projects\Aludoc\src\Aludoc.EntityFrameworkCore
  3. Run: dotnet ef migrations add Added_Company --startup-project ../Aludoc.HttpApi.Host --output-dir Migrations --context AludocDbContext

Gives the following error, and not sure what to do

Steps:

  1. My solution in Visual Studio builds and runs smoothly
  2. I open ABP Suite to update an entity
  3. Clic on Save and Generate
  4. It gives me a build error

Side note: All existing entities in the solution were created using ABP Suite.

log: === ENTITY GENERATION STARTED ===

  • SOLUTION:
  • ENTITY:{ "Id": "6153e59d-0697-420a-b3d2-ef12835bbeb2", "Name": "Company", "OriginalName": "Company", "NamePlural": "Companies", "DatabaseTableName": "Companies", "Namespace": "Companies", "Type": 1, "MasterEntityName": null, "MasterEntity": null, "BaseClass": "FullAuditedAggregateRoot", "PageTitle": "Companies", "MenuIcon": "building", "PrimaryKeyType": "Guid", "PreserveCustomCode": true, "IsMultiTenant": true, "CheckConcurrency": true, "BulkDeleteEnabled": true, "ShouldCreateUserInterface": true, "ShouldCreateBackend": true, "ShouldExportExcel": true, "ShouldAddMigration": true, "ShouldUpdateDatabase": true, "CreateTests": true, "Properties": [ { "Id": "81d0bf6f-89cb-4c05-9d5b-6c31d03a91a2", "Name": "LegalName", "Type": "string", "EnumType": "", "EnumNamespace": "", "EnumAngularImport": "shared/enums", "EnumFilePath": null, "DefaultValue": null, "IsNullable": false, "IsRequired": true, "IsFilterable": true, "AllowEmptyStrings": false, "IsTextArea": false, "MinLength": null, "MaxLength": null, "SortOrder": 1, "SortType": 1, "Regex": "", "EmailValidation": false, "ShowOnList": true, "ShowOnCreateModal": true, "ShowOnEditModal": true, "ReadonlyOnEditModal": false, "EnumValues": null, "IsSelected": true, "MaxFileSize": null, "OrdinalIndex": 0 }, { "Id": "6ce2b2b5-6ce1-4d94-949c-f0cfb8518a40", "Name": "FantasyName", "Type": "string", "EnumType": "", "EnumNamespace": "", "EnumAngularImport": "shared/enums", "EnumFilePath": null, "DefaultValue": null, "IsNullable": false, "IsRequired": false, "IsFilterable": true, "AllowEmptyStrings": false, "IsTextArea": false, "MinLength": null, "MaxLength": null, "SortOrder": 0, "SortType": 0, "Regex": "", "EmailValidation": false, "ShowOnList": true, "ShowOnCreateModal": true, "ShowOnEditModal": true, "ReadonlyOnEditModal": false, "EnumValues": null, "IsSelected": true, "MaxFileSize": null, "OrdinalIndex": 0 }, { "Id": "f516fe56-ef5c-483b-8a6f-a0cbf213ba06", "Name": "Active", "Type": "bool", "EnumType": "", "EnumNamespace": "", "EnumAngularImport": "shared/enums", "EnumFilePath": null, "DefaultValue": "true", "IsNullable": false, "IsRequired": false, "IsFilterable": true, "AllowEmptyStrings": false, "IsTextArea": false, "MinLength": null, "MaxLength": null, "SortOrder": 0, "SortType": 0, "Regex": "", "EmailValidation": false, "ShowOnList": true, "ShowOnCreateModal": true, "ShowOnEditModal": true, "ReadonlyOnEditModal": false, "EnumValues": null, "IsSelected": true, "MaxFileSize": null, "OrdinalIndex": 0 }, { "Id": "47b5a76e-f6cf-4442-90ef-0196cbc60339", "Name": "Notes", "Type": "string", "EnumType": "", "EnumNamespace": "", "EnumAngularImport": "shared/enums", "EnumFilePath": null, "DefaultValue": null, "IsNullable": false, "IsRequired": false, "IsFilterable": true, "AllowEmptyStrings": false, "IsTextArea": true, "MinLength": null, "MaxLength": null, "SortOrder": 0, "SortType": 0, "Regex": "", "EmailValidation": false, "ShowOnList": true, "ShowOnCreateModal": true, "ShowOnEditModal": true, "ReadonlyOnEditModal": false, "EnumValues": null, "IsSelected": true, "MaxFileSize": null, "OrdinalIndex": 0 }, { "Id": "c64baad8-3fa5-4694-ab6e-47cdee63fe2a", "Name": "Address", "Type": "string", "EnumType": "", "EnumNamespace": "", "EnumAngularImport": "shared/enums", "EnumFilePath": null, "DefaultValue": null, "IsNullable": false, "IsRequired": false, "IsFilterable": false, "AllowEmptyStrings": false, "IsTextArea": false, "MinLength": null, "MaxLength": null, "SortOrder": 0, "SortType": 0, "Regex": "", "EmailValidation": false, "ShowOnList": false, "ShowOnCreateModal": true, "ShowOnEditModal": true, "ReadonlyOnEditModal": false, "EnumValues": null, "IsSelected": true, "MaxFileSize": null, "OrdinalIndex": 0 }, { "Id": "d9a31f0b-88e3-41b0-9104-9da3ba7d20e9", "Name": "Phone", "Type": "short", "EnumType": "", "EnumNamespace": "", "EnumAngularImport": "shared/enums", "EnumFilePath": null, "DefaultValue": null, "IsNullable": false, "IsRequired": false, "IsFilterable": false, "AllowEmptyStrings": false, "IsTextArea": false, "MinLength": null, "MaxLength": null, "SortOrder": 0, "SortType": 0, "Regex": "", "EmailValidation": false, "ShowOnList": false, "ShowOnCreateModal": true, "ShowOnEditModal": true, "ReadonlyOnEditModal": false, "EnumValues": null, "IsSelected": true, "MaxFileSize": null, "OrdinalIndex": 0 }, { "Id": "96e2bd57-988d-42f5-a8ff-52e3bfb53af9", "Name": "Website", "Type": "string", "EnumType": "", "EnumNamespace": "", "EnumAngularImport": "shared/enums", "EnumFilePath": null, "DefaultValue": null, "IsNullable": false, "IsRequired": false, "IsFilterable": false, "AllowEmptyStrings": false, "IsTextArea": false, "MinLength": null, "MaxLength": null, "SortOrder": 0, "SortType": 0, "Regex": "", "EmailValidation": false, "ShowOnList": true, "ShowOnCreateModal": true, "ShowOnEditModal": true, "ReadonlyOnEditModal": false, "EnumValues": null, "IsSelected": true, "MaxFileSize": null, "OrdinalIndex": 0 }, { "Id": "c12a6e5c-7df6-42ca-a8d9-f38ee41d7a2f", "Name": "TaxId", "Type": "string", "EnumType": "", "EnumNamespace": "", "EnumAngularImport": "shared/enums", "EnumFilePath": null, "DefaultValue": null, "IsNullable": false, "IsRequired": true, "IsFilterable": true, "AllowEmptyStrings": false, "IsTextArea": false, "MinLength": null, "MaxLength": 128, "SortOrder": 0, "SortType": 0, "Regex": "", "EmailValidation": false, "ShowOnList": true, "ShowOnCreateModal": true, "ShowOnEditModal": true, "ReadonlyOnEditModal": false, "EnumValues": null, "IsSelected": true, "MaxFileSize": null, "OrdinalIndex": 0 }, { "Id": "44d07594-35f5-480d-8593-e665f6b4f9ab", "Name": "TaxIdType", "Type": "enum", "EnumType": "TaxIdType", "EnumNamespace": "Aludoc.Companies", "EnumAngularImport": "shared/enums/tax-id-type", "EnumFilePath": "/src/Aludoc.Domain.Shared/Companies/TaxIdType.cs", "DefaultValue": null, "IsNullable": false, "IsRequired": false, "IsFilterable": true, "AllowEmptyStrings": false, "IsTextArea": false, "MinLength": null, "MaxLength": null, "SortOrder": 0, "SortType": 0, "Regex": "", "EmailValidation": false, "ShowOnList": true, "ShowOnCreateModal": true, "ShowOnEditModal": true, "ReadonlyOnEditModal": false, "EnumValues": { "RUT_UY": 0, "CUIT_AR": 1, "CNPJ_BR": 2, "RUC_PY": 3, "RUC_PE": 4, "EIN_US": 10, "VAT_EU": 20, "Other": 99 }, "IsSelected": true, "MaxFileSize": null, "OrdinalIndex": 0 }, { "Id": "df65a053-5b68-497c-b576-7cb314b532ea", "Name": "LegalRepresentativeFullName", "Type": "string", "EnumType": "", "EnumNamespace": "", "EnumAngularImport": "shared/enums", "EnumFilePath": null, "DefaultValue": null, "IsNullable": false, "IsRequired": false, "IsFilterable": true, "AllowEmptyStrings": false, "IsTextArea": false, "MinLength": null, "MaxLength": 512, "SortOrder": 0, "SortType": 0, "Regex": "", "EmailValidation": false, "ShowOnList": true, "ShowOnCreateModal": true, "ShowOnEditModal": true, "ReadonlyOnEditModal": false, "EnumValues": null, "IsSelected": true, "MaxFileSize": null, "OrdinalIndex": 0 } ], "NavigationProperties": [], "NavigationConnections": [], "ChildEntities": [], "PhysicalFileName": "Company.json" }

2025-12-12 14:40:34.833 +00:00 [INF] 1/13 - EntityGenerateCommand started... 2025-12-12 14:40:35.273 +00:00 [INF] Request starting HTTP/1.1 GET http://localhost:3000/Themes/Lepton/Global/assets/fonts/poppins-v6-latin-700.woff2 - null null 2025-12-12 14:40:35.274 +00:00 [INF] Sending file. Request path: '/Themes/Lepton/Global/assets/fonts/poppins-v6-latin-700.woff2'. Physical path: 'N/A' 2025-12-12 14:40:35.274 +00:00 [INF] Request finished HTTP/1.1 GET http://localhost:3000/Themes/Lepton/Global/assets/fonts/poppins-v6-latin-700.woff2 - 200 7924 font/woff2 1.6356ms 2025-12-12 14:40:54.732 +00:00 [INF] 1/13 - EntityGenerateCommand completed. | Duration: 19768 ms. 2025-12-12 14:40:54.747 +00:00 [INF] 2/13 - RepositoryCommand started... 2025-12-12 14:40:56.617 +00:00 [INF] 2/13 - RepositoryCommand completed. | Duration: 1869 ms. 2025-12-12 14:40:56.617 +00:00 [INF] 3/13 - ManagerCommand started... 2025-12-12 14:40:57.942 +00:00 [INF] 3/13 - ManagerCommand completed. | Duration: 1324 ms. 2025-12-12 14:40:57.942 +00:00 [INF] 4/13 - AppServiceCommand started... 2025-12-12 14:41:42.420 +00:00 [INF] 4/13 - AppServiceCommand completed. | Duration: 44474 ms. 2025-12-12 14:41:42.420 +00:00 [INF] 5/13 - ProxyControllerCommand started... 2025-12-12 14:41:42.994 +00:00 [INF] 5/13 - ProxyControllerCommand completed. | Duration: 573 ms. 2025-12-12 14:41:42.994 +00:00 [INF] 6/13 - PermissionCommand started... 2025-12-12 14:41:43.517 +00:00 [INF] 6/13 - PermissionCommand completed. | Duration: 523 ms. 2025-12-12 14:41:43.517 +00:00 [INF] 7/13 - ApplicationObjectMappingCommand started... 2025-12-12 14:41:44.298 +00:00 [INF] 7/13 - ApplicationObjectMappingCommand completed. | Duration: 780 ms. 2025-12-12 14:41:44.338 +00:00 [INF] 8/13 - UnitTestCommandCommand started... 2025-12-12 14:41:45.682 +00:00 [INF] 8/13 - UnitTestCommandCommand completed. | Duration: 1343 ms. 2025-12-12 14:41:45.683 +00:00 [INF] 9/13 - GenerateProxyCommand started... 2025-12-12 14:41:45.845 +00:00 [INF] 9/13 - GenerateProxyCommand completed. | Duration: 162 ms. 2025-12-12 14:41:45.845 +00:00 [INF] 10/13 - BlazorUiGenerateCommand started... 2025-12-12 14:41:51.093 +00:00 [INF] 10/13 - BlazorUiGenerateCommand completed. | Duration: 5246 ms. 2025-12-12 14:41:51.096 +00:00 [INF] 11/13 - BlazorObjectMappingCommand started... 2025-12-12 14:41:52.248 +00:00 [INF] 11/13 - BlazorObjectMappingCommand completed. | Duration: 1151 ms. 2025-12-12 14:41:52.248 +00:00 [INF] 12/13 - BlazorMenuContributorCommand started... 2025-12-12 14:41:53.213 +00:00 [INF] 12/13 - BlazorMenuContributorCommand completed. | Duration: 964 ms. 2025-12-12 14:41:53.213 +00:00 [INF] 13/13 - DbMigrationCommand started... 2025-12-12 14:41:53.217 +00:00 [INF] Adding new migration... 2025-12-12 14:41:53.218 +00:00 [INF] cd /d "C:\Users\alutel\Documents\Projects\Aludoc\src\Aludoc.EntityFrameworkCore" && dotnet ef migrations add Added_Company --startup-project ../Aludoc.HttpApi.Host --output-dir Migrations --context AludocDbContext 2025-12-12 14:46:53.626 +00:00 [INF] Build started...

2025-12-12 14:46:53.873 +00:00 [WRN] ---------- RemoteServiceErrorInfo ---------- { "code": null, "message": "Error occurred on DB migration step: Build started...\r\n", "details": null, "data": {}, "validationErrors": null }

2025-12-12 14:46:53.874 +00:00 [WRN] Error occurred on DB migration step: Build started...

Volo.Abp.UserFriendlyException: Error occurred on DB migration step: Build started...

at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.DbMigrationCommand.ExecuteAsync(CrudPageCommandOptions options) at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.CommandManager.ExecuteAllAsync(CrudPageCommandOptions options) at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.CrudPageGenerator.GenerateAsync(EntityModel entity, Solution solution, EntityModel masterEntity, List1 navigationConnections) at Volo.Abp.Suite.Controllers.CrudPageGeneratorController.SaveAndGenerateEntityAsync(Guid solutionId, EntityModel entity) at lambda_method2069(Closure, Object) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) 2025-12-12 14:46:54.013 +00:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'. 2025-12-12 14:46:54.017 +00:00 [INF] Executed action Volo.Abp.Suite.Controllers.CrudPageGeneratorController.SaveAndGenerateEntityAsync (Volo.Abp.Suite) in 401755.9487ms 2025-12-12 14:46:54.017 +00:00 [INF] Executed endpoint 'Volo.Abp.Suite.Controllers.CrudPageGeneratorController.SaveAndGenerateEntityAsync (Volo.Abp.Suite)' 2025-12-12 14:46:54.017 +00:00 [INF] Request finished HTTP/1.1 POST http://localhost:3000/api/abpSuite/crudPageGenerator/31eaa69a-80b8-497d-9104-fb9cb8f9e30f/save-and-generate-entity - 403 null application/json; charset=utf-8 401811.155ms

Showing 1 to 3 of 3 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 12, 2025, 10:36
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.