?
Solved

AspAllowOutOfProc

Posted on 2001-07-18
5
Medium Priority
?
252 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 30 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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 this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

743 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