Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Unexplained error in ASP.NET


Message #1 by "Dr Eugene Loke" <eugeneloke@p...> on Sat, 25 May 2002 16:29:53 +0800
This is a multi-part message in MIME format.

------=_NextPart_000_0006_01C20409.66B1F2B0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

the server explorer can connect & i can even edit my mdb file
but asp.net seems to be unable to.
 
no passwords set
pls help
 
eugene loke

Server Error in '/test' Application. 

  _____  



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

Source Error: 



Line 92:         'Put user code to initialize the page here

Line 93:         DataSet11.Clear()

Line 94:         OleDbDataAdapter1.Fill(DataSet11)

Line 95:         DataGrid1.DataBind()

Line 96:     End Sub

Source File: C:\Inetpub\wwwroot\test\WebForm1.aspx.vb    Line: 94 

Stack Trace: 



[OleDbException (0x80004005): The Microsoft Jet database engine cannot
open the file 'C:\Documents and Settings\lokee.NOVASPRINT\My
Documents\test.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.Fill(Object data, Int32 startRecord,
Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior
behavior)

   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32
startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
CommandBehavior behavior)

   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)

   test.WebForm1.Page_Load(Object sender, EventArgs e) in
C:\Inetpub\wwwroot\test\WebForm1.aspx.vb:94

   System.Web.UI.Control.OnLoad(EventArgs e)

   System.Web.UI.Control.LoadRecursive()

   System.Web.UI.Page.ProcessRequestMain()



  _____  

Version Information: Microsoft .NET Framework Version:1.0.3705.0;
ASP.NET Version:1.0.3705.0 


Message #2 by "Minh T. Nguyen" <nguyentriminh@y...> on Sat, 25 May 2002 01:34:44 -0700
This is a multi-part message in MIME format.

------=_NextPart_000_0009_01C2038C.59596210
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Eugene,
 
    The ASP.NET worker process does not have rights to your My Documents
folder. Consider moving the mdb to your actual folder where you have
your .aspx files. Or, consider giving the ASP.NET worker process more
rights (which might be a security issue), by changing the processModel's
username attribute in the machine.config from "MACHINE" to "SYSTEM".
 
Hope this helps,
Minh.
 
 
-----Original Message-----
From: Dr Eugene Loke [mailto:eugeneloke@p...] 
Sent: Saturday, May 25, 2002 1:30 AM
To: ASP+
Subject: [aspx] Unexplained error in ASP.NET


the server explorer can connect & i can even edit my mdb file
but asp.net seems to be unable to.
 
no passwords set
pls help
 
eugene loke

Server Error in '/test' Application. 

  _____  



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

Source Error: 



Line 92:         'Put user code to initialize the page here

Line 93:         DataSet11.Clear()

Line 94:         OleDbDataAdapter1.Fill(DataSet11)

Line 95:         DataGrid1.DataBind()

Line 96:     End Sub

Source File: C:\Inetpub\wwwroot\test\WebForm1.aspx.vb    Line: 94 

Stack Trace: 



[OleDbException (0x80004005): The Microsoft Jet database engine cannot
open the file 'C:\Documents and Settings\lokee.NOVASPRINT\My
Documents\test.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.Fill(Object data, Int32 startRecord,
Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior
behavior)

   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32
startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
CommandBehavior behavior)

   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)

   test.WebForm1.Page_Load(Object sender, EventArgs e) in
C:\Inetpub\wwwroot\test\WebForm1.aspx.vb:94

   System.Web.UI.Control.OnLoad(EventArgs e)

   System.Web.UI.Control.LoadRecursive()

   System.Web.UI.Page.ProcessRequestMain()



  _____  

Version Information: Microsoft .NET Framework Version:1.0.3705.0;
ASP.NET Version:1.0.3705.0 
--- 


Message #3 by Feduke Cntr Charles R <FedukeCR@m...> on Tue, 28 May 2002 08:49:43 -0400
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C20646.2359A4B0
Content-Type: text/plain

In addition, ensure you have the *.mdb not in table design mode or report
design mode (or a variety of other things, just close it to be sure),
because this "locks" the database.
 
- Chuck

-----Original Message-----
From: Minh T. Nguyen [mailto:nguyentriminh@y...]
Sent: Saturday, May 25, 2002 4:35 AM
To: ASP+
Subject: [aspx] RE: Unexplained error in ASP.NET


Eugene,
 
    The ASP.NET worker process does not have rights to your My Documents
folder. Consider moving the mdb to your actual folder where you have your
.aspx files. Or, consider giving the ASP.NET worker process more rights
(which might be a security issue), by changing the processModel's username
attribute in the machine.config from "MACHINE" to "SYSTEM".
 
Hope this helps,
Minh.
 
 
-----Original Message-----
From: Dr Eugene Loke [mailto:eugeneloke@p...] 
Sent: Saturday, May 25, 2002 1:30 AM
To: ASP+
Subject: [aspx] Unexplained error in ASP.NET


the server explorer can connect & i can even edit my mdb file
but asp.net seems to be unable to.
 
no passwords set
pls help
 
eugene loke

Server Error in '/test' Application. 

  _____  



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

Source Error: 



Line 92:         'Put user code to initialize the page here

Line 93:         DataSet11.Clear()

Line 94:         OleDbDataAdapter1.Fill(DataSet11)

Line 95:         DataGrid1.DataBind()

Line 96:     End Sub

Source File: C:\Inetpub\wwwroot\test\WebForm1.aspx.vb    Line: 94 

Stack Trace: 



[OleDbException (0x80004005): The Microsoft Jet database engine cannot open
the file 'C:\Documents and Settings\lokee.NOVASPRINT\My Documents\test.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.Fill(Object data, Int32 startRecord,
Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior
behavior)

   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord,
Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior
behavior)

   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)

   test.WebForm1.Page_Load(Object sender, EventArgs e) in
C:\Inetpub\wwwroot\test\WebForm1.aspx.vb:94

   System.Web.UI.Control.OnLoad(EventArgs e)

   System.Web.UI.Control.LoadRecursive()

   System.Web.UI.Page.ProcessRequestMain()



  _____  

Version Information: Microsoft .NET Framework Version:1.0.3705.0; ASP.NET
Version:1.0.3705.0 
--- 
to unsubscribe send a blank email to  --- 



  Return to Index