|
Posted by Rodent on 09/20/07 13:44
I have an IIS 6.0, 2003 Server running with PHP installed.
I have an access database with a DSN ODBC connection configured.
When this ODBC is configured to access the database locally - great,
works fine.
When configured to access a remote copy of this database I get the
following :
"....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 C:\Inetpub\wwwroot\PI\getdata.php on
line 3...."
I have tried to set permissions on the database stored on the
networked volume to allow the 'IUSR_servername' user on the web-server
to have rights but am unable. I've tried giving 'everyone' the full
rights to the database all to no avail.
Getting to the stage where I'm going to ask the end user to copy their
database permanantly to the server where the PHP page lives, and give
them a shortcut to it .... but .... it's reaally reaally annoying me
now and I'd like to sort it out properly.
Thanks for any help
Navigation:
[Reply to this message]
|