|
Hi Ken, Whoa! You're way ahead of me there. What's DCOMCNFG? Where would I change the ASPAllowOutOfProcess metabase entry were I so inclined? Is it even possible on IIS 3.0 (some of us can't afford to get too close to the bleeding edge)? For the moment at least, I've solved my particular problem by fiddling with the registry (see earlier post). But I'll keep your potential solution in mind. BTW, how can I debug my VB CGI program when it's running in the IIS process space? So far I've been using the ancient method of having the program log certain data to a file, like use the RPG DEBUG or DSPLY op code. Another problem is when the VB program gets an error while running under IIS. It gets stuck as a separate task that the NT task manager won't let me kill. Starting and stopping the Web Publishing service doesn't get rid of it. Logging off and on doesn't get rid of it. I have to reboot to get rid of it. Have you run into that little problem? Sorry if this is getting a little off topic. TIA, Peter Dow Dow Software Services, Inc. 909 425-0194 voice 909 425-0196 fax ----- Original Message ----- From: <Ken.Slaugh@cm-inc.com> To: <MIDRANGE-L@midrange.com> Sent: Friday, September 08, 2000 4:15 PM Subject: Re: Client Access environments > > 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 > +--- _________________________________________________________ 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 +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.