Hi,
After updating to 2.1.1, I get an error when opening an existing solution. Here the logfile extract
2020-02-27 16:58:00.989 +01:00 [INF] Request starting HTTP/1.1 GET http://localhost:3000/api/abpSuite/solutions/My.Project/is-built application/json
2020-02-27 16:58:00.989 +01:00 [INF] Executing endpoint 'Volo.Abp.Suite.Controllers.AbpSuiteController.IsSolutionBuiltAsync (Volo.Abp.Suite)'
2020-02-27 16:58:00.990 +01:00 [INF] Route matched with {action = "IsSolutionBuilt", controller = "AbpSuite", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[System.Boolean] IsSolutionBuiltAsync(System.String) on controller Volo.Abp.Suite.Controllers.AbpSuiteController (Volo.Abp.Suite).
2020-02-27 16:58:01.023 +01:00 [ERR] ---------- RemoteServiceErrorInfo ----------
2020-02-27 16:58:01.024 +01:00 [ERR] {
"code": null,
"message": "An internal error occurred during your request!",
"details": null,
"validationErrors": null
}
2020-02-27 16:58:01.025 +01:00 [ERR] Value cannot be null. (Parameter 'path1')
System.ArgumentNullException: Value cannot be null. (Parameter 'path1')
at System.IO.Path.Combine(String path1, String path2)
at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Services.SuiteAssemblyService.AssemblyExists(Solution solution)
at Volo.Abp.Suite.Controllers.AbpSuiteController.IsSolutionBuiltAsync(String solutionName)
at lambda_method(Closure , Object )
at Microsoft.Extensions.Internal.ObjectMethodExecutorAwaitable.Awaiter.GetResult()
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.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.<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-02-27 16:58:01.038 +01:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
2020-02-27 16:58:01.038 +01:00 [INF] Executed action Volo.Abp.Suite.Controllers.AbpSuiteController.IsSolutionBuiltAsync (Volo.Abp.Suite) in 48.5097ms
2020-02-27 16:58:01.038 +01:00 [INF] Executed endpoint 'Volo.Abp.Suite.Controllers.AbpSuiteController.IsSolutionBuiltAsync (Volo.Abp.Suite)'
2020-02-27 16:58:01.038 +01:00 [INF] Request finished in 49.5569ms 500 application/json; charset=utf-8
Best regards,
13 Answer(s)
-
0
Still the same after 2.2.1 update. Any input on this?
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
It is anglar with separated identity-server.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
File sent
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
I've just received your email.
Your UI framework is set as MVC and this is the problem. Please open suite and remove you solution from the list at home page and then add it again. After that, If your problem is not solved, inform me again.
See https://docs.abp.io/en/commercial/latest/abp-suite/add-solution for help.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Adding the solution again did not solve the problem. I changed the UiFramework to "3", UiFrameworkName to "Angular" and added the path to my angular project. No more error.
Is that correct ?
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Yes, the projects are separated
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Then it's pretty normal that suite couldn't find any angular file at the initial location and therefore marked your project as mvc.
Next time;
1-) Download your solution. 2-) Add this solution to suite. 3-) Move your angular project to wherever you want. 4-) Open "%userprofile%.abp\suite\appsettings.json" file and fix the path of the angular folder. (like you did for that issue.)
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hi,
Problem is solved.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)