Article ID: 273496 - Last Review: July 15, 2004 - Revision: 1.2 PRB: IIS 5.0 Stops Responding When You Call Application.Lock and Application.Unlock in WebClassesThis article was previously published under Q273496 On This PageSYMPTOMS
When you debug a Visual Basic WebClass application within the Visual Basic Integrated Developer Environment (IDE) on a Microsoft Windows 2000-based computer, and you call the Application.Lock and Application.UnLock methods, the Web server may stop responding (hang).
CAUSE
With the introduction of COM+, Internet Information Server (IIS) 5.0 takes advantage of the Thread-Neutral Apartment (NA) when you access the Application object. As a result, when you explicitly call Application.Lock and Application.UnLock from a component, you encounter a deadlock scenario that causes the server to stop responding under certain situations.
RESOLUTION
Do not use Application.Lock and Application.UnLock in your WebClass code when you debug.
MORE INFORMATIONSteps to Reproduce Behavior
REFERENCESFor additional information, click the article number below
to view the article in the Microsoft Knowledge Base:
271787
(http://support.microsoft.com/kb/271787/EN-US/
)
PRB: Application.Lock and Application.UnLock Causes Server to Hang in IIS 5.0
| Article Translations
|
Back to the top
