8
Answers

Asp.NET MVC application get Css and JS 404 after deploying on IIS serv

Mark Tabor

Mark Tabor

3y
3.2k
1
Hi I have asp.net mvc application which works fine on localhost when I deployed it on IIS it gets 404 error for styles and js files I am accessing the site via IP 
 
Second Question : I am generating the link for the user like below 
 http://localhost:51566/EvaluationNotificationSettings/FeedbackForm?vtoken=497c0080-731a-45eb-bc41-673ec500aeeb&type=False
 
it works fine only on local host but when I replace the http://localhost :51566 with IP address http://58.65.169.181/EvaluationNotificationSettings/FeedbackForm?vtoken=497c0080-731a-45eb-bc41-673ec500aeeb&type=False
 
it gives 404 Error why it is so 
Answers (8)