Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
We are working on the ESLA 2 Workflow integration - it works so far - but we have an issue with ESLA 2 Workflow Designer UI We have a Cross origins issue error. We tried "AllowedHosts": "*" - see below. Any idea?
{
"Logging": { "LogLevel": { "Default": "Information", "Microsoft": "Warning", "Microsoft.Hosting.Lifetime": "Information" } }, "Elsa": { "Server": { "BaseUrl": http://localhost:5001 } }, "Smtp": { "Host": "smtpserver.domainname", "Port": "25", "DefaultSender": [email protected] }, "AllowedHosts": "*" }
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
Please provide a tutorial for Elsa 2 Integration for Angluar and .NET CORE ASPZERO Solution (as you did for MVC) - it's urgent request - thanks!
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
I try to publish the angular and wep api porject in two separate virtuell diretories instead own websites - is this possible - currently I don't get it up and running. The api .NET CORE throws http error 404 - not found
Any idea?
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
I try to create user from backend with code automatically - and assign to default role.
Is this correkt like this?
Thanks for a hint - currently it seems not working. ( result = await _userManager.SetRolesAsync(user, role);)
//get Employee role value for existing & create new if not existing
IQueryable<Role> query = _roleManager.Roles;
Role roleExists = GetRole(query);
string roleName="";
if (roleExists != null)
{
try
{
roleName = query.ToList().FirstOrDefault(x => x.IsDefault == true).Name;
Logger.Info("roleName = query.ToList().FirstOrDefault(x => x.IsDefault == true).Name");
}
catch(Exception ex)
{
Logger.Error(ex.Message.ToString());
}
}
else
{
Role newRole = new Role(tenantId, "Employee") { IsDefault = false, Name = "Employee" };
CheckErrors(await _roleManager.CreateAsync(newRole));
await CurrentUnitOfWork.SaveChangesAsync();
roleExists = GetRole(query);
roleName = roleExists.Name;
Logger.Info("Role newRole = new Role(tenantId");
}
string[] role = new string[] { roleName };
result = await _userManager.SetRolesAsync(user, role);
Logger.Info("await _userManager.SetRolesAsync(user, role)");
if (!result.Succeeded)
{
throw new UserFriendlyException(L("UserRollNotAssigned"));
}
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
I'm getting an error suddenly - it was all working. now today I'm getting:
Access to XMLHttpRequest at 'https://XXX/AbpUserConfiguration/GetAll?d=1640081097099' from origin 'https://https://XXX' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. dp1-webapi.pli-solutions.de/AbpUserConfiguration/GetAll?d=1640081097099:1 Failed to load resource: net::ERR_FAILED contentscript.bundle.js:85 successfully updated user preferred location DevTools failed to load source map: Could not load content for https://dp1.pli-solutions.de/assets/common/min-maps/vs/loader.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
Hi, nswag - refresh bat stopped working - with error node_modules\nswag\bin\nswag.js:66:11 ..
I do not any idea how to find out the real problem of the error - is there any deeper logging to see a real error meesage - what causes the problem?
C:\TFSASPZERO\src\WFMOne.Web.Host\nswag>"..\node_modules.bin\nswag" run NSwag NPM CLI NSwag command line tool for .NET Core NetCore21, toolchain v13.15.5.0 (NJsonSchema v10.6.6.0 (Newtonsoft.Json v11.0.0.0)) Visit http://NSwag.org for more information. NSwag bin directory: C:\TFSASPZERO\src\WFMOne.Web.Host\node_modules\nswag\bin\binaries\NetCore21
Executing file 'C:\TFSASPZERO\src\WFMOne.Web.Host\nswag\service.config.nswag' with variables ''... System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error). at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode() at CallSite.Target(Closure , CallSite , Object ) at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid1[T0](CallSite site, T0 arg0) at NJsonSchema.Infrastructure.DynamicApis.HttpGetAsync(String url, CancellationToken cancellationToken) at NSwag.OpenApiDocument.FromUrlAsync(String url, CancellationToken cancellationToken) in //src/NSwag.Core/OpenApiDocument.cs:line 234 at NSwag.Commands.Generation.FromDocumentCommand.RunAsync() in //src/NSwag.Commands/Commands/Generation/FromDocumentCommand.cs:line 62 at NSwag.Commands.Generation.FromDocumentCommand.RunAsync(CommandLineProcessor processor, IConsoleHost host) in //src/NSwag.Commands/Commands/Generation/FromDocumentCommand.cs:line 53 at NSwag.Commands.NSwagDocumentBase.GenerateSwaggerDocumentAsync() in //src/NSwag.Commands/NSwagDocumentBase.cs:line 280 at NSwag.Commands.NSwagDocument.ExecuteAsync() in //src/NSwag.Commands/NSwagDocument.cs:line 81 at NSwag.Commands.Document.ExecuteDocumentCommand.ExecuteDocumentAsync(IConsoleHost host, String filePath) in //src/NSwag.Commands/Commands/Document/ExecuteDocumentCommand.cs:line 85 at NSwag.Commands.Document.ExecuteDocumentCommand.RunAsync(CommandLineProcessor processor, IConsoleHost host) in //src/NSwag.Commands/Commands/Document/ExecuteDocumentCommand.cs:line 48 at NConsole.CommandLineProcessor.ProcessSingleAsync(String[] args, Object input) at NConsole.CommandLineProcessor.ProcessAsync(String[] args, Object input) at NSwag.Commands.NSwagCommandProcessor.ProcessAsync(String[] args) in //src/NSwag.Commands/NSwagCommandProcessor.cs:line 61child_process.js:669 throw err; ^
Error: Command failed: dotnet "C:\TFSASPZERO\src\WFMOne.Web.Host\node_modules\nswag\bin/binaries/NetCore21/dotnet-nswag.dll" run at checkExecSyncError (child_process.js:630:11) at Object.execSync (child_process.js:666:15) at C:\TFSASPZERO\src\WFMOne.Web.Host\node_modules\nswag\bin\nswag.js:66:11 at ChildProcess.exithandler (child_process.js:294:7) at ChildProcess.emit (events.js:315:20) at maybeClose (internal/child_process.js:1021:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5) { status: 4294967295, signal: null, output: [ null, null, null ], pid: 55712, stdout: null, stderr: null }
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
I try to download ElsaDemo example code, but with below link I get a 404 page not found error.
https://github.com/aspnetzero/aspnet-zero-samples/tree/master/ElsaDemo
What I'm doing wrong?
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
We try to do ELSA integration into MVC project - with your tutorial - but getting console errors failed to load - see attached photo. How to solve that? thanks
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
Hi, I published the public site from VS, but layout is destroyed - seems to be some CSS not coming along - how to fix that?
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
We try to integrate DevExpress Reporting into ASPZERO - but with no luck We folowed this guide https://docs.aspnetzero.com/en/aspnet-core-angular/latest/DevExpress-Reporting-Implementation-Angular
We get this error: We try it with test version for 30-Days of DevExpress Error: node_modules/devexpress-reporting-angular/dx-report-viewer/dx-report-viewer.component.d.ts:13:22 - error NG6002: Appears in the NgModule.imports of SampleReportModule, but could not be resolved to an NgModule class.
This likely means that the library (devexpress-reporting-angular) which declares DxReportViewerComponent has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.
After npm start ; yarn.lock node_modules deleted and yarn made