IIS v7.5.7600.16385 - Integrated Mode configuration of .less RRS feed

  • Question

  • runs just fine in both debug and release under multiple VS 2012 PCs...

    It runs great in VS2012 on all of our developer PCs (debug and release), but being deployed to IIS 7+, we get none of our client-side rendering (with no exceptions, just a blank portion for the client-side stuff). The same page has a server-side header portion of the page WHICH DOES RENDER. BUT none of it has ANY .css styling.

    did the following so far (in our DEVELOPMENT SERVER,  but unfortunately, our vendor left us holding "the bag" for server configuration):

    1. Mine Type Feature Delegation is set to Read/Write in IIS

    2. .less is set to text/css as far as mimetypes go IIS (not declared in the web.config)

    3. In the Content directory for the ASP.NET web solution, all of the .less files are set to Build Action -> Content and Copy to Output Directory -> Copy Always.

    4. tried this too (without any luck): http://www.atomopoly.com/?q=content/installing-less-iis-75 (change of auth for application pool)

    5. added a handler mapping in IIS:

    Site -> Handler Mappings -> Add Script Map
    Request path: *.less
    Executable: c:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll
    Name: Less CSS

    6. web.config (.less portions)

        <section name="dotless" type="dotless.Core.configuration.DotlessConfigurationSectionHandler, dotless.Core" />
                <add path="*.less" verb="GET" type="dotless.Core.LessCssHttpHandler, dotless.Core" />
            <validation validateIntegratedModeConfiguration="false" />
                <add name="dotless" path="*.less" verb="GET" type="dotless.Core.LessCssHttpHandler,dotless.Core" resourceType="File" preCondition="" />
            <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
                    <assemblyIdentity name="dotless.Core" publicKeyToken="96b446c9e63eae34" culture="neutral" />
                    <bindingRedirect oldVersion="" newVersion="" />
        <dotless minifyCss="false" cache="true" web="true" />


    rob k

    Wednesday, March 6, 2013 7:56 PM