Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8627

Re: Problems with ODBC drivers in Windows 7 64-bit

$
0
0

Both are using the username, password, and dns.

 

For example:

  $sybase_username = qq{'username'};

    $sybase_password = qq{'password'};

    $ENV{DBI_USER} = $sybase_username;

    $ENV{DBI_PASS} = $sybase_password;

   

    my $dsn = 'dbi:ODBC:Micros';

    my $dbh = DBI->connect($dsn, $sybase_username, $sybase_password);

 

It is one connection.  It will execute one query without a problem, but even if I add a join to the query it will fail.

 

The ODBC administrator reports that the connection is successful.

 

Here is the output of the ODBC trace:

 

Fri Feb 28 2014 15:13:00

15:13:00 Attempting to connect using:

UID=support;PWD=********;DBN=micros;DBF=D:\MICROS\Database\Data\micros.db;ENG=sqlMCRSERVER;START=D:\MICROS\Common\Bin\SrvcStartDB.exe;CON=SQL_DBC_3d536a0;ASTOP=YES;INT=NO;DBG=YES;LOG=C:\Users\Manager\Documents\odbclog.txt;DMRF

15:13:00 Attempting to connect to a running server...

15:13:00 Trying to start SharedMemory link ...

15:13:00     SharedMemory link started successfully

15:13:00 Attempting SharedMemory connection (no sasrv.ini cached address)

15:13:00 Connected to server over SharedMemory

15:13:00 Connected to SQL Anywhere Server version 11.0.1.2596

15:13:00 Application information:

15:13:00 IP=192.168.100.250;HOST=MCRSERVER;OSUSER=SYSTEM;OS='Windows 7 Build 7601 Service Pack 1';EXE='C:\Program Files (x86)\Vigilix\Bin\VxAgent.exe';PID=0xf48;THREAD=0x550;VERSION=11.0.1.2472;API=ODBC;TIMEZONEADJUSTMENT=-360

15:13:00 Connected to the server, attempting to connect to a running database...

15:13:00 [37765] Connected to database successfully

 

Fri Feb 28 2014 15:13:08

15:13:08 Attempting to connect using:

UID='''support''';PWD=********;DBN=micros;DBF=D:\MICROS\Database\Data\micros.db;ENG=sqlMCRSERVER;START=D:\MICROS\Common\Bin\SrvcStartDB.exe;CON=SQL_DBC_4aed838;ASTOP=YES;INT=NO;DBG=YES;LOG=C:\Users\Manager\Documents\odbclog.tx

15:13:08 Attempting to connect to a running server...

15:13:08 Trying to start SharedMemory link ...

15:13:08     SharedMemory link started successfully

15:13:08 Attempting SharedMemory connection (no sasrv.ini cached address)

15:13:08 Connected to server over SharedMemory

15:13:08 Connected to SQL Anywhere Server version 11.0.1.2596

15:13:08 Application information:

15:13:08 IP=192.168.100.250;HOST=MCRSERVER;OSUSER=Manager;OS='Windows 7 Build 7601 Service Pack 1';EXE=c:\perl\bin\perl.exe;PID=0x1a40;THREAD=0x1b1c;VERSION=11.0.1.2472;API=ODBC;TIMEZONEADJUSTMENT=-360

15:13:08 Connected to the server, attempting to connect to a running database...

15:13:08 Database is running, but could not connect to it

15:13:08 Invalid user ID or password


Viewing all articles
Browse latest Browse all 8627

Trending Articles