Article ID: 259516
Article Last Modified on 12/5/2007
APPLIES TO
- Microsoft COM+ 1.0
- Microsoft COM+ 1.5
- Microsoft Internet Information Services 5.0
This article was previously published under Q259516
SYMPTOMS
When you browse to a Microsoft Active Server Pages (ASP) page, you may receive the following error message:
The same Web page functions correctly on Internet Information Server (IIS) 4.0.
CAUSE
This problem occurs if the Web page creates an instance of a Component Object Model (COM) object, which in turn uses the CreateObject method of the intrinsic Server variable to create an instance of another COM component.
For this problem to occur, the COM object must be running in a separate process from the InetInfo.exe (IIS) process. For example, this problem occurs if the COM object is configured in a COM+ server application.
RESOLUTION
To resolve this problem, do not use the IIS intrinsic Server variable to create COM components in Microsoft Visual Basic. Use CreateObject instead.
STATUS
This behavior is by design.
MORE INFORMATION
The OnPageStart and OnPageEnd methods are obsolete in IIS 5.0. Use IObjectControl instead.
REFERENCES
For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
243548 INFO: Design Guidelines for VB Components Under ASP
Additional query words: ASP 0194 (0x80004005)
Keywords: kbprb kbpending KB259516