Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

184
Vistas
Spinner load failed on IIS ASP NET Core

I have a problem with the display of a loading gif. It works fine under visual 2017 and IIS Express, but after posting to a target server and IIS, the GIF no longer loads. It is however present in the wwwroot / images

Spinner

code

I have tried several syntaxes for the GIF path, but nothing helps.

var spiner = "<img src=\"/images/ajax-loader.gif\" alt=\"Loading\" style=\"height: 40px; width: 40px\"/>"

var spiner = "<img src=\"~/images/ajax-loader.gif\" alt=\"Loading\" style=\"height: 40px; width: 40px\"/>"

var spiner = "<img src=\"../images/ajax-loader.gif\" alt=\"Loading\" style=\"height: 40px; width: 40px\"/>"

Do you have an idea?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

In fact, the GIF does not have time to load to display. I changed my code like this, with 5s display, and it displays correctly. Now the only concern is that it delays the refresh of my page. I have to find something else.

enter image description here

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda