Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "rbreton"

Question

In some users, the data displayed in the browser is changed to junk data. For example, instead of numbers, it shows letters as seen in the following image. Yellow highlights are junk data...

In the following image is the correct data as seen in other users ...

Please have any idea what the problem is in this case?

Hi,

I create a combo component called "departamentos-combo" however when included in the html generates the following errror, please any idea?...

ERROR Error: Uncaught (in promise): Error: Template parse errors: 'departamento-combo' is not a known element:

  1. If 'departamento-combo' is an Angular component, then verify that it is part of this module.
  2. If 'departamento-combo' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("-3"> <div class="form-group"> [ERROR ->]<departamento-combo name="departamentoFilter" [(ngModel)]="role"></departamento-combo> "): ng:///MainModule/ClientesComponent.html@106:36 Error: Template parse errors: 'departamento-combo' is not a known element:
  3. If 'departamento-combo' is an Angular component, then verify that it is part of this module.
  4. If 'departamento-combo' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("-3"> <div class="form-group"> [ERROR ->]<departamento-combo name="departamentoFilter" [(ngModel)]="role"></departamento-combo> "): ng:///MainModule/ClientesComponent.html@106:36 at syntaxError (compiler.js:2426) at TemplateParser.push../node_modules/@angular/compiler/fesm5/compiler.js.TemplateParser.parse (compiler.js:20600) at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._parseTemplate (compiler.js:26146) at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileTemplate (compiler.js:26133) at compiler.js:26076 at Set.forEach (<anonymous>) at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileComponents (compiler.js:26076) at compiler.js:25986 at Object.then (compiler.js:2417) at JitCompiler.push../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileModuleAndComponents (compiler.js:25985) at resolvePromise (zone.js:831) at resolvePromise (zone.js:788) at zone.js:892 at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:423) at Object.onInvokeTask (core.js:17279) at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:422) at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:195) at drainMicroTaskQueue (zone.js:601) defaultErrorLogger @ core.js:15713 push../node_modules/@angular/core/fesm5/core.js.ErrorHandler.handleError @ core.js:15761 next @ core.js:17760 schedulerFn @ core.js:13504 push../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.__tryOrUnsub @ Subscriber.js:194 push../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.next @ Subscriber.js:132 push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber._next @ Subscriber.js:76 push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next @ Subscriber.js:53 push../node_modules/rxjs/_esm5/internal/Subject.js.Subject.next @ Subject.js:47 push../node_modules/@angular/core/fesm5/core.js.EventEmitter.emit @ core.js:13488 (anonymous) @ core.js:17310 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke @ zone.js:391 push../node_modules/zone.js/dist/zone.js.Zone.run @ zone.js:150 push../node_modules/@angular/core/fesm5/core.js.NgZone.runOutsideAngular @ core.js:17247 onHandleError @ core.js:17310 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.handleError @ zone.js:395 push../node_modules/zone.js/dist/zone.js.Zone.runGuarded @ zone.js:164 _loop_1 @ zone.js:694 api.microtaskDrainDone @ zone.js:703 drainMicroTaskQueue @ zone.js:608 Promise.then (async) scheduleMicroTask @ zone.js:584 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.scheduleTask @ zone.js:413 onScheduleTask @ zone.js:301 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.scheduleTask @ zone.js:404 push../node_modules/zone.js/dist/zone.js.Zone.scheduleTask @ zone.js:238 push../node_modules/zone.js/dist/zone.js.Zone.scheduleMicroTask @ zone.js:258 scheduleResolveOrReject @ zone.js:879 resolvePromise @ zone.js:825 (anonymous) @ zone.js:741 webpackJsonpCallback @ bootstrap:25 (anonymous) @ app-main-main-module.js:1

This is the code that generate the error...

This is the code of the function that populates the combo...

According to the blogs the following code must be included but even so the error persists...

Hi,

I've had a lot of problems with ASP.NET Zero Power Tools, I think I've lost more time than what I'm supposed to save.

Create an entity and it does not allow me to add an enum because it generates an error...

Please, why do these kinds of errors happen and how are they solved?

Hello everyone,

Please an example of how to build an enum by populating the data of a field in a database.

Thanks in advanced.

Hi,

I defined an enum type field, however I can not show the values...

The field TIPO_ELEMENTO is associated with the type TiposElementos

When executed it does not show the assigned names but ...

Please help

Hi every body,

I need to change the image on the right in the login page but I have not found how to do it.

Please any help

Hi,

I am working with ASP.NET Core & Angular and the demo project works well for me, but I have not been able to use the Power Tools.

When creating an entity an error occurs and the project stops working

Please someone has any idea

I am working on ASP.NET Core & Angular template. After generating the entity via Power Tools, run my *.Web.Host project and then run "./angular/nswag/refresh.bat" to update service-proxies.ts.

The following error is generated even though the server is running...

D:\temp\PhoneBookDemo\angular\nswag>refresh

D:\temp\PhoneBookDemo\angular\nswag>"..\node_modules.bin\nswag" run NSwag NPM CLI NSwag command line tool for .NET 4.6.1+ WinX64, toolchain v11.20.1.0 (NJsonSchema v9.11.0.0 (Newtonsoft.Json v9.0.0.0)) Visit http://NSwag.org for more information. NSwag bin directory: D:\temp\PhoneBookDemo\angular\node_modules\nswag\bin\binaries\Win

Executing file 'D:\temp\PhoneBookDemo\angular\nswag\service.config.nswag'... System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: No es posible conectar con el servidor remoto ---> System.Net.Sockets.SocketException: No se puede establecer una conexión ya que el equipo de destino denegó expresamente dicha conexión 127.0.0.1:22742 en System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult) en System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult) en System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception) --- Fin del seguimiento de la pila de la excepción interna --- en System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) en System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar) --- Fin del seguimiento de la pila de la excepción interna --- en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) en System.Net.Http.HttpClient.<FinishSendAsyncBuffered>d__58.MoveNext() --- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción --- en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) en CallSite.Target(Closure , CallSite , Object ) en System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0) en NJsonSchema.Infrastructure.DynamicApis.<HttpGetAsync>d__16.MoveNext() --- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción --- en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) en NSwag.SwaggerDocument.<FromUrlAsync>d__59.MoveNext() --- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción --- en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) en NSwag.Commands.OutputCommandBase.<ReadSwaggerDocumentAsync>d__5.MoveNext() --- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción --- en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) en NSwag.Commands.SwaggerGeneration.FromSwaggerCommand.<RunAsync>d__9.MoveNext() --- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción --- en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) en NSwag.Commands.SwaggerGeneration.FromSwaggerCommand.<RunAsync>d__8.MoveNext() --- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción --- en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) en NSwag.Commands.NSwagDocumentBase.<GenerateSwaggerDocumentAsync>d__40.MoveNext() --- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción --- en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) en NSwag.Commands.NSwagDocument.<ExecuteAsync>d__8.MoveNext() --- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción --- en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) en NSwag.Commands.Document.ExecuteDocumentCommand.<ExecuteDocumentAsync>d__9.MoveNext() --- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción --- en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) en NSwag.Commands.Document.ExecuteDocumentCommand.<RunAsync>d__8.MoveNext() --- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción --- en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) en NConsole.CommandLineProcessor.<ProcessSingleAsync>d__12.MoveNext() --- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción --- en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) en NConsole.CommandLineProcessor.<ProcessAsync>d__11.MoveNext() --- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción --- en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) en NConsole.CommandLineProcessor.Process(String[] args, Object input) en NSwag.Commands.NSwagCommandProcessor.Process(String[] args)child_process.js:656 throw err; ^ Error: Command failed: "D:\temp\PhoneBookDemo\angular\node_modules\nswag\bin/binaries/Win/nswag.exe" run at checkExecSyncError (child_process.js:616:11) at Object.execSync (child_process.js:653:13) at Object.<anonymous> (D:\temp\PhoneBookDemo\angular\node_modules\nswag\bin\nswag.js:43:22) at Module._compile (internal/modules/cjs/loader.js:689:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10) at Module.load (internal/modules/cjs/loader.js:599:32) at tryModuleLoad (internal/modules/cjs/loader.js:538:12) at Function.Module._load (internal/modules/cjs/loader.js:530:3) at Function.Module.runMain (internal/modules/cjs/loader.js:742:12) at startup (internal/bootstrap/node.js:283:19)

Thanks in advanced!

Hi all! I'm Ricardo, I'm new to ASP.NET ZERO

I followed the instructions in detail to download and install Acme.PhoneBookDemo for ASP.NET Core & Angular. Instructions that I followed

However, when I browse http://localhost:4200 in my browser show a circle turning indefinitely as show in the next image...

Also the following errror message is displayed in the browser console: zone.js:2969 GET http://localhost:4200/sockjs-node/info?t=1546868477137 net::ERR_CONNECTION_REFUSED

Please, I need help urgently

Thanks in advanced!

Ricardo

Showing 1 to 9 of 9 entries