Initially, I am aware that this issue has been discussed here before, but none of the suggested solutions have worked for me. I have encountered a problem with adding my own CSS files to a new web project I created. The default code template provided by VS2013 works perfectly, but when I try to add my CSS files, I face a hindrance.
I created a CSS folder under the existing Content directory.
I linked the CSS files in the header CSHTML, and I am confident it is linked correctly as I am not receiving a 404 error.
However, when I attempt to run the project, I encounter the following error: Status Code:401 Unauthorized
(obtained from the network explorer in Chrome developer tools). Despite my efforts, which included adjusting the config file, enabling WindowsAuthentication, and granting access to the CSS directory in IIS, I am still stuck after an hour of troubleshooting. Do you have any suggestions?
Update: When I try to access one of the CSS files, I receive the following error message: