Solved

AspAllowOutOfProc

Posted on 2001-07-18
5
250 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

739 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