Microsoft KB Archive/290845

= PRB: ASP StaticObjects Collection for Application Object Is Not Available for COM+ Server Application =

Article ID: 290845

Article Last Modified on 5/28/2003

-

APPLIES TO


 * Microsoft COM+ 1.0, when used with:
 * Microsoft Windows 2000 Service Pack 2
 * Microsoft Active Server Pages 4.0

-



This article was previously published under Q290845



SYMPTOMS
When Component Object Model (COM) objects are instantiated in Global.asa and stored within the scope of the Application object, their contents are lost when they are marshaled across process boundaries.



RESOLUTION
To work around this problem, use one of the following methods:
 * Use a Microsoft COM+ library application instead of a COM+ server application.
 * Store the object within the scope of the Session object instead of the Application object.
 * Move the code from Global.asa to your Active Server Pages (ASP) page.



STATUS
This behavior is by design.

Keywords: kbprb KB290845

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.