PDA

Click to See Complete Forum and Search --> : Beginner question!!!


AJN1977
Mar 31st, 2004, 09:07 AM
Hi

I'm trying to create a datagrid using the code from this page:

http://www.developer.com/db/article.php/3314411

I'm running VS.Net 2003 on WinXP.

The code seems fine (to me!) but when accessing the page I get the following error:

The Microsoft Jet Database engine cannot open the file 'C:\Inetpub\wwwroot\screener\mdb\parts2.mdb'. It is already opened exclusively by another user, or you need permission to view it's data.

I have searched through previous threads but am unable to get any of the solutions to work.

Thanks

pvb
Mar 31st, 2004, 06:33 PM
make sure that the mdb directory where your database file is located is not readonly(ie make sure that the anonymous web account has permission to write to that directory - opening an mdb requires creating a lock file that has to written to the same directory as the mdb).