Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Core MVC JQuery problem: {"result": null, "targetUrl": "/ Ac #4046


User avatar
0
jbalda created

I just installed the 4.5.1 version AspnetZero with ASP.NET MVC Core and JQuery, I configured the connection to the database, I run it and when I try to log in, I get:

{"result": null, "targetUrl": "/ Account / ResetPassword? UserId = 1 & ResetCode = AF30607A68 & ReturnUrl =% 2FApp", "success": true, "error": null, "unAuthorizedRequest": false, " __ abp ": true}

Also in the login interface there are a lot files that can not be found:

simple-line-icons.css No se pudo cargar el recurso: el servidor respondió con un estado de 404 (no encontrado) font-awesome.css No se pudo cargar el recurso: el servidor respondió con un estado de 404 (no encontrado) famfamfam-flags.css No se pudo cargar el recurso: el servidor respondió con un estado de 404 (no encontrado) simple-line-icons.css Failed to load resource: the server responded with a status of 404 (Not Found) font-awesome.css Failed to load resource: the server responded with a status of 404 (Not Found) famfamfam-flags.css Failed to load resource: the server responded with a status of 404 (Not Found) bootstrap.css Failed to load resource: the server responded with a status of 404 (Not at GetScripts:993 app.js?v=RM2klNXaWg6FZqOnwu_gLXvc1roWd7WUl0teHSXkSOI:1016 Uncaught ReferenceError: jQuery is not defined

etc...

What could be the problem?

Thanks

ADDED I see that in wwwRoot the lib folder does not exist. In Solution Explorer it is with a red cross, but I don't know why


6 Answer(s)
  • User Avatar
    0
    aaron created
    Support Team

    Did you download from <a class="postlink" href="https://www.aspnetzero.com/Download">https://www.aspnetzero.com/Download</a>?

  • User Avatar
    0
    jbalda created

    Yes, from that place

  • User Avatar
    0
    jbalda created

    Could it be a problem with Bower? I tried to restore packages in the context menu on bower.json but nothing happened.

  • User Avatar
    0
    jbalda created

    Hi,

    I have been able to resolve eliminating the dependency to "OwlCarousel ^ 1.3.2" that gave me problems, and installing the Bower libraries from the console

    I should upgrade dependency to owl carousel 2?

    Thanks

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @jbalda,

    Yes, you can change own carousel dependency, see <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Web.Mvc/bower.json#L23">https://github.com/aspnetzero/aspnet-ze ... r.json#L23</a>.

  • User Avatar
    0
    jbalda created

    thanks!