PRB: Access Denied Error on Webclass Files

ID: Q189540


The information in this article applies to:


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:

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