Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 244013 - Last Review: July 11, 2005 - Revision: 2.3
PRB: Permission Denied Calling an MTS Component from Active Server Pages
This article was previously published under Q244013
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
Turning ON
Enable Authorization Checking for the MTS Package causes this problem in Internet Information Server (IIS) 4.0.
Turn OFF
Enable Authorization Checking for the MTS Package to resolve this issue.
Steps to Reproduce Behavior
- Create a simple component.
- Create a simple ASP page. Create the component using Server.CreateObject and call a method.
- Add the component to a new MTS Package.
- In the Properties dialog box, click the Security tab, and turn ON Enable Authorization Checking. Click OK.
- Test your code.
For additional information, click the article number below
to view the article in the Microsoft Knowledge Base:
223406Â
(http://kbalertz.com/Feedback.aspx?kbNumber=223406/EN-US/
)
HOWTO: Create an Empty MTS Package to Add Components for ASP
APPLIES TO
- Microsoft Active Server Pages 4.0
- Microsoft Transaction Services 2.0
| kbdocfix kberrmsg kbprb kbsecurity KB244013 |
Retired KB Content DisclaimerThis article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate