PRB: ASP StaticObjects Collection for Application Object Is Not Available for COM+ Server Application (290845)



The information in this article applies to:

  • Microsoft COM+ 1.0, when used with:
    • the operating system: Microsoft Windows 2000 SP2
  • Microsoft Active Server Pages

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.

Modification Type:MajorLast Reviewed:5/28/2003
Keywords:kbprb KB290845