asp classic - .less and IIS 6.0 :: No data sent by server -


i using iis 6.0 on windows 2003 machine. have added mime extension follows. extension = .less mime type: text/css

i have added application extension follows executable: c:\windows\microsoft.net\framework\v4.0.30319\aspnet_isapi.dll extension: .less verbs: verbs script engine: checked verify file exists: unchecked

i using classic asp website (.asp files). have simple file such.

<% @ language = vbscript.encode %>  <!doctype html> <html>    <head>       <meta charset="utf-8">       <meta http-equiv="x-ua-compatible" content="ie=9" />       <title>test</title>       <link href="teststyle.less" rel="stylesheet/less" type="text/css" />       <script src="less-1.3.3.min.js" type="text/javascript"></script>    </head>    <body>       <h1>hello world</h1>    </body> </html> 

my "teststyle.less" file looks this

h1 {     color: red; } 

when page loads "hello world" text not in red. if view page source following. if click "teststyle.less" link browser gives error "no data received. unable load webpage because server sent no data." if click "less-1.3.3.min.js" file, js code displayed.

unfortunately not sure else try. can please help?

<!doctype html> <html>    <head>       <meta charset="utf-8">       <meta http-equiv="x-ua-compatible" content="ie=9" />       <title>test</title>       <link href="teststyle.less" rel="stylesheet/less" type="text/css" />       <script src="less-1.3.3.min.js" type="text/javascript"></script>    </head>    <body>       <h1>hello world</h1>    </body> </html> 


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -