Open Closed

Cannot read the template Volo.Abp.Commercial.SuiteTemplates.Templates.Server.Domain.Manager.txt #2910


User avatar
0
HenkP created
  • ABP Framework version: v5.2.0
  • UI type: Angular
  • DB provider: EF Core
  • ** Angular): Yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Getting errors when i generate the crud page.

All ready deinstalled the cli and suite. Reinstall Cli and Suite but the same error

This is the log of C:\Users\admhp.abp\suite\logs

2022-04-14 13:43:38.415 +02:00 [INF] 1/7 - EntityGenerateCommand started... 2022-04-14 13:43:40.630 +02:00 [INF] 1/7 - EntityGenerateCommand completed. | Duration: 2214 ms. 2022-04-14 13:43:40.631 +02:00 [INF] 2/7 - RepositoryCommand started... 2022-04-14 13:43:41.420 +02:00 [INF] 2/7 - RepositoryCommand completed. | Duration: 789 ms. 2022-04-14 13:43:41.420 +02:00 [INF] 3/7 - ManagerCommand started... 2022-04-14 13:43:41.434 +02:00 [WRN] ---------- RemoteServiceErrorInfo ---------- { "code": null, "message": "Cannot read the template Volo.Abp.Commercial.SuiteTemplates.Templates.Server.Domain.Manager.txt", "details": null, "data": {}, "validationErrors": null }

2022-04-14 13:43:41.434 +02:00 [WRN] Cannot read the template Volo.Abp.Commercial.SuiteTemplates.Templates.Server.Domain.Manager.txt Volo.Abp.UserFriendlyException: Cannot read the template Volo.Abp.Commercial.SuiteTemplates.Templates.Server.Domain.Manager.txt at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Services.TemplateService.ReadFromTemplateAsync(String relativeResourceName, CrudPageCommandOptions options, String defaultValue) at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Services.TemplateService.PopulateTemplateAsync(String relativeResourceName, CrudPageCommandOptions options) at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.ManagerCommand.e5ujFnlaTq() at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.ManagerCommand.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) at Volo.Abp.Suite.Controllers.CrudPageGeneratorController.SaveAndGenerateEntityAsync(Guid solutionId, EntityModel entity) at lambda_method1804(Closure , Object ) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.


1 Answer(s)
  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Hi, please check this answer and apply the changes suggested in the answer. It should solve your problem.

    Best Regards.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09