|
 |
asp_components thread: Server object error 'ASP 0196 ' ( AspAllowOutOfProcComponents )
Message #1 by aliboulac@h... on Wed, 12 Jul 2000 6:12:29
|
|
Hello,
I have a Dcom which I call in my asp file, but always this problem :
Server object error 'ASP 0196 : 80040154'
Cannot launch out of process component
/default.asp, line 14
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.
Thanks for help
Message #2 by "amitabh@k... on Wed, 12 Jul 2000 07:08:17 -0400
|
|
This is the result of an ASP safety mechanism that prevents executables
(but not DLLs) from being launched directly from
ASP.
use the following code to allow Out of ProcessComponents
<%
' Get the IIsWebService Admin object
Set oWebService =3D GetObject("IIS://LocalHost/W3svc")
' Enable AspAllowOutOfProcComponents
oWebService.Put "AspAllowOutOfProcComponents", True
' Save the changed value to the metabase
oWebService.SetInfo
%>
this URL would be helpful to u,
http://msdn.microsoft.com/workshop/server/components/outproc.asp
Original Message:
-----------------
From: aliboulac
Date: Wed, 12 Jul 2000 6:12:29
Subject: [asp_components] Server object error 'ASP 0196 ' ( AspAllowOutOfProcComponents )
Hello,
I have a Dcom which I call in my asp file, but always this problem :
Server object error 'ASP 0196 : 80040154'
Cannot launch out of process component
/default.asp, line 14
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.
Thanks for help
Message #3 by Ahmed Mahmoud <AM@i...> on Wed, 12 Jul 2000 18:16:13 +0200
|
|
thank you for the explination
how can i catch the IP address of the user or the machine name using ASP
> -----Original Message-----
> From: amitabh
> Sent: 12 July, 2000 1:08 PM
> To: ASP components
> Subject: [asp_components] Re: Server object error 'ASP 0196 ' (
> AspAllowOutOfProcComponents )
>
> This is the result of an ASP safety mechanism that prevents
> executables
> (but not DLLs) from being launched directly from ASP.
>
> use the following code to allow Out of ProcessComponents
> <%
> ' 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
> %>
>
> this URL would be helpful to u,
> http://msdn.microsoft.com/workshop/server/components/outproc.asp
>
> Original Message:
> -----------------
> From: aliboulac
> Date: Wed, 12 Jul 2000 6:12:29
> Subject: [asp_components] Server object error 'ASP 0196 ' (
> AspAllowOutOfProcComponents )
>
>
> Hello,
> I have a Dcom which I call in my asp file, but always this problem :
>
> Server object error 'ASP 0196 : 80040154'
> Cannot launch out of process component
> /default.asp, line 14
> 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.
>
> Thanks for help
>
Message #4 by "Amitabh" <amitabh@k...> on Thu, 13 Jul 2000 11:42:4
|
|
Try the server-variable REMOTE_ADDR
<%
Request.ServerVariables(REMOTE_ADDR)
%>
Message #5 by Elisei Craciun <Ecraciun@G...> on Thu, 13 Jul 2000 12:46:22 +0100
|
|
Request.ServerVariables("REMOTE_ADDR")
your forget quotes
-----Message d'origine-----
De : Amitabh
Envoy=E9 : jeudi 13 juillet 2000 03:00
=C0 : ASP components
Objet : [asp_components] Re: Server object error 'ASP 0196 ' ( AspAl
lowOutOfProcComponents )
Try the server-variable REMOTE_ADDR
<%
Request.ServerVariables(REMOTE_ADDR)
%>
|
|
 |