Jet Won't Open

C

Curt Emich

I get the following error when I write any code against a connection that is
hooked to an Access database:


The Microsoft Jet database engine cannot open the file
'C:\Inetpub\wwwroot\TimeTracker\Data\TimeTracker.mdb'. It is already opened
exclusively by another user, or you need permission to view its data.


Does anyone have any idea what to do about this?
 
C

Curt Emich

Auuuughhh! I've tried everything suggested in this message and anything
related I can find on Google, but STILL I can't open Access from .NET to
save my life!!

Maybe the suicide rate among programmers would drop a little if we all just
acknolwedge that Acess CANNOT be used from .NET. Thanks for trying.
 
W

William Ryan eMVP

Hi Curt:

Access can definitely be used from .NET ;-). Have you verified that you an
open it manually? If so, then create copy the Db to your local machine to
like the C:\ drive and create a desktop app. Then use the DataAdapter
connection wizard, it will ask you for a connection, set it up to point ot
the local file on C and test the connection. It should connect. If it does,
then it's most likely a permission problem. If not, then the DB is the
problem, maybe its corrupted (although if you can open it manually then it's
not a corruption).

Let me know.

Bill
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,992
Messages
2,570,220
Members
46,807
Latest member
ryef

Latest Threads

Top