How To Invoke MTS Components from Active Server Pages (172214)
The information in this article applies to:
- Microsoft Transaction Server 1.0
This article was previously published under Q172214 SUMMARY
To invoke Microsoft Transaction Server (MTS) components from Active Server
Pages, (ASP) perform the following three steps, which are described in more
detail in the MORE INFORMATION section of this article:
- Configure the registry to allow ASP to create out-of-process components.
For security reasons, ASP by default cannot create out-of-process
components. Thus, all attempts to create Transaction Server objects with
Server.CreateObject will fail, unless the MTS object is configured to
run "In the creator's process" using MTS Explorer. The ASP page will
return the following error message to the HTML client:
Server object error'ASP 0177:80040154'
Server.CreateObject Failed
- VBScript 2.0 requires that non-Variant data types be passed by value.
Therefore, make sure that all non-Variant data types passed by your MTS
component are passed by value, not by reference. If you break this rule,
the ASP script will return the following error:
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'Accountobj.Post'
- Write an ASP page that uses Server.CreateObject to create your MTS
component.
REFERENCES
For more information, visit the Web site at:
Modification Type: | Minor | Last Reviewed: | 7/15/2004 |
---|
Keywords: | kberrmsg kbhowto kbSysAdmin KB172214 |
---|
|