Edit the following sections in your Local website(or virtual directory) web.config file in the Microsoft .Net Framework folder. This will allow the .NET to parse asp files also in the same way as the aspx files:
<configuration>
<system.web>
<compilation>
<buildproviders>
<add extension=".asp" type="System.Web.Compilation.PageBuildProvider">
</add></buildproviders>
</compilation>
<httphandlers>
<add path="*.asp" type="System.Web.UI.PageHandlerFactory" validate="true" verb="*">
</add></httphandlers>
</system.web>
</configuration>