0

I use less with the dotless dll downloaded from

http://www.dotlesscss.org/

I have added to web config all references suggested by the site

<add type="
    dotless.Core.LessCssHttpHandler
    ,dotless.Core" validate="false"
    path="*.LESS" verb="*" />

<section name="dotless"
    type="dotless.Core.configuration.
    DotlessConfigurationSectionHandler
    ,dotless.Core" />

When i run the application with visual studio development server on my pc all works fine. When i run the application with local IIS there is an error

GET .../myapplication/Styles/SiteLess.less 500 (Internal Server Error)

there is another settings on iis 7.5?

user3401335
  • 2,335
  • 2
  • 19
  • 32
  • Can you disable the "show http friendly error" check on internet explorer so you can view the exact error that iis report? – bdn02 Sep 01 '14 at 13:15
  • the error appears on chrome pressing F12 (tool developers)(appears also in other browser) – user3401335 Sep 01 '14 at 13:21
  • The 500 internal server error is generic, to see the exact error message you may disable the flag "show http friendly error" on advanced settings of internet explorer. If you see in the event viewer you may find the exact error message – bdn02 Sep 01 '14 at 14:13
  • the error: HTTP Error 500.21 - Internal Server Error In the module manager "dotless" there is a module "ManagedPipelineHandler" invalid – user3401335 Sep 01 '14 at 14:47
  • try this: http://stackoverflow.com/questions/12069415/iis-7-httphandler-and-http-error-500-21 – bdn02 Sep 01 '14 at 15:38

0 Answers0