Solved

AspAllowOutOfProc

Posted on 2001-07-18
5
246 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ODBC connection string for ODBC 6.01 24 71
Need help to rewrite script 3 62
Using Classic ASP inside HTML pages 2 55
Questions about INCLUDE FILES 2 16
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…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

929 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

9 Experts available now in Live!

Get 1:1 Help Now