You need to create an asp file containing the following:
(EG:AllowOutOfProc.asp)
<% '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 %>
Put it somewhere like wwwroot and open http://localhost/AllowOutOfProc.asp
This will update the IIS metabase ... job done.
BTW: I recommend you get an MSDN CD (The knowledge of the anti-christ is
vast, he has amassed much knowledge in his time on earth)
FYI:
<% 'Create Object
On Error Resume Next
Set objJeremy = Server.CreateObject("Jeremy.Application")
If Err.Number = {someErrorNumber} Then
'Give the user a helpful error message instead of the usual
cryptic crap
Response.Write("Couldn't start Jeremy's fantastic
application. You must have done something wrong.")
End If
On Error Goto 0
If IsObject(objJeremy) Then
'Other shit
End If %>
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jeremy Coulter
Sent: Thursday, 5 August 1999 16:53
To: Multiple recipients of list offtopic
Subject: RE: [DUG-OFFTOPIC]: Calling DCOM From ASP Pages
Todd, where do I do this and how ?
Thanks Jeremy Coulter
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Todd Somervell
> Sent: Thursday, August 05, 1999 14:30
> To: Multiple recipients of list offtopic
> Subject: RE: [DUG-OFFTOPIC]: Calling DCOM From ASP Pages
>
>
> Yeah.
>
> To instantiate an ActiveX EXE you will also need to set
> AllowASPOutOfProcComponents to True.
>
> Todd
>
> -----Original Message-----
> From: Jeremy Coulter [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 5 August 1999 13:17
> To: Multiple recipients of list offtopic
> Subject: [DUG-OFFTOPIC]: Calling DCOM From ASP Pages
>
>
> Hi All.
> Moved this to offtopic cos its now gotVERY off topic
>
> I have created my Dcom server ok, and my client and server apps work
> fine, but how do I access my server from an ASP page via VBScript ?
>
> Do I still use Server.CreateObject() ??
>
> Cheers, Jeremy Coulter
> ------------------------------------------------------------------
> ---------
> New Zealand Delphi Users group - Offtopic List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
>
---------------------------------------------------------------------------
New Zealand Delphi Users group - Offtopic List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
New Zealand Delphi Users group - Offtopic List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz