PHP and MS Access Database

5 pts.
Tags:
Access Database
Microsoft Access
PHP
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

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Gent01
    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?
    1,870 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following