Solved

AspAllowOutOfProc

Posted on 2001-07-18
5
248 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
ID: 6293193
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
ID: 6293198
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
ID: 6294311
Thanks. Now it is working.
0
 
LVL 7

Expert Comment

by:weesiong
ID: 6294691
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
ID: 6296801
Ok.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

777 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