Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Well guess the code i supplied for my last post messed some things up, so I'll try again.
I have installed uLess, but I'm getting a 500 Internal Server Error on the .less file requests.
The response is just some weird encoded code (I can't paste it in here as the forum will get messed up).
I tried adding a Mime-Type, but no luck.
Windows Server 2008 R2, IIS 7.5, App pool runs in .Net 4.0 Integrated.
Under the covers uLess is really just installing the dotLess HttpHandler found here http://www.dotlesscss.org/. It has been a while since I looked at the code, but I believe that all it is doing is adding a line like this to your web.config
<addtype="dotless.Core.LessCssHttpHandler,dotless.Core" validate="false" path="*.LESS" verb="*" />
Let me know if your web.config is missing that line.
Thanks,
Justin
Hi Justin
Everything looks fine in web.config
Under system.web > httpHandlers
<add path="*.less" verb="GET" type="dotless.Core.LessCssHttpHandler, dotless.Core" />
Under system.webServer > handlers
<remove name="DotLessCss" /><add name="DotLessCss" path="*.less" verb="GET" type="dotless.Core.LessCssHttpHandler, dotless.Core" preCondition="integratedMode" />
dotless.Core.dll present in bin folder
Well i just downloaded the latest version of dotless from GitHub, and uploaded it to the solution, and now it works fine.
https://github.com/dotless/dotless/downloads
Maybe there's something in the one in your package that is not compatible with the latest version of Umbraco?
Or it might just be some weird bug I had.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Getting a 500 Internal Server Error
Well guess the code i supplied for my last post messed some things up, so I'll try again.
I have installed uLess, but I'm getting a 500 Internal Server Error on the .less file requests.
The response is just some weird encoded code (I can't paste it in here as the forum will get messed up).
I tried adding a Mime-Type, but no luck.
Windows Server 2008 R2, IIS 7.5, App pool runs in .Net 4.0 Integrated.
Under the covers uLess is really just installing the dotLess HttpHandler found here http://www.dotlesscss.org/. It has been a while since I looked at the code, but I believe that all it is doing is adding a line like this to your web.config
Let me know if your web.config is missing that line.
Thanks,
Justin
Hi Justin
Everything looks fine in web.config
Under system.web > httpHandlers
Under system.webServer > handlers
dotless.Core.dll present in bin folder
Well i just downloaded the latest version of dotless from GitHub, and uploaded it to the solution, and now it works fine.
https://github.com/dotless/dotless/downloads
Maybe there's something in the one in your package that is not compatible with the latest version of Umbraco?
Or it might just be some weird bug I had.
is working on a reply...