Hello I have a problem with a Javascript in a ASP web site, the problem is that the javascript contains multiple times the simbol "<%" and also "%>" and IIS or ASP interpret this as ASP code tag.
If you enter here: https://frank02.zip2tax.com/website/pagescountries/canada/index/canadamap.js
I am getting a Vbs error even when the file is a js which just need to be served. I have another server which has not this problem.
I think the server is interpretting this as an ASP tag but it does not an ASP tag this is part fo the javascript. before that "`" showing in the error there is a "<%" simbol. so I think it is try to execute ASP code :(.
Here is a portion of the code, and you will be able to see the <% simbol, all the file contains multiples "`" characters but just after that symbol I get the error.
Portion of code of the javascript which contains "<%" tag
In another server all runs OK: https://casper09.zip2tax.com/website/pagescountries/canada/index/canadamap.js
Please I need, I do not know if it is a server configuration or changes in the code.