May 17, 2002, 8:18 AM
Well, again I still think your Definition of $DSN is wrong. It should not be:
It should be:
my $DSN = "driver=Driver do Microsoft Access (*.mdb);dbq=\\c$\\Inetpub\\wwwroot\\test.mdb";
As for the connect call, it should use your user name and password like this:
my $DSN = "driver= Microsoft Access Driver(*.mdb);dbq=\\c$\\Inetpub\\wwwroot\\test.mdb";
Your trace should not, I am pretty sure, contain the line:
my $dbh = DBI->connect("dbi:ODBC:$DSN", "admin", "wayko621");
-> connect for DBD::ODBC::dr (DBI::dr=HASH(0x18070ec)~0x17b5ce4 'driver=Driver do Microsoft Access (*.mdb);
dbq=\c$\Inetpub\wwwroot\test.mdb' '' **** HASH(0x182ed84))
Make sure you have the dsn and connect statement as shown above.
Run the trace again and see what you get.
print unpack"u*",pack "h*",$a,"\n\n";
(This post was edited by fashimpaur on May 17, 2002, 8:19 AM)