Solved

AspAllowOutOfProc

Posted on 2001-07-18
5
245 Views
Last Modified: 2010-08-05
Hello!

I'm trying to access word component in my application for opening it using Book Mark. I'm runing my application on IIS 4.0 and is giving me error which is
written below. Following is the code by which I am reffering the component
and it is where the error is occuring.
Set wordobject = Server.CreateObject("Word.Application")

ERROR:
Only InProc server components should be used. If you want to use
LocalServer components, you must set the AspAllowOutOfProcComponents
metabase setting. Please consult the help file for important
considerations.


Where should I define AspAllowOutOfProc metabase.
0
Comment
Question by:n_narayanan
  • 3
  • 2
5 Comments
 
LVL 7

Expert Comment

by:weesiong
Comment Utility
n_narayanan,

Try this:

c:\winnt\system32\inetsrv\adminsamples >adsutil
 set w3svc/AspAllowOutOfProcComponents True


Regards,
Wee Siong

0
 
LVL 7

Accepted Solution

by:
weesiong earned 10 total points
Comment Utility
OR

   <%
     ' Get the IIsWebService Admin Object
     Set WebServObj = GetObject("IIS://LocalHost/W3svc")

     ' Enable the AspAllowOutOfProcComponents Parameter
     WebServObj.Put "AspAllowOutOfProcComponents", True

     ' Save the changed value to the metabase
     WebServObj.SetInfo
    %>

from: http://support.microsoft.com/support/kb/articles/Q184/6/82.ASP

Regards,
Wee SIong
0
 
LVL 3

Author Comment

by:n_narayanan
Comment Utility
Thanks. Now it is working.
0
 
LVL 7

Expert Comment

by:weesiong
Comment Utility
n_narayanan,

Then mean you need to give me in Grade A, please make an ATTENTION in accept answer, if not in future no more peoples will help you again.

Regards,
Wee Siong
0
 
LVL 3

Author Comment

by:n_narayanan
Comment Utility
Ok.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now