Microsoft KB Archive/244013

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

Article ID: 244013

Article Last Modified on 7/11/2005

-

APPLIES TO


 * Microsoft Active Server Pages 4.0
 * Microsoft Transaction Services 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.



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.

