Default Document Not Have .Asp Extension w/ Only Execute Access

Last reviewed: November 13, 1997
Article ID: Q171361

The information in this article applies to:

  • Microsoft Internet Information Server version 3.0

SYMPTOMS

When you specify Default.asp (or any .asp file) as your default document in Internet Information Server (IIS), you will get an error message if you do not have Read access specified for the root virtual directory.

CAUSE

IIS assumes that the default document is going to be read, not executed so the Read permission is necessary for the default document in the root directory to be interpreted correctly.

WORKAROUND

Apply both Read and Execute rights to the root virtual directory in Internet Service Manager.

WARNING: Placing both Read and Execute rights on the root directory specifies that all files in the root can be executed. Take caution placing scripts and executables in the directory if you have enabled the execute right for the directory.

Keywords          : iiswww kberrmsg
Version           : WinNT:3.0
Platform          : winnt
Hardware          : ALPHA x86
Issue type        : kbprb
Solution Type     : kbworkaround


================================================================================


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.

Last reviewed: November 13, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.