Hi,

I'm running PHP 4.0 on WinNT 4 with IIS and attempting to use an Access
2000 database. When I use this is a script:

  $logdb = odbc_connect("uptime", "user", "password");

it gives the following error :

  Warning: SQL error: [Microsoft][ODBC Driver Manager] Data source name
  not found and no default driver specified, SQL state IM002 in
  SQLConnect in D:\Inetpub\wwwroot\daniel\showuptime.php on line 20

I have set up a System DSN with the name 'uptime' in the ODBC
connections on the server and just can't figure out why it isn't finding
it. I haven't rebooted the server since adding the DSN but it is running
some other stuff that means rebooting is really a last resort thing.

Can anyone enlighten me to the really small obvious thing that I have
probably overlooked?

Cheers,
Daniel


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to