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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

connecting to an Access database

Status
Not open for further replies.

oa2005

Programmer
Jul 19, 2005
1
GB
I am trying to connect to an Access database from the web using perl. Although I've been able to do this successfully through perl via the command line, when i try to do the same from an Apache web server, i get an error message about the connection.

"failed: [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-HY000)(DBD: db_login/SQLConnect err=-1)".

I've ensured that the database is closed etc.
any suggestions?
 
It also appears that you have the database open already by a user that is not the Nobody ID your webserver uses. When running this, make sure you do not have the database open in a design mode.

- Rieekan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top