Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 175166 - Last Review: August 11, 2006 - Revision: 4.0
PRB: Cannot Launch Out of Process Components Under IIS 3
This article was previously published under Q175166
We strongly recommend that all users upgrade to Microsoft Internet
Information Services (IIS) version 6.0 running on Microsoft Windows Server
2003. IIS 6.0 significantly increases Web infrastructure security. For more
information about IIS security-related topics, visit the following Microsoft
Web site:
Although most ActiveX Server components are DLLs, it is
sometimes necessary to launch an EXE from Active Server Pages (ASP). When
Server.CreateObject is used to launch an EXE, an error similar to the following
may occur:
Server object error 'ASP 0196'
Cannot launch out of process component
/myvroot/launch_exe.asp, line
5
Only InProc server components should be used. If you want to
use
LocalServer components, you must set the AllowOutOfProcCmpnts
registry
setting. Please consult the readme file for important
considerations.
This error is the result of a safety mechanism in ASP that
prevents the launching of LocalServer components. This mechanism is in place
because there are security concerns you should consider when launching out of
process components. In addition to the security concerns, DLLs are also
preferred because of their performance benefits over EXEs.
To
override this safety mechanism, you must set the AllowOutOfProcCmpnts registry
value to 1. This registry value is located at the following path:
HKEY_LOCAL_MACHINE\SYSTEM
\CurrentControlSet
\Services
\W3SVC
\ASP
\Parameters
Use the following steps to change this value:
- Select Run from the Start menu.
- Type "regedit" into the Open window.
- Navigate to the path defined above.
- Double-click on the AllowOutOfProcCmpnts value and change
the value to 1.
For more information on the issues surrounding launching
LocalServers from ASP, refer to the IIS 3.0 Release Notes under the "Known
Issues" section.
For the latest Knowledge Base artices and other
support information on Visual InterDev and Active Server Pages, see the
following page on the Microsoft Technical Support site:
APPLIES TO
- Microsoft Active Server Pages 4.0
- Microsoft Internet Information Server 3.0
| kbaspobj kbcodesnippet kberrmsg kbprb kbregistry kbsecurity KB175166 |
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