Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

System.Data.OleDb.OleDbException: Could not lock file.

 

i get this error when i try to access a access db

 

i added aspnet as a user with full permision on both the program and my server

 

i tried working with sqlserver and it worked fine but access is no good

  • *Experts*
Posted

What does your connection string look like?

 

Do you have the database open in Access while testing your website? Access usually holds locks that prevent a normal connection from being made (I think the message is something about exclusive access to the database). Make sure you don't have the database open anywhere, then try again.

 

-Nerseus

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
  • *Experts*
Posted

Again, what does your connection string look like? :)

 

-Nerseus

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...