Bundled css link gets a 404 error

前端 未结 6 980
不知归路
不知归路 2020-12-09 16:24

I am trying to get bundling to work in ASP.NET MVC 4. I am getting a 404 error from the link generated for the bundled CSS. I have done the following:

  1. Ins

6条回答
  •  执笔经年
    2020-12-09 16:59

    I had the same problem that my script bundle suddenly responded with 404. I a solution similar to @fiat answer that I found on this blogpost.

    The solution was to remove and add the BundleModule in the modules part section of the system.webServer section.

    
        
        
    
    

提交回复
热议问题