Archived Support Site

This support site is archived. You can view the old support discussions but you cannot post new discussions.

dotless

Jack's Avatar

Jack

Aug 15, 2011 @ 08:04 PM

I'm using dotless in an application that works fine locally, but doesn't work on appharbor.

I already declared the MIME type in the app.config, and included the less files as content. Why I point the browser directly at the file, IIS throws this error:

An error occurred creating the configuration section handler for dotless: Could not load type 'dotless.Core.configuration.DotlessConfigurationSectionfHandler' from assembly 'dotless.Core'

<configSections>
    <section name="dotless" type="dotless.Core.configuration.DotlessConfigurationSectionfHandler, dotless.Core" />
</configSections>
  1. Support Staff 1 Posted by friism on Aug 15, 2011 @ 08:14 PM

    friism's Avatar

    You need to ensure that the dotless.Core is deployed to the output bin folder. Is the dll referenced from you project, and is configured to "Copy local"?

  2. 2 Posted by Jack on Aug 15, 2011 @ 08:19 PM

    Jack's Avatar

    Indeed it is. It is referenced in my packages folder, and I confirmed that it is in the git commit.

  3. Support Staff 3 Posted by friism on Aug 15, 2011 @ 08:39 PM

    friism's Avatar

    Hm, interesting. Could I get you to try and deploy the site to a full IIS (i.e. non-Casini) running on your local machine, to see whether that works. If it runs on your local machine, but still fails on AppHarbor, invite [email blocked] as a collaborator, and we'll take a look.

    Michael

  4. 4 Posted by duncans on Aug 17, 2011 @ 01:32 PM

    duncans's Avatar

    Typo? DotlessConfigurationSection*f*Handler

  5. Support Staff 5 Posted by friism on Aug 17, 2011 @ 04:08 PM

    friism's Avatar

    Well spotted, Duncan! Jack, please let us know if you got dotless to work, and whether I can close the issue.

    Michael

  6. 6 Posted by Jack on Aug 17, 2011 @ 04:26 PM

    Jack's Avatar

    Duncan,

    You can be my coding pair any time! That was it.

    As an aside, I tried deploying it locally and IIS wouldn't give my app the time of day.

    Thanks for all your help.

    Jack

  7. friism closed this discussion on Aug 17, 2011 @ 04:33 PM.

Discussions are closed to public comments.
If you need help with AppHarbor please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac