RE: software.log problem
> I guess it must be a permissions problem i.e. although I am > allowed to connect, create temp files etc. Apache cannot. > Does that make sense and can I fix it? If you're admin on the machine you're trying to run this on (or know who is and can convince him/her to do this) then create a new user with the same access level as you, and set the Apache service on the machine to run as that user. If you can't do anything else, make Apache run as you. Good luck, J-S _ Jean-Sébastien Guay -- Conseiller technique - Administration -- (514) 522-9800 #4840 -- [EMAIL PROTECTED] ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Re: software.log problem
I have noticed that when I simply execute a Perl script outside of a browser it successfully connects to my Access database and retrieves data. On running the same script within the browser it fails to connect. I guess it must be a permissions problem i.e. although I am allowed to connect, create temp files etc. Apache cannot. Does that make sense and can I fix it? Please forgive the very basic nature of this question! Thanks, Darragh On Monday 10 November 2003 17:15, Jenda Krynicky wrote: > From: "Darragh O'Brien" <[EMAIL PROTECTED]> > > > I've set up sample DB in Access. I have a Perl/CGi script > > which talks to it using DBI and ODBC. However, this only > > works when logged in as administrator. My DBI->connect() > > fails when logged is a normal user. I think the problem is > > that Perl wants to write to > > > > c:\winnt\system32\config\software.log > > > > Users (i.e. students) under our installation do not have access > > to this directory and file. Is there any way around this without > > altering our installation? ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
RE: software.log problem
I have never had any problem using DBI or DBD::ODBC without admin privileges. Where is the code that wants to write to c:\winnt\system32\config\software.log? If you are using IIS, you may want to verify the anonymous user account (IUSR_machinename) has read/write access to the Access .mdb file. Peter Guzis Web Administrator, Sr. ENCAD, Inc. - A Kodak Company email: [EMAIL PROTECTED] www.encad.com -Original Message- From: Darragh O'Brien [mailto:[EMAIL PROTECTED] Sent: Saturday, November 08, 2003 5:03 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: software.log problem Hi, I've set up sample DB in Access. I have a Perl/CGi script which talks to it using DBI and ODBC. However, this only works when logged in as administrator. My DBI->connect() fails when logged is a normal user. I think the problem is that Perl wants to write to c:\winnt\system32\config\software.log Users (i.e. students) under our installation do not have access to this directory and file. Is there any way around this without altering our installation? Thanks, Darragh ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs