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



The information in this article applies to:

  • Microsoft Active Server Pages
  • Microsoft Transaction Server 2.0

This article was previously published under Q244013

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:

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


Modification Type:MinorLast Reviewed:7/11/2005
Keywords:kbdocfix kberrmsg kbprb kbSecurity KB244013