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

ODBC dBase error

Status
Not open for further replies.

MikeT

IS-IT--Management
Feb 1, 2001
376
US
I've created an ASP page to search multiple databases, even if the user is currently logged into their database. This has been setup successfully in 4 offices. Now we are trying to set it up in another office, but if the user is logged in, I get this message when I try to setup the System DSN: "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." This message box is titled "ODBC dBase Driver Login Failed" I have the latest MDAC, and setup everything the same as the other offices.
 
Actually; I decided to bypass the DSN connection with the following string":
Code:
Driver={Microsoft dBASE Driver(*.dbf)};
DriverID=277;Dbq=c:\mydb;
then I can access the db with:
Code:
SELECT * FROM mydb.dbf
But ONLY if no one else is in it. None of the other locations where I set this up do this. I think its within the driver itself, but I have installed MDAC 2.7. I'm thinkng about looking for a way to unstall my current MDAC, and re-install 2.7. Who knows....
 
im sorry; i didn't answer your question!

It is an ACT 4.o dbf file.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top