Gossamer Forum
Home : Products : DBMan : Installation :

NT problem

Quote Reply
NT problem
Hello there.

I am trying to install DBMan on a NT server.
Everything works okay but when I try to add a record I get this error:

CGI ERROR
==========================================
Error Message : error in add_record. unable to open database: d:/www2/foto/cgi-bin/dbman/database/nyheder.db.
Reason: Permission denied
Script Location : d:\www2\foto\cgi-bin\dbman\db.cgi
Perl Version : 5.00503
Setup File : nyheder.cfg
User ID : default

What do I do wrong?

Thanks,
Preggy

Quote Reply
Re: NT problem In reply to
Chmod the database directory to 777 and the .db file to 666

Paul Wilson.
http://www.wiredon.net/gt/
http://www.perlmad.com/
Quote Reply
Re: NT problem In reply to
Paul,

You cannot chmod on Windows NT servers.

preggy,

If you have physical access or remote admin access to the server, you need to change the permissions of the .db and .pass and .log files to:

EVERYONE: READ, WRITE
ADMIN: FULL CONTROL
IWAM/MACHINENAME: FULL CONTROL
IUSR/MACHINENAME: READ, WRITE

If you do not have physical access or remote admin access, then ask your hosting company to change the permissions accordingly.



Regards,

Eliot Lee
Quote Reply
Re: NT problem In reply to
Ugh...serves me right for not reading the thread title.

Paul Wilson.
http://www.wiredon.net/gt/
http://www.perlmad.com/