It sounds like you are using LESS, is that right? If this is the case, as you already mentioned, you need to configure it in IIS in order to use twitter boostrap if you use functions that require LESS.
I had similar problems with IIS and it correctly recognized file extensions if they are not the default values ββin IIS.
Most likely, your local host is not so protected with regard to file associations, or you are using a different version of IIS locally than IIS6, and it already allows the extension .less.
To fix this, you need to add extension / mapping in IIS6.
Short version
- Open Web Application Properties
- Click Configuration ...
- On the Mapping tab, click Add
- Executable file . Enter the same value as for the .aspx extension on the Mappings tab
- Extension : .less
- Verbs : check the box: Restrict, enter: GET, HEAD
- Script Engine : Verified
- Make sure the file exists : not checked
The graphical version, if it helps someone: here is a link with the details that I reproduced below, in case of its disappearance.
http://wiki.uiowa.edu/display/~mbergal/2012/06/08/Configuring+IIS+6+to+support+dotlesscss+(LESS+CSS)
Go to site properties.
Open configuration
Add extension
source share