asp.net - HTTP Error 500.23 after adding dotless to my local website -


hi i'm trying run dotless on local .net4 web site

my web config looks this:

<?xml version="1.0" encoding="utf-8"?> <configuration>   <configsections>     <section name="dotless" type="dotless.core.configuration.dotlessconfigurationsectionhandler, dotless.core" />   </configsections>   <system.web>     <compilation debug="true" targetframework="4.0" />   <httphandlers><add path="*.less" verb="get" type="dotless.core.lesscsshttphandler, dotless.core" /></httphandlers></system.web> <dotless minifycss="false" cache="true" web="false" />      <system.webserver>         <handlers>             <add name="dotless" path="*.less" verb="get" type="dotless.core.lesscsshttphandler,dotless.core" resourcetype="file" precondition="" />         </handlers>     </system.webserver> </configuration> 

here error get

http error 500.23 - internal server error asp.net setting has been detected not apply in integrated managed pipeline mode. causes:      application defines configuration in system.web/httphandlers section. 

can please help?

adding <validation validateintegratedmodeconfiguration="false"/> worked

<?xml version="1.0" encoding="utf-8"?> <configuration>   <configsections>     <section name="dotless" type="dotless.core.configuration.dotlessconfigurationsectionhandler, dotless.core" />   </configsections>   <system.web>     <compilation debug="true" targetframework="4.0" />   <httphandlers>       <add path="*.less" verb="get" type="dotless.core.lesscsshttphandler, dotless.core" />   </httphandlers>   </system.web> <dotless minifycss="false" cache="true" web="false" />      <system.webserver>         <validation validateintegratedmodeconfiguration="false"/>         <handlers>             <add name="dotless" path="*.less" verb="get" type="dotless.core.lesscsshttphandler,dotless.core" resourcetype="file" precondition="" />         </handlers>     </system.webserver> </configuration> 

Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -