Access denied error on WebClass files (189540)



The information in this article applies to:

  • Microsoft Visual Basic Professional Edition for Windows 6.0
  • Microsoft Visual Basic Enterprise Edition for Windows 6.0

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.

REFERENCES

Please see the following Microsoft Knowledge Base article for more information on WebClasses:

189539 : INFO: VB 6.0 readme part 8: WebClass designer issues


Modification Type:MajorLast Reviewed:4/20/2006
Keywords:kbprb kbWebClasses KB189540