OleDbException (0x80004005):

From: Gary (GHopson_at_triad.rr.com)
Date: 04/21/04


Date: Tue, 20 Apr 2004 20:48:41 -0700

To anyone with more knowledge than I have wit .NET
(Basically Everyone),

I can not get past the following error :

Server Error in '/adonetsbs/Chapter 12/VB/WebForms -
Finish' Application.
----------------------------------------------------------
----------------------

The Microsoft Jet database engine cannot open the
file 'C:\adonetsbs\SampleDBs\nwind.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:\adonetsbs\SampleDBs\nwind.mdb'. It is already
opened exclusively by another user, or you need
permission to view its data.

Source Error:

Line 116: Me.dsMaster1 = CType(Session
("dsMaster"), DataSet)
Line 117: Else
Line 118: Me.daCategories.Fill
(Me.dsMaster1.Categories)
Line 119: Me.daProducts.Fill
(Me.dsMaster1.Products)
Line 120: Me.daOrders.Fill(Me.dsMaster1.Orders)
 

Source File: c:\inetpub\wwwroot\adonetsbs\Chapter 12
\VB\WebForms - Finish\WebForm1.aspx.vb Line: 118

Stack Trace:

[OleDbException (0x80004005): The Microsoft Jet database
engine cannot open the
file 'C:\adonetsbs\SampleDBs\nwind.mdb'. It is already
opened exclusively by another user, or you need
permission to view its data.]
   System.Data.OleDb.OleDbConnection.ProcessResults(Int32
hr)
   System.Data.OleDb.OleDbConnection.InitializeProvider()
   System.Data.OleDb.OleDbConnection.Open()
   System.Data.Common.DbDataAdapter.QuietOpen
(IDbConnection connection, ConnectionState& originalState)
   System.Data.Common.DbDataAdapter.FillFromCommand
(Object data, Int32 startRecord, Int32 maxRecords, String
srcTable, IDbCommand command, CommandBehavior behavior)
   System.Data.Common.DbDataAdapter.Fill(DataTable
dataTable, IDbCommand command, CommandBehavior behavior)
   System.Data.Common.DbDataAdapter.Fill(DataTable
dataTable)
   WebForms___Start.WebForm1.Page_Load(Object sender,
EventArgs e) in c:\inetpub\wwwroot\adonetsbs\Chapter 12
\VB\WebForms - Finish\WebForm1.aspx.vb:118
   System.Web.UI.Control.OnLoad(EventArgs e)
   System.Web.UI.Control.LoadRecursive()
   System.Web.UI.Page.ProcessRequestMain()

 

*****************************************************

Any Assistance would be appreciated,

Thanks,
Gary



Relevant Pages

  • Problem reading data from Access 2000
    ... Jet database engine cannot open the file ''. ... SQLSetConnectAttr failed ERROR [ODBC Microsoft Access ... Driver] The Microsoft Jet database engine cannot open the file ... need permission to view its data. ...
    (microsoft.public.dotnet.framework.adonet)
  • Access and database connection
    ... The Microsoft Jet database engine cannot open the ... or you need permission ... group Administrators, ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: error insert from asp to access
    ... Microsoft JET Database Engine ... the folder is under wwwroot with asp file and mdb file. ... Is there something with permission and LDB? ...
    (microsoft.public.inetserver.asp.db)
  • Re: Access / Security
    ... The Microsoft Jet database engine cannot open the file ... or you need permission to view its data. ... > I am using Integrated Windows authentication. ...
    (microsoft.public.inetserver.asp.general)