5

I have problem with opening project in VS 2015. In VS 2012, and VS 2013 is everythink ok. But when I start web application in VS 2015, I got error 500.19 while loding css and js files.

I know, that it shoud be because of permissions, so I set NETWORK, NETWORK SERVICE and IIS_IUSRS to read, write, modify on my project folder, but it did not help.

Have anyone idea?

Cœur
  • 34,719
  • 24
  • 185
  • 251
t00thy
  • 493
  • 5
  • 15

2 Answers2

10

Finally I can handle with it. I just need to remove from my web.Config

<staticContent>
    <mimeMap fileExtension=".less" mimeType="text/css" />
</staticContent >
t00thy
  • 493
  • 5
  • 15
1

If you want to use your mimeMap instead of the one on IIS, just change your config file to remove the existing before adding yours:

 <staticContent>
     <remove fileExtension=".less" />
     <mimeMap fileExtension=".less" mimeType="text/css" />
 </staticContent >
Rafiki
  • 590
  • 1
  • 5
  • 22