Thanks for the information.
Unfortunately that didn't work either.

However, I did notice some peculiar behaviour.  I logged into the web
server as administrator and manually ran the first CGI application. 
This allowed both CGI applications to work fine - the first executed by
the Administrator (manually), the second initiated by IIS (I believe it
uses the SYSTEM login when operating as a service).

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?
More particularly, is there some sort of limitation in Win2k server with
regard to the SYSTEM login and IIS?

Regards,

Bevan



Stephen Barker wrote:
> 
> Just for fun, try increasing permissions on the c:\winnt\system32 dir - I
> seem to recall some BDE issues with Win2k and this.
> 
> Gary would remember...
> 
> May even be linked with the session.privatedir setting especially if the BDE
> is creating temp files during the query.
> 
> regards,
> Steve
> 
> > -----Original Message-----
> > From: Bevan Edwards [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, 12 April 2001 15:19
> > To: Multiple recipients of list delphi
> > Subject: [DUG]: BDE Error $2B32
> >
> >
> >
> > Hi All,
> >
> > Well, we have several CGI exe applications written using CGI Expert.
> > These works fine on my system here (WinNT Server with IIS4 (?? the
> > version the ships with Win NT Option Pack 4 anyway).
> >
> > However, when run on my client's server (Win2k Server with
> > IIS5 and all
> > the latest patches), the first CGI app runs fine, but the
> > second returns
> > a BDE error $2B32 (OS Sharing Violation).
> >
> > We have managed to get around the problem for now by logging in as
> > Administrator and manually running the CGI exe's.  This works without
> > any problems at all.
> >
> > All applications are accessing an SQL Server via the BDE and
> > ODBC.  It's
> > when setting the Connected property of the TDatabase to true that the
> > error occurs.
> >
> > Apart from the OS and IIS version differences, the only other
> > difference
> > is that their SQL Server is running on another machine,
> > whereas mine is
> > on the same machine.
> >
> > Regards,
> >
> > Bevan
> > --------------------------------------------------------------
> > -------------
> >     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