I have this include in an asp page that is causing an error message
<!--#include file="Connections/SQLConnection.asp" -->
It works fine when I use http://localhost/mypage.asp
But when I upload it to server I got this error:
----------------------
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
----------------------
I am sure that there is no problem in my asp pages because this website was running in another server and it also works fine in localhost.
All pages are in this new server. I have double checked.
I think the problem is in the IIS configuration. It´s a new server and I have just configured this web server. I know the problem is this include because I removed it and the page loaded normally but when I put this include back I got the error. Is there any special configuration in the internet information service I have to enable??