Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 659
t00thy Avatar asked May 05 '15 10:05

t00thy


2 Answers

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

<staticContent>
    <mimeMap fileExtension=".less" mimeType="text/css" />
</staticContent >
like image 192
t00thy Avatar answered Oct 12 '22 00:10

t00thy


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 >
like image 21
Rafiki Avatar answered Oct 12 '22 00:10

Rafiki