Reputation: 2620
I have asp.net application which I am running on local host. When I browse page loads but its not able to pick any css and js and I get error as
Failed to load resource: the server responded with a status of 404 (Not Found) (see screenshot) .
Any pointer as to what could be wrong here?
On a different server, same page loads fine with all images.
Upvotes: 1
Views: 3759
Reputation: 4211
Include all your files
or css and any from Project PC
to Deployment
server
Upvotes: 1
Reputation: 840
Check your paths -- you may need to use a relative path instead of an absolute. Also, confirm that you can navigate to the css and js files from your browser using the path that you see in the console (you probably will not). Finally, check your IIS settings and make sure you can server Static files.
Upvotes: 2