As we have migrated all Web Servers of OASIS from IIS 6.0 to IIS 7.5 it was working fine for all virtual directories of that website which are already there , but when new Virtual directory creation requirement came I have created as like in IIS 6.0.
After creating Virtual Directory contents has been uploaded by developer and when tried to browse the Virtual directory it has started giving following error
HTTP Error 404.3 – Not Found
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.
So tried a lot in IIS setting and at last come to know that it is a issue of Enabling Parent Path
To enable the server to run classic .NET ASP pages, expand Internet Information Services -> World Wide Web Services -> Application Development Features. Check the box next to ASP, then click OK.
Parent Paths is disabled by default on IIS 7.5. To enable it, run the following command as administrator:
%systemroot%\system32\inetsrv\appcmd unlock config /section:asp
%systemroot%\system32\inetsrv\APPCMD set config “Default Web Site” -section:system.webServer/asp /enableParentPaths:”true” /commit:apphost
To start the default web site from the command line, run the following command as administrator:
%systemroot%\system32\inetsrv\APPCMD start site “Default Web Site”
The c:/inetpub/wwwroot directory is UAC protected. If you are going to leave UAC on (and it’s recommended that you do), you will probably want to change the permissions on the wwwroot folder so that you don’t have to click through a prompt each time you change a file.
Using Virtual Paths
As an alternative to using parent paths in your ASP code, you can use virtual paths. Virtual paths require that you enter the full folder path from the URL root of your Web site. For example:
Enabling ASP Parent Paths
You can enable or disable parent paths by using IIS Manager. To do so, open IIS Manager and navigate to the site or application where you want to configure parent paths, and then-double click the ASP feature.
In the list of ASP features, configure the Enable Parent Paths option.and select True