Asp error - webpage must be hosted on a server that supports Active server pages

I am basically trying to move our intranet website from Server 2003 to server 2008. All the links are working fine except for the ASP.NET webpage. I have included asp.net as a role in the services but still showing the same error message " The Database results component on this page is unable to display database content. The page must have a filename ending in ‘.asp’, and the web page must be hosted on a server that supports Active server pages ". That asp page basically shows up our telephone portal linked to access database. Can anyone help me please?>