.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
Post a Comment