|
Peter
I too had 'process space' problems with IIS. My solution was to make
an out-of-process ActiveX server and use DCOMCNFG to launch it as the
interactive user. Check to see if IBM CA/400 Objects show in the
out-of-process listing of DCOMCNFG. You may be able to control the
processes in the same way as I. Be forewarned, IIS4.0 will has an
ASPAllowOutOffProcess metabase entry changed to a value of '1' from '0'.
IIS5.0 is set to do it by default.
Ken Slaugh (707) 795-1512 x118
Chouinard & Myhre, Inc.
AS/400 Professional Administrator/MSE
Client Access Specialist
http://www.cm-inc.com/
"Peter Dow"
<pcdow@yahoo.com> To:
<MIDRANGE-L@midrange.com>
Sent by: cc:
owner-midrange-l@mi Subject: Re: Client Access
environments
drange.com
09/08/00 01:16 PM
Please respond to
MIDRANGE-L
Hi Ken,
Yes, I'm using the Active-X objects that came with CA Express. Here's my
code to see the default system and to determine the active environment:
Private Sub Form_Load()
Dim AS400Systems As New cwbx.SystemNames
Dim systemName As Variant
Debug.Print "Active environment: " & AS400Systems.ActiveEnvironment
Debug.Print "Default system....: " & AS400Systems.DefaultSystem
Debug.Print "Count.............: " & Format$(AS400Systems.Count)
End Sub
As I noted in a reply to Chris Bipes, when I run this code interactively,
it
shows "DSS" as the active environment, and CHW_DEVELOP as the default
system.
When it is run from within a CGI version, it shows "Primary Environment" as
the active, and blanks for the default system.
Since my posting to Chris, I uses OpsNav (which now controls connections
environments) to remove all environments except "My AS/400 Connections"
(the
default supplied with CA Express", and put the connections in that
environment. Then I scanned the registry and found key "My
Computer\HKEY_USERS\.DEFAULT\Software\IBM\Client Access
Express\CurrentVersion" that has a string "Current Environment" that
contained the value "Primary Environment". I changed it to "My AS/400
Connections" and the debug window now shows "My AS/400 Connections" but
still no default system and a zero count of systems.
As I understand it, my CGI version is running in the IIS's process space
and
the interactive one in my process space. But what I don't understand is why
they're apparently looking different places for the same information.
Thanks for your time,
Peter Dow
Dow Software Services, Inc.
909 425-0194 voice
909 425-0196 fax
--- Ken.Slaugh@cm-inc.com wrote:
> I'm glad to see others on this list working
> with VB and DataQs. I have
> numerous project using the techniques you are
> currently coding. But I
> wonder, did you look around for ActiveX objects to
> fulfill your needs or
> are you like the rest of us and have to code this
> stuff yourself before you
> can trust it? I spent a year and a half coding with
> the CA/400 API and I
> didn't use them all either. I did though, devote my
> entire efforts to
> creating an ActiveX set of objects to reuse over and
> over again. This has
> turned the CA/400 interface using VB into a truly
> RAD environment to work
> in. Less coding and debugging has been a HUGE
> payoff.
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to
MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator:
david@midrange.com
+---
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to
MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator:
david@midrange.com
+---
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.