bioS
09-29-2003, 08:36 AM
Hi,
I'm new in ASP.NET and I'm trying to make my first page in C# with a connection to an Access database.
I've created an OleDbConnection and an OleDbDataAdapter which must fill a DataSet.
But the connection can't open and I get this error message:
The Microsoft Jet database engine cannot open the file 'C:\Inetpub\wwwroot\gallery\db\gallery.mdb'. It is already opened exclusively by another user, or you need permission to view its data.
I've tried to change the file and directory's permissions, but no way, I can't resolve it.
If I use the same code for a windows application, it works fine.
Could anyone explain me what is the problem and how to resolve it ?
I'm new in ASP.NET and I'm trying to make my first page in C# with a connection to an Access database.
I've created an OleDbConnection and an OleDbDataAdapter which must fill a DataSet.
But the connection can't open and I get this error message:
The Microsoft Jet database engine cannot open the file 'C:\Inetpub\wwwroot\gallery\db\gallery.mdb'. It is already opened exclusively by another user, or you need permission to view its data.
I've tried to change the file and directory's permissions, but no way, I can't resolve it.
If I use the same code for a windows application, it works fine.
Could anyone explain me what is the problem and how to resolve it ?