odbc_connect unknown error
| From: | Alexander Fradiani | Date: | Wed, 19 Sep 2007 23:37:57 +0000 |
| Subject: | odbc_connect unknown error | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-28495@lists.php.net to get a copy of this message | ||
Hello!.
I have a problem when trying to connect to an access database:
$con = odbc_connect($dsn,$user,$pass) or die(odbc_error());
the error message i get is just this:
IM002
the $dsn var only contains the name of a data source previously created from the windows control
panel.
i already tested the $dsn making a connection with visual basic code and it works fine.
Also the user and pass are right. so i dont know what could be the problem.
I am using PHP 5.2.4-win32. with apache 2.2.4.
I really appreciate any help on this.
Alexander
_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us