Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

urgent - GetObject and AspAllowOutOfProcComponent

Status
Not open for further replies.

Nanda

Programmer
Nov 14, 2000
104
US
Hi All,

I am almost stuck with my problem. I explain it. Any kind of help will be appreciated.

I m trying to run a component installed on server where my IIS server is installed. The component is an Exe (also run as stand alone application) and I can run it on server.

1. Invoking this exe from ASP using CreateObject, gives error as...
Cannot launch out of process...Only InProc server components be used. If you want to use LocalServer components, you must set the AspAllowOutOfProcComponents metabase setting. ...

2. To solve above, I tried to run code, as I could not locate where to set AspAllowOutOfProcComponents manually???
<%
Set WebServObj = GetObject(&quot;IIS://LocalHost/W3Svc&quot;)
WebServObj.Put &quot;AspAllowOutOfProcComponents&quot;, True
WebServObj.SetInfo
%>

3. Now, pt 2 fails at the first statement itself, saying
Permission denied: GetObject

I am absolutely stuck what to do, as it is very urgent to meet my deadline and I do not know what and wher to look for this.

If anyone of kknow how to solve this/these problems, I am heartly thankful.

Thanks
Nanda
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top