I am trying to use the dotless http://www.dotlesscss.com/ httpHandler. It looks like I am running on server 2008. I am running in classic mode. I have the following in my httpHandlers section... <add verb="*" path="*.less" type="dotless.Core.LessCssHttpHandler,dotless.Core" validate="false"/> The less module is not being processed. If I try to access the less file directly, e.g. http://...domain.../ssGlobal.less , I get the following error... Handler "dotless" has a bad module "ManagedPipelineHandler" in its module list It works fine on my local asp.net server, but failing when I deploy. I have also tried using the <system.webServer><Handlers:> option, but it does not work either. I assume this is only necessary if running in integrated mode. We are needing to run in classic mode due to other issues. I also tried the preCondition="classicMode" when using the handlers option. Any ideas?
Hi, Have never messed with that, just did a quick search with Bing and it came up with a bunch of hits: http://www.bing.com/search?q=Handler+"dotless"+has+a+bad+module+"ManagedPipelineHandler"
I am running in classic mode. So, why the preCondition="classicMode"?? Try something like this: <system.webServer> <handlers> <add name="**Name**" preCondition="integratedMode" verb="*" path="*.less" type="dotless.Core.LessCssHttpHandler,dotless.Core" /> </handlers> </system.webServer>