Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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
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.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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
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.
is working on a reply...