I have my js files inside areas and I cannot access them. When I move them outside the MVC areas then I can access.
I have tried the following:
Found an answer in another Stack Overflow question and tweaked it for areas.
Modify /Areas/AreaName/Views/web.config file to enable the webserver to serve JS and CSS files:
This will allow serving of .js and .css files, and will forbid serving of anything else.