PRB: Permission Denied Calling an MTS Component from Active Server Pages

ID: Q244013


The information in this article applies to:
  • Active Server Pages
  • Microsoft Transaction Server 2.0


SYMPTOMS

When creating a COM component in a Microsoft Transaction Server (MTS) package from Active Server Pages (ASP) using Server.CreateObject the following error might occur:

Microsoft VBScript runtime error '800a0046' Permission denied


CAUSE

Turning ON Enable Authorization Checking for the MTS Package causes this problem in Internet Information Server (IIS) 4.0.


RESOLUTION

Turn OFF Enable Authorization Checking for the MTS Package to resolve this issue.


MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a simple component.


  2. Create a simple ASP page. Create the component using Server.CreateObject and call a method.


  3. Add the component to a new MTS Package.


  4. In the Properties dialog box, click the Security tab, and turn ON Enable Authorization Checking. Click OK.


  5. Test your code.



REFERENCES

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

Q223406 HOWTO: Create an Empty MTS Package to Add Components for ASP

Additional query words:

Keywords : kbdocfix kbCOMt kbMTS kbGrpASP kbDSupport
Version : winnt:2.0
Platform : winnt
Issue type : kbprb


Last Reviewed: January 13, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.