Open Closed

abp suite create module crud page failed #54


User avatar
0
trendline created

When using abp suite create crud pages for a module template, it seems missed the Permissions.cs file. it failed with below logs:

2020-03-09 04:05:38.166 +08:00 [INF] 4/9 - ProxyControllerCommand completed.                   | Duration: 10 ms.
2020-03-09 04:05:38.166 +08:00 [INF] 5/9 - PermissionCommand started...
2020-03-09 04:05:38.167 +08:00 [WRN] ---------- RemoteServiceErrorInfo ----------
2020-03-09 04:05:38.167 +08:00 [WRN] {
  "code": "Cannot find Permissions.cs",
  "message": "An internal error occurred during your request!",
  "details": null,
  "validationErrors": null
}
2020-03-09 04:05:38.167 +08:00 [WRN] Exception of type 'Volo.Abp.BusinessException' was thrown.
Volo.Abp.BusinessException: Exception of type 'Volo.Abp.BusinessException' was thrown.
   at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.PermissionCommand.EqKcdt4xe9()
   at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.PermissionCommand.hXQc5gQJvB()
   at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.PermissionCommand.ExecuteAsync(CrudPageCommandOptions options)
   at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.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(String solutionName, EntityModel entity)
   at lambda_method(Closure , Object )
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 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()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2020-03-09 04:05:38.168 +08:00 [WRN] Code:Cannot find Permissions.cs```

3 Answer(s)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 13, 2025, 04:08