Hello Kenneth, thank you for your reply. I had added that line in web.config but it have no effect on my problem. I see that all our rewritten urls are resulting the same error, but calling the script files directly with .aspx are working fine.
If you want I can send you an email or PM with a link of our site with an example of our problem, so you can test the error.
Thank you again
Regards