Mark Tabor

Mark Tabor

  • 581
  • 2k
  • 465.1k

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

May 14 2021 4:41 AM
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)