DOCUMENT:Q172047 05-MAY-1999 [iis] TITLE :Sharing Violation with Server-side Includes PRODUCT :Internet Information Server PROD/VER:WinNT:3.0 OPER/SYS: KEYWORDS:kbother ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Internet Information Server 3.0 ------------------------------------------------------------------------------- SYMPTOMS ======== When you try to modify or replace a file that is being called as a server-side Include, you may get a sharing violation. You also may not be able to delete, move, rename, or change this file until the World Wide Web (WWW) service is stopped. CAUSE ===== Generally all files published by the World Wide Web Publishing service are shared, and can be updated at any time with no problem, even on a busy server. The exception is with server side includes. The file called by the server-side Include tag is mapped into memory and is not shareable. This can prevent the file from being updated without stopping the WWW service. Normally this is not a problem, but if the included file is used to display frequently changing information, then it would cause the WWW service to have to be stopped and started more often than normal. WORKAROUND ========== If you have dynamically changing data, you should not use a server-side Include to display the information from a file. ====================================================================== Keywords : kbother 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.