I'm trying to access an access databse located in my LAN thru php. When I run the script, I get the below error in Apache's error log file: "[strong]PHP Fatal error: Uncaught exception 'com_exception' with message 'Source: Microsoft OLE DB Provider for ODBC Drivers Description: Operation was canceled.' in C:\WAMP\httproot\x1.php:6nStack trace:n#0 C:\WAMP\httproot\x1.php(6): com->open('DRIVER={Microso...')n#1 {main}n thrown in C:\WAMP\httproot\x1.php on line 6[/strong]". Any idea what is causing this and why my php cannot access the db in da network ?
Software/Hardware used:
Apache 2.2.8 (win 32), Php 5.2.6 (win 32), Ms Access 2002
ASKED:
November 19, 2009 5:22 AM
UPDATED:
January 22, 2010 7:32 PM
I would look at network share permissions. Apache/PHP runs as a specific user on the machine. Does that user have permissions to access that file share?