Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • rakesh khoodeeram 6 posts 76 karma points
    Sep 25, 2017 @ 09:18
    rakesh khoodeeram
    0

    Problem with links for js, css, images

    Hello, When I deploy the site under IIS Express, the site runs correctly. All files are referenced correctly.

    When I deploy the site under local IIS, the files path are not correct.

    Failed to load resource: the server responded with a status of 404 ()

    https://localhost/css/ionicons.css https://localhost/css/font-awesome.css https://localhost/scripts/jquery-1.11.2.min.js?cdv=1564245908 https://localhost/scripts/plugin/jquery.colorbox-min.js?cdv=1564245908

    The link is missing the web application name. The following works: https://localhost/Travelling.Web/css/ionicons.css

  • Martin Aguirre 42 posts 210 karma points
    Sep 25, 2017 @ 15:17
    Martin Aguirre
    0

    Hi. You should review the routing of these components that return 404. The specified paths may be absolute and should be relative. Check if urlrewrite config its ok too.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies