Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_components thread: Re: PWS and outproc component


Message #1 by "suresh bhadra" <suresh_bhadra@r...> on 1 Jul 2002 06:25:52 -0000
Sushama,

What ur doing is correct.  Anyway once again check with msdn 
support.microsoft.com site link:
"http://support.microsoft.com/directory/article.asp?ID=KB;EN-US;Q184682&".

I think this may helpfull to you.

Regards
Suresh Bhadra

On Fri, 28 Jun 2002 SKS wrote :
>Hi,
>          I'm trying to access an out of process component from 
>my asp
>application. I'm running the application on PWS. And i'm getting  
>an error.
>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.
>
>I have read that the metabase setting has to be changed. Is this 
>the case
>for both IIS and PWS?
>How do you acheive this if you are using PWS. I have tried the 
>script
>
>' Get the IIsWebService Admin object
>     Set oWebService =GetObject("IIS:\\Localhost/W3svc")
>
>     ' Enable AspAllowOutOfProcComponents
>     oWebService.Put "AspAllowOutOfProcComponents", True
>
>     ' Save the changed value to the metabase
>     oWebService.SetInfo
>
>but this gives me a message that the path cannot be found.
>How can i tackle this situation other than using inproc 
>component.
>
>Thanks in advance,
>Sushama
>
>suresh_bhadra@r...
>%%email.unsub%%
>

_________________________________________________________
There is always a better job for you at Monsterindia.com.
Go now http://monsterindia.com/rediffin/


  Return to Index