J
Jason L James
Hi all,
I am trying to browse a table in my MS Access DB
from a web form, using a bound datagrid. The DB
is populated, and the grid in on the web form. When
I execute the following code:
daDrawings.Fill(DsDrawings1.tblDrawing)
daIssue.Fill(DsDrawings1.tblIssue)
DataGrid1.DataSource = DsDrawings1.tblDrawing
DataGrid1.DataBind()
I get the following error:
I am using a typed dataset. I have set the permission on the folder
that contains the MDB file and the access permissions to the file
itself for the Internet Guest Account on my machine and yet I still
get this error. The DB doesn't appear to be open.
Does anyone know what might be going wrong?
Many thanks,
Jason.
I am trying to browse a table in my MS Access DB
from a web form, using a bound datagrid. The DB
is populated, and the grid in on the web form. When
I execute the following code:
daDrawings.Fill(DsDrawings1.tblDrawing)
daIssue.Fill(DsDrawings1.tblIssue)
DataGrid1.DataSource = DsDrawings1.tblDrawing
DataGrid1.DataBind()
I get the following error:
The Microsoft Jet database engine cannot open the file 'C:\Documents
and Settings\jason\My Documents\Visual Studio
Projects\Cascades\myDB.mdb'. It is already opened exclusively by
another user, or you need permission to view its data.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.
Exception Details: System.Data.OleDb.OleDbException: The Microsoft Jet
database engine cannot open the file 'C:\Documents and
Settings\jason\My Documents\Visual Studio
Projects\Cascades\myDB.mdb'.It is already opened exclusively by
another user, or you need permission to view its data.
Source Error:
Line 154: 'Put user code to initialize the page here
Line 155:
Line 156: daDrawings.Fill(DsDrawings1.tblDrawing)
Line 157: daIssue.Fill(DsDrawings1.tblIssue)
Line 158:
I am using a typed dataset. I have set the permission on the folder
that contains the MDB file and the access permissions to the file
itself for the Internet Guest Account on my machine and yet I still
get this error. The DB doesn't appear to be open.
Does anyone know what might be going wrong?
Many thanks,
Jason.