DOCUMENT:Q168501 30-APR-1999 [iis] TITLE :ASP Downloads Text Instead of Executing PRODUCT :Internet Information Server PROD/VER:winnt:3.0 OPER/SYS: KEYWORDS:kbinterop ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Internet Information Server 3.0 ------------------------------------------------------------------------------- SYMPTOMS ======== Microsoft Active Server Pages (ASP) download instead of executing, even after you install the ASP fix for IIS. CAUSE ===== You may have a virtual directory defined to a physical directory which parent is another virtual directory, and both have different permissions. Example ------- Physical Directory c:\InetPub\wwwroot has an alias of "/" with Read Access Physical Directory c:\InetPub\wwwroot\cgi-scripts has an alias of "/cgi-scripts" with Execute access. If you were to type in /cgi-scripts/.asp everything would work. However, if you used the 8.3 naming convention .. /cgi-sc~1/.asp, the server would not find the virtual directory because it is not aware of long file names and their 8.3 equivalents). Because it did not find a virtual directory, it would reference the file through the physical directory structure. Therefore, it would load the ASP file with the roots access of Read. WORKAROUND ========== It is recommended that you never create virtual directories to physical directories under existing virtual directories. ====================================================================== Keywords : kbinterop Technology : kbiisSearch kbiis300 Version : winnt:3.0 Hardware : ALPHA x86 Issue type : kbprb ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 1999.