RE: [PHP4BETA] OBDC problem on WinNT
| From: | Andrew Smith | Date: | Wed, 24 May 2000 08:50:56 +0000 |
| Subject: | RE: [PHP4BETA] OBDC problem on WinNT | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-15646@lists.php.net to get a copy of this message | ||
Hi,
They need to be System DSN's
Andrew
> -----Original Message-----
> From: Serigne F Diop [mailto:sfdiop01@stratos.net]
> Sent: Wednesday, May 24, 2000 4:39 PM
> To: php4beta@lists.php.net
> Subject: [PHP4BETA] OBDC problem on WinNT
>
>
> Hi all
>
> here is the plot:
> same SQL server database,
> two DSN: DSN_SQL1 created prior to Php install, DSN_SQL2 create after
> install, but same parameters.
> same MS Access database,
> two DSN: DSN_ACC1 created prior to Php install, DSN_ACC2 create after
> install, but same parameters.
>
> odbc_connect("DSN_SQL2","","");
> and
> odbc_connect("DSN_ACC2","","");
>
> both return the error below:
>
> Warning: SQL error: [Microsoft][ODBC Driver Manager] Data source name not
> found and no default driver specified, SQL state IM002 in SQLConnect
>
>
> But both DSN_SQL1 and DSN_ACC1 work fine.
>
> Anyone knows what's going on here!!!!????
>
> Running: WinNT4 sp6, mdac2.5, php4.0, access97, sql7.0
>
>
> Falou
>
>
> --
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> For additional commands, e-mail: php4beta-help@lists.php.net
> To contact the list administrators, e-mail: php4beta-admin@lists.php.net