Re: Access connection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

probably you have to set necessary permissions to your
database file under Windows.

HTH
Piotr

--- Matt Murphy <mmurphy@xxxxxxxxxxx> wrote:

>  
> 
> All, 
> 
> I'm moving a LAMP site to windows and I'm having one
> small hurdle. I'm
> trying to connect to an access db that's used by our
> UPS software, so I
> can access status of shipments. I'm using an odbc
> connection, and
> amazingly, while it works under linux, it does not
> under windows! I've
> set the odbc config in the control panel to what I
> think should be
> correct, but I'm getting this error:
> 
> Warning: odbc_connect(): SQL error: [Microsoft][ODBC
> Microsoft Access
> Driver] The Microsoft Jet database engine cannot
> open the file
> '(unknown)'. It is already opened exclusively by
> another user, or you
> need permission to view its data., SQL state S1000
> in SQLConnect in
> C:\www\html\portal\ups_tracking.php on line 126
> 
> Line 126 is: $myDB = odbc_connect('UPSDB','','');
> 
> Thanks!
> 
> Matt
> 
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux