wayko Posted March 11, 2003 Posted March 11, 2003 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 Quote
*Experts* Nerseus Posted March 11, 2003 *Experts* Posted March 11, 2003 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 Quote "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
Cassio Posted March 11, 2003 Posted March 11, 2003 Yeah, when you have the structure of a table or a query openned you cant connect it from anywhere. Quote Stream of Consciousness (My blog)
wayko Posted March 11, 2003 Author Posted March 11, 2003 nothing is open i checked task manager to make sure still the same error and i am getting it on other databases as well Quote
*Experts* Nerseus Posted March 11, 2003 *Experts* Posted March 11, 2003 Again, what does your connection string look like? :) -Nerseus Quote "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
wayko Posted March 13, 2003 Author Posted March 13, 2003 got it to work i restarted computer and permissions took affect :) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.