Microsoft KB Archive/189540

= Access denied error on WebClass files =

Article ID: 189540

Article Last Modified on 4/20/2006

-

APPLIES TO


 * Microsoft Visual Basic 6.0 Professional Edition
 * Microsoft Visual Basic 6.0 Enterprise Edition

-



This article was previously published under Q189540



SYMPTOMS
You receive an "Access to the file... denied" error on WebClass files.



CAUSE
Internet Information Server (IIS) has the file cached, so you receive the error message "Access to the file... denied."



RESOLUTION
To unload the DLL or other files that you were denied access to, stop Internet Information Server. There are several ways to stop Internet Information Server:  In Visual Basic, while you are in the WebClass designer, select the toolbar item "Stop Internet Information Server". In the Windows Control Panel, select Services and Stop the IIS Admin Service. At a command prompt, type the following command:

net stop iisadmin /y

On a Microsoft Windows 2000-based computer, type the following command:

iisreset



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.

