.net - Parse HTML as ASP using Web.config but getting error when JavaScript is in the page -


i edited web.config file have .html files parse asp. here line added under :

<handlers>                 <add name="html mapping" path="*.html" verb="*" modules="isapimodule" scriptprocessor="c:\windows\system32\inetsrv\asp.dll" resourcetype="unspecified" />            </handlers> 

it works fine of pages, pages have embedded javascript in them, don't load , produce error 500 page. don't know why or do! when remove references javascript in pages, load fine again.

can help?

it sounds javascript tags being interpreted server-side script tags, maybe. since asp can't compile them you're getting internal server error.

could show like? specify type="text/javascript"?


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -