PRB: Access Denied Error on Webclass Files

ID: Q189540


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:

Q189539 : INFO: VB 6.0 Readme Part 8: WebClass Designer Issues

Keywords : kbInternet kbVBp kbVBp600 kbVS600 kbWebClasses kbIIS
Version :
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: June 3, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.