t00thy
t00thy

Reputation: 519

Visual Studio 2015 Error 500.19

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?

Upvotes: 5

Views: 3102

Answers (2)

Rafiki
Rafiki

Reputation: 698

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 >

Upvotes: 1

t00thy
t00thy

Reputation: 519

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

<staticContent>
    <mimeMap fileExtension=".less" mimeType="text/css" />
</staticContent >

Upvotes: 10

Related Questions