Article ID: 241057
Article Last Modified on 7/8/2005
APPLIES TO
- Microsoft Active Server Pages 4.0
- Microsoft Transaction Services 2.0
- Microsoft Internet Information Server 4.0
This article was previously published under Q241057
SYMPTOMS
When calling a Component Object Model (COM) component of a Microsoft Transaction Server (MTS) Package from Active Server Pages (ASP), the following error may occur intermittently:
This error message is association with the following similar eventlog entry:
Or the following error may occur when the component is created using the CreateObject method instead of Server.CreateObject from ASP:
CAUSE
This happens when the identity of the MTS Server Package has been set to "Interactive User." The interactive user is the user that is currently logged on to the server (that is, the computer that hosts the MTS Package). When this user logs off, the components in the MTS Server Package cannot be created and executed, and an error is returned.
Steps to Reproduce Behavior
- Create a new MTS Server Package and accept the default interactive user identity.
- Add your COM component to this package.
- Create your ASP page and save it in a virtual directory.
- While logged on to the server, request the ASP page from a browser on a different computer.
- Log off from the server
- Request the ASP page again from the browser on a different computer (or refresh the page requested in step 4).
- The following error appears in your browser if component was created using Server.CreateObject:
Server object error 'ASP 0177 : 80080005'
Server.CreateObject Failed
/xxxx.asp, line xx
Server execution failed - Log on to the server and open the Internet Service Manager to change the identity of the MTS Server Package to a specific user.
- Log off from the server again.
- Request the ASP page again from the browser on a different computer (or refresh the page requested in step 4).
- The page works as expected.
RESOLUTION
Set the package identity to a specific user.
STATUS
This behavior is by design.
REFERENCES
For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
223406 HOWTO: Create an Empty MTS Package to Add Components for ASP
Additional query words: kbMTS kbCOMt kbASP
Keywords: kberrmsg kbsecurity kbprb kbdeployment KB241057