How to fix the "Handler "dotless" has a bad module "ManagedPipelineHandler" in its module list" problem

How to fix the “Handler “dotless” has a bad module “ManagedPipelineHandler” in its module list” problem

The Problem

'Software Bugs' photo (c) 2006, Martin Maciaszek - license: are working away, using the wonderful dotless plugin for IIS, and also taking advantage of the great features of the Less Css System.  Then, for no good reason, your .less file stops loading.  You create all sorts of new Mime types and reboot the server, but nothing seems to work, how do you fix it?

The Cause

Upon closer examination, you uncover the following error

HTTP Error 500.21 – Internal Server Error
Handler “dotless” has a bad module “ManagedPipelineHandler” in its module list

even though you have not changed anything about dotless.

The Solution

At some point the application pool has changed.  Just change it back to a more recent version (I was using a custom application pool) and the problem goes away.


Written By Steve French


3 responses to “How to fix the “Handler “dotless” has a bad module “ManagedPipelineHandler” in its module list” problem”

  1. This I snot a solution. It’s a hack that happened to work for you but will probably not work for anyone else. Shame on you.

  2. Yes, not a solution for me either.
    My IIS app pool changed as well – thanks for pointing it out but the solution itself is not sufficient.

Leave a Reply

Your email address will not be published. Required fields are marked *

Copyright 2011 Digital Tool Factory. All Rights Reserved. Powered by raw technical talent. And in this case, WordPress.