DOCUMENT:Q189540 07-AUG-1998 [vbwin] TITLE :BETA-PRB: Access Denied Error on Webclass Files PRODUCT :Microsoft Visual Basic for Windows PROD/VER: OPER/SYS:WINDOWS KEYWORDS: ====================================================================== --------------------------------------------------------------------- The information in this article applies to: - Microsoft Visual Basic Professional and Enterprise Editions for Windows, version 6.0 - Microsoft Visual Studio 6.0 --------------------------------------------------------------------- SYMPTOMS ======== You receive an "Access to the file... denied" error on Webclass files. Internet Information Server (IIS) loads files and sometimes they are still loaded when you try to write to these files from the Visual Basic IDE that will cause this error to appear. CAUSE ===== IIS has the file cached so you receive the error message "Access to the file... denied." RESOLUTION ========== To unload the DLL or other files you were denied access to, you need to stop Internet Information Server. Following are some ways to do this: - In Visual Basic, while you are in the Webclass designer, select the toolbar item "Stop Internet Information Server." - From the Windows "Control Panel," select Services and Stop the IIS Admin Service. NOTE: Stopping the Web site from the Microsoft Management Console (MMC) does not cause IIS to unload these files. STATUS ====== This behavior is by design. REFERENCES ========== Please see the following Microsoft Knowledge Base article for more information on WebClasses: ARTICLE-ID: Q189539 TITLE : WebClass Section of Visual Basic 6.0 Readme.htm Additional query words: kbDSupport kbVS600 kbVBp600 kbVBp kbdsi kbDSupport kbIIS kbNoKeyWord ====================================================================== Platform : WINDOWS 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 1998.