Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't add security object from another server

Status
Not open for further replies.

rhyno2k

IS-IT--Management
Jun 9, 2001
222
US
Hi,


I have a PHP script (on IIS 6) that needs to connect to an Access database (.mdb) on a different network server. I'm trying to connect to it via ODBC but keep getting the same error:
Code:
Warning: odbc_connect() [function.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 D:\Web\Sites\mysite\partsearch.php on line 52

I'm assuming this is a permissions issue...

I can browse to the .mdb file fine from the web server. I cannot add "WEBSERV\IUSR_WEBSERV" to the Security tab of the database folder -- it only will let me select accounts from the domain controller [sad]. However, even when I assign "Everyone" Full Control over the folder storing the database, I still get the above error in my PHP script.

If I copy the .mdb file locally on the web server, I can connect fine... but the .mdb needs to reside on the file server!

Any ideas on how I can get this working?
Why can't I access the web server computer object in "Select Users, Computers, or Groups"?


Thanks,
--RHYNO
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top