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
  • 37,241
  • 25
  • 195
  • 267
t00thy
  • 501
  • 5
  • 16

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
  • 501
  • 5
  • 16
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
  • 630
  • 1
  • 8
  • 22