Another good idea.  Unfortunately not the answer.

I did try this earlier but only by dropping a TSession object on the
form and modifying the PrivateDir setting for that - so the CGI apps had
the same PrivateDir setting for the default Session object (blank,
indicating that it would use the current Windows directory, which, of
course, was the same for all CGI apps).

I just tried modifying the PrivateDir setting of the default Session
object (a different value for each CGI application, and a directory not
used by anything else), but still no luck.

The search continues.... :)

Regards,

Bevan


Stephen Barker wrote:
> 
> I would definately be setting the private dir to somewhere where you know
> you have the right permissions. I have had similar problems with ISAPI using
> BDE as well as non-BDE (DBISAM). Otherwise the first app may be OK, but it
> or something else changes the current dir and the second app fails. i.e.
> don't rely on the current dir for temp files.
> 
> Netdir shouldn't matter unless BDE uses the net file along with paradox temp
> tables, but set that as well anyway.
> 
> regards,
> Steve
> 
> > -----Original Message-----
> > From: Bevan Edwards [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, 17 April 2001 13:34
> > To: Multiple recipients of list delphi
> > Subject: Re: [DUG]: BDE Error $2B32
> >
> >
> >
> > Thanks for the suggestion Nello.
> > Unfortunately, the permissions must be fine because IIS will
> > launch one
> > (*any* one of the CGI applications) without any problems.  It's only
> > subsequent CGI apps that have problems.
> >
> > I have modified the code so that it reports all error
> > information to me,
> > as well as the Session information.  Curiously enough the PRIVDIR and
> > NETDIR settings of the default Session component are blank,
> > so I assume
> > that they are defaulting to something useful (such as current
> > directory
> > and the BDE Admin setting for NETDIR).  Also, the current working
> > directory is (drive):\inetpub\wwwroot, which I have also
> > tried changing
> > to something that is definitely accessible to everyone, but without
> > success.
> >
> > I wouldn't have thought that the PRIVDIR or NETDIR settings would have
> > made a difference though, as those are s'posed to be for
> > Paradox stuff,
> > not ODBC/MSSQL.
> >
> > I'll look into the permissions for the anonymous user again but, from
> > memory, I actually gave read/write/etc. permissions to
> > "Everyone", which
> > should include IUSR_*
> >
> > Regards,
> >
> > Bevan
> >
> >
> >
> > Nello Sestini wrote:
> > >
> > > > However, if I didn't manually start the first CGI
> > application from the
> > > > Administrator login (ie. I let IIS start it as
> > requested), then that's
> > > > when I get this error.
> > > >
> > > > Does any body have any other ideas why this is happening?
> > >
> > > unless I am mistaken (always a possibility) IIS doesn't run CGI
> > > apps as "system"
> > >
> > > they run as the "IIS anonymous user" which is usually set up
> > > initially as something like IUSR_FOO where FOO is the name of
> > > the machine hosting IIS.   The name of this user is in the
> > > IIS configuration.
> > >
> > > this user needs to have access to the CGI directory - also
> > > to registry keys like
> > >
> > > HKLM\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters\Script Map
> > >
> > > (on NT4 - not sure about Win2k)
> > >
> > > plus who knows whatever else depending on what your script does.
> > >
> > > Since you're getting an error from the BDE it sounds like
> > > your IUSR_FOO user has correct permissions to get the script
> > > off the ground, but has some DB access problem or problem
> > > with access to the BDE directories or private directories.
> > >
> > > -ns
> > >
> > >
> > --------------------------------------------------------------
> > -------------
> > >     New Zealand Delphi Users group - Delphi List -
> > [EMAIL PROTECTED]
> > >                   Website: http://www.delphi.org.nz
> > > To UnSub, send email to: [EMAIL PROTECTED]
> > > with body of "unsubscribe delphi"
> >
> > --
> > Bevan Edwards                         mailto:[EMAIL PROTECTED]
> > Achieve Software Limited              http://www.achieve.co.nz
> > Phone:        (64-9) 444-4210                 ICQ: 732011
> > Fax:  (64-9) 444-4201
> > Mobile:       (64-21) 979-603
> > --------------------------------------------------------------
> > -------------
> >     New Zealand Delphi Users group - Delphi List -
> > [EMAIL PROTECTED]
> >                   Website: http://www.delphi.org.nz
> > To UnSub, send email to: [EMAIL PROTECTED]
> > with body of "unsubscribe delphi"
> >
> ---------------------------------------------------------------------------
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"

-- 
Bevan Edwards                           mailto:[EMAIL PROTECTED]
Achieve Software Limited                http://www.achieve.co.nz
Phone:  (64-9) 444-4210                 ICQ: 732011
Fax:    (64-9) 444-4201
Mobile: (64-21) 979-603
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to