Connecting Tech Pros Worldwide Help | Site Map

File in use error

Nathan Sokalski
Guest
 
Posts: n/a
#1: Nov 19 '05
I am recieving an error about not being able to use a file because it is
already in use. Based on the error, I think it is referring to my DB, but I
don't know how to avoid the error or why it is happening. Here is the error:
Server Error in '/LVBEP' Application.
--------------------------------------------------------------------------------

Could not use ''; file already in use.
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: Could not use ''; file
already in use.

Source Error:

Line 41: Dim memberadapter As New OleDb.OleDbDataAdapter("SELECT *
FROM members ORDER BY name", "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE="
& Server.MapPath("LVBEP.mdb"))
Line 42:
Line 43: memberadapter.Fill(members)
Line 44: datEditMembers.DataSource = members
Line 45: datEditMembers.DataBind()

Source File: C:\Inetpub\wwwroot\LVBEP\memberadmin.aspx.vb Line: 43

Stack Trace:

[OleDbException (0x80004005): Could not use ''; file already in use.]
System.Data.OleDb.OleDbConnection.ProcessResults(I nt32 hr) +20
System.Data.OleDb.OleDbConnection.InitializeProvid er() +57
System.Data.OleDb.OleDbConnection.Open() +203
System.Data.Common.DbDataAdapter.QuietOpen(IDbConn ection connection,
ConnectionState& originalState) +44
System.Data.Common.DbDataAdapter.FillFromCommand(O bject data, Int32
startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
CommandBehavior behavior) +304
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord,
Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior
behavior) +77
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) +38
LVBEP.memberadmin.RefreshMembers() in
C:\Inetpub\wwwroot\LVBEP\memberadmin.aspx.vb:43
LVBEP.memberadmin.Page_Init(Object sender, EventArgs e) in
C:\Inetpub\wwwroot\LVBEP\memberadmin.aspx.vb:27
System.Web.UI.Control.OnInit(EventArgs e) +67
System.Web.UI.Control.InitRecursive(Control namingContainer) +241
System.Web.UI.Page.ProcessRequestMain() +197



--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032
--
Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/


Scott Mitchell [MVP]
Guest
 
Posts: n/a
#2: Nov 19 '05

re: File in use error


Make sure your Access database file is NOT open in Windows. I.e., make
sure you are closed out of it. I don't know if that's the cause of YOUR
error, but I do know that things can get 'funky' if you have Access
opened, inspecting/modifying your database, and you try to work with it
via an ASP.NET page...

hth



Nathan Sokalski wrote:[color=blue]
> I am recieving an error about not being able to use a file because it is
> already in use. Based on the error, I think it is referring to my DB, but I
> don't know how to avoid the error or why it is happening. Here is the error:
> Server Error in '/LVBEP' Application.
> --------------------------------------------------------------------------------
>
> Could not use ''; file already in use.
> 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: Could not use ''; file
> already in use.
>
> Source Error:
>
> Line 41: Dim memberadapter As New OleDb.OleDbDataAdapter("SELECT *
> FROM members ORDER BY name", "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE="
> & Server.MapPath("LVBEP.mdb"))
> Line 42:
> Line 43: memberadapter.Fill(members)
> Line 44: datEditMembers.DataSource = members
> Line 45: datEditMembers.DataBind()
>
> Source File: C:\Inetpub\wwwroot\LVBEP\memberadmin.aspx.vb Line: 43
>
> Stack Trace:
>
> [OleDbException (0x80004005): Could not use ''; file already in use.]
> System.Data.OleDb.OleDbConnection.ProcessResults(I nt32 hr) +20
> System.Data.OleDb.OleDbConnection.InitializeProvid er() +57
> System.Data.OleDb.OleDbConnection.Open() +203
> System.Data.Common.DbDataAdapter.QuietOpen(IDbConn ection connection,
> ConnectionState& originalState) +44
> System.Data.Common.DbDataAdapter.FillFromCommand(O bject data, Int32
> startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
> CommandBehavior behavior) +304
> System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord,
> Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior
> behavior) +77
> System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) +38
> LVBEP.memberadmin.RefreshMembers() in
> C:\Inetpub\wwwroot\LVBEP\memberadmin.aspx.vb:43
> LVBEP.memberadmin.Page_Init(Object sender, EventArgs e) in
> C:\Inetpub\wwwroot\LVBEP\memberadmin.aspx.vb:27
> System.Web.UI.Control.OnInit(EventArgs e) +67
> System.Web.UI.Control.InitRecursive(Control namingContainer) +241
> System.Web.UI.Page.ProcessRequestMain() +197
>
>
>
> --------------------------------------------------------------------------------
> Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
> Version:1.1.4322.2032[/color]


--

Scott Mitchell [ASP.NET MVP]
mitchell@4GuysFromRolla.com
http://www.4GuysFromRolla.com/ScottMitchell
Nathan Sokalski
Guest
 
Posts: n/a
#3: Nov 19 '05

re: File in use error


I did not have Access (or any other programs that use Access or any Access
DBs) open at the time. I even tried restarting my computer to make sure
nothing was running in the background, but it did not help.
--
Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/

"Scott Mitchell [MVP]" <mitchell@4guysfromrolla.com> wrote in message
news:UNmXe.92$9E2.31@newssvr11.news.prodigy.com...[color=blue]
> Make sure your Access database file is NOT open in Windows. I.e., make
> sure you are closed out of it. I don't know if that's the cause of YOUR
> error, but I do know that things can get 'funky' if you have Access
> opened, inspecting/modifying your database, and you try to work with it
> via an ASP.NET page...
>
> hth
>
>
>
> Nathan Sokalski wrote:[color=green]
>> I am recieving an error about not being able to use a file because it is
>> already in use. Based on the error, I think it is referring to my DB, but
>> I don't know how to avoid the error or why it is happening. Here is the
>> error:
>> Server Error in '/LVBEP' Application.
>> --------------------------------------------------------------------------------
>>
>> Could not use ''; file already in use.
>> 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: Could not use '';
>> file already in use.
>>
>> Source Error:
>>
>> Line 41: Dim memberadapter As New OleDb.OleDbDataAdapter("SELECT
>> * FROM members ORDER BY name", "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA
>> SOURCE=" & Server.MapPath("LVBEP.mdb"))
>> Line 42:
>> Line 43: memberadapter.Fill(members)
>> Line 44: datEditMembers.DataSource = members
>> Line 45: datEditMembers.DataBind()
>>
>> Source File: C:\Inetpub\wwwroot\LVBEP\memberadmin.aspx.vb Line: 43
>>
>> Stack Trace:
>>
>> [OleDbException (0x80004005): Could not use ''; file already in use.]
>> System.Data.OleDb.OleDbConnection.ProcessResults(I nt32 hr) +20
>> System.Data.OleDb.OleDbConnection.InitializeProvid er() +57
>> System.Data.OleDb.OleDbConnection.Open() +203
>> System.Data.Common.DbDataAdapter.QuietOpen(IDbConn ection connection,
>> ConnectionState& originalState) +44
>> System.Data.Common.DbDataAdapter.FillFromCommand(O bject data, Int32
>> startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
>> CommandBehavior behavior) +304
>> System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32
>> startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
>> CommandBehavior behavior) +77
>> System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) +38
>> LVBEP.memberadmin.RefreshMembers() in
>> C:\Inetpub\wwwroot\LVBEP\memberadmin.aspx.vb:43
>> LVBEP.memberadmin.Page_Init(Object sender, EventArgs e) in
>> C:\Inetpub\wwwroot\LVBEP\memberadmin.aspx.vb:27
>> System.Web.UI.Control.OnInit(EventArgs e) +67
>> System.Web.UI.Control.InitRecursive(Control namingContainer) +241
>> System.Web.UI.Page.ProcessRequestMain() +197
>>
>>
>>
>> --------------------------------------------------------------------------------
>> Version Information: Microsoft .NET Framework Version:1.1.4322.2032;
>> ASP.NET Version:1.1.4322.2032[/color]
>
>
> --
>
> Scott Mitchell [ASP.NET MVP]
> mitchell@4GuysFromRolla.com
> http://www.4GuysFromRolla.com/ScottMitchell[/color]


Mark Rae
Guest
 
Posts: n/a
#4: Nov 19 '05

re: File in use error


"Nathan Sokalski" <njsokalski@hotmail.com> wrote in message
news:%23y$mzAKvFHA.3764@TK2MSFTNGP09.phx.gbl...
[color=blue]
> Source File: C:\Inetpub\wwwroot\LVBEP\memberadmin.aspx.vb Line: 43[/color]

1) Is Server.MapPath("LVBEP.mdb") pointing to a valid database?

2) Does the ASPNET account have sufficient permissions to do what you want
i.e. specifically to create the .ldb file which Jet uses for locking
purposes?


Nathan Sokalski
Guest
 
Posts: n/a
#5: Nov 19 '05

re: File in use error


Yes, it is pointing to a valid DB (not to mention if the DB was not ther it
would say something like file could not be found). I have also given the
ASPNET machine account access to the database. I have used the database
before in this application, but something, I don't know what, caused it to
start giving this error. I am simply having trouble finding the source of
the error (where/what in my code is causing the problem?) Thanks.
--
Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/

"Mark Rae" <mark@mark-N-O-S-P-A-M-rae.co.uk> wrote in message
news:%23NY%23zNOvFHA.3556@TK2MSFTNGP12.phx.gbl...[color=blue]
> "Nathan Sokalski" <njsokalski@hotmail.com> wrote in message
> news:%23y$mzAKvFHA.3764@TK2MSFTNGP09.phx.gbl...
>[color=green]
>> Source File: C:\Inetpub\wwwroot\LVBEP\memberadmin.aspx.vb Line: 43[/color]
>
> 1) Is Server.MapPath("LVBEP.mdb") pointing to a valid database?
>
> 2) Does the ASPNET account have sufficient permissions to do what you want
> i.e. specifically to create the .ldb file which Jet uses for locking
> purposes?
>[/color]


Pipo
Guest
 
Posts: n/a
#6: Nov 19 '05

re: File in use error


If you right click on the access DB and choose for properties is the
checkbox 'read-only' checked?
If so uncheck it.


"Nathan Sokalski" <njsokalski@hotmail.com> wrote in message
news:Oo6v46KvFHA.2948@TK2MSFTNGP15.phx.gbl...[color=blue]
> I did not have Access (or any other programs that use Access or any Access
> DBs) open at the time. I even tried restarting my computer to make sure
> nothing was running in the background, but it did not help.
> --
> Nathan Sokalski
> njsokalski@hotmail.com
> http://www.nathansokalski.com/
>
> "Scott Mitchell [MVP]" <mitchell@4guysfromrolla.com> wrote in message
> news:UNmXe.92$9E2.31@newssvr11.news.prodigy.com...[color=green]
> > Make sure your Access database file is NOT open in Windows. I.e., make
> > sure you are closed out of it. I don't know if that's the cause of YOUR
> > error, but I do know that things can get 'funky' if you have Access
> > opened, inspecting/modifying your database, and you try to work with it
> > via an ASP.NET page...
> >
> > hth
> >
> >
> >
> > Nathan Sokalski wrote:[color=darkred]
> >> I am recieving an error about not being able to use a file because it[/color][/color][/color]
is[color=blue][color=green][color=darkred]
> >> already in use. Based on the error, I think it is referring to my DB,[/color][/color][/color]
but[color=blue][color=green][color=darkred]
> >> I don't know how to avoid the error or why it is happening. Here is the
> >> error:
> >> Server Error in '/LVBEP' Application.[/color][/color]
>[color=green]
>> -------------------------------------------------------------------------[/color][/color]
-------[color=blue][color=green][color=darkred]
> >>
> >> Could not use ''; file already in use.
> >> Description: An unhandled exception occurred during the execution of[/color][/color][/color]
the[color=blue][color=green][color=darkred]
> >> 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: Could not use '';
> >> file already in use.
> >>
> >> Source Error:
> >>
> >> Line 41: Dim memberadapter As New[/color][/color][/color]
OleDb.OleDbDataAdapter("SELECT[color=blue][color=green][color=darkred]
> >> * FROM members ORDER BY name", "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA
> >> SOURCE=" & Server.MapPath("LVBEP.mdb"))
> >> Line 42:
> >> Line 43: memberadapter.Fill(members)
> >> Line 44: datEditMembers.DataSource = members
> >> Line 45: datEditMembers.DataBind()
> >>
> >> Source File: C:\Inetpub\wwwroot\LVBEP\memberadmin.aspx.vb Line: 43
> >>
> >> Stack Trace:
> >>
> >> [OleDbException (0x80004005): Could not use ''; file already in use.]
> >> System.Data.OleDb.OleDbConnection.ProcessResults(I nt32 hr) +20
> >> System.Data.OleDb.OleDbConnection.InitializeProvid er() +57
> >> System.Data.OleDb.OleDbConnection.Open() +203
> >> System.Data.Common.DbDataAdapter.QuietOpen(IDbConn ection connection,
> >> ConnectionState& originalState) +44
> >> System.Data.Common.DbDataAdapter.FillFromCommand(O bject data, Int32
> >> startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
> >> CommandBehavior behavior) +304
> >> System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32
> >> startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
> >> CommandBehavior behavior) +77
> >> System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) +38
> >> LVBEP.memberadmin.RefreshMembers() in
> >> C:\Inetpub\wwwroot\LVBEP\memberadmin.aspx.vb:43
> >> LVBEP.memberadmin.Page_Init(Object sender, EventArgs e) in
> >> C:\Inetpub\wwwroot\LVBEP\memberadmin.aspx.vb:27
> >> System.Web.UI.Control.OnInit(EventArgs e) +67
> >> System.Web.UI.Control.InitRecursive(Control namingContainer) +241
> >> System.Web.UI.Page.ProcessRequestMain() +197
> >>
> >>
> >>[/color][/color]
>[color=green]
>> -------------------------------------------------------------------------[/color][/color]
-------[color=blue][color=green][color=darkred]
> >> Version Information: Microsoft .NET Framework Version:1.1.4322.2032;
> >> ASP.NET Version:1.1.4322.2032[/color]
> >
> >
> > --
> >
> > Scott Mitchell [ASP.NET MVP]
> > mitchell@4GuysFromRolla.com
> > http://www.4GuysFromRolla.com/ScottMitchell[/color]
>
>[/color]


Bob
Guest
 
Posts: n/a
#7: Nov 19 '05

re: File in use error


Nathan:

Make sure your closing your connection after you access your data in your
code.

Look for a file LVBEP..ldb on the server in the same dir as the LVBEP.mdb
file. If it it's there, delete it.

If you have access to the IIS Administrator, open the IIS Admin.

Right click the site and click properties. Click the "home Directory" tab
and click the "Unload" button then delete the LVBEP.ldb file.

Then try your connection again. As I said, make extra sure your closing the
connection in your code.

MyOLEDBConnection.Open()

Fill your dataAdapters

MyOLEDBConnection.Close()

By chance, your not developing against a DB that is also in production are
you?

Make sure your Access file is not in the root. Put it in a sub dir of the
root and don't give the "Everyone" account read permissions.

Be sure not to load data directly into a session object. Use sessions
sparingly.

HTH

Bob


Patrick.O.Ige
Guest
 
Posts: n/a
#8: Nov 19 '05

re: File in use error


When the Access databse file is opened..i think it also opens
anothe file called ldb ir something try deleting it..
Not really sure if that would help but i had the same issues before
Patrick

"Nathan Sokalski" <njsokalski@hotmail.com> wrote in message
news:OdDyJwOvFHA.908@tk2msftngp13.phx.gbl...[color=blue]
> Yes, it is pointing to a valid DB (not to mention if the DB was not ther[/color]
it[color=blue]
> would say something like file could not be found). I have also given the
> ASPNET machine account access to the database. I have used the database
> before in this application, but something, I don't know what, caused it to
> start giving this error. I am simply having trouble finding the source of
> the error (where/what in my code is causing the problem?) Thanks.
> --
> Nathan Sokalski
> njsokalski@hotmail.com
> http://www.nathansokalski.com/
>
> "Mark Rae" <mark@mark-N-O-S-P-A-M-rae.co.uk> wrote in message
> news:%23NY%23zNOvFHA.3556@TK2MSFTNGP12.phx.gbl...[color=green]
> > "Nathan Sokalski" <njsokalski@hotmail.com> wrote in message
> > news:%23y$mzAKvFHA.3764@TK2MSFTNGP09.phx.gbl...
> >[color=darkred]
> >> Source File: C:\Inetpub\wwwroot\LVBEP\memberadmin.aspx.vb Line: 43[/color]
> >
> > 1) Is Server.MapPath("LVBEP.mdb") pointing to a valid database?
> >
> > 2) Does the ASPNET account have sufficient permissions to do what you[/color][/color]
want[color=blue][color=green]
> > i.e. specifically to create the .ldb file which Jet uses for locking
> > purposes?
> >[/color]
>
>[/color]


Nathan Sokalski
Guest
 
Posts: n/a
#9: Nov 19 '05

re: File in use error


ReadOnly was not checked.
--
Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/

"Pipo" <NoSpam@me.com> wrote in message
news:OSRh%23$OvFHA.3792@TK2MSFTNGP10.phx.gbl...[color=blue]
> If you right click on the access DB and choose for properties is the
> checkbox 'read-only' checked?
> If so uncheck it.
>
>
> "Nathan Sokalski" <njsokalski@hotmail.com> wrote in message
> news:Oo6v46KvFHA.2948@TK2MSFTNGP15.phx.gbl...[color=green]
>> I did not have Access (or any other programs that use Access or any
>> Access
>> DBs) open at the time. I even tried restarting my computer to make sure
>> nothing was running in the background, but it did not help.
>> --
>> Nathan Sokalski
>> njsokalski@hotmail.com
>> http://www.nathansokalski.com/
>>
>> "Scott Mitchell [MVP]" <mitchell@4guysfromrolla.com> wrote in message
>> news:UNmXe.92$9E2.31@newssvr11.news.prodigy.com...[color=darkred]
>> > Make sure your Access database file is NOT open in Windows. I.e., make
>> > sure you are closed out of it. I don't know if that's the cause of
>> > YOUR
>> > error, but I do know that things can get 'funky' if you have Access
>> > opened, inspecting/modifying your database, and you try to work with it
>> > via an ASP.NET page...
>> >
>> > hth
>> >
>> >
>> >
>> > Nathan Sokalski wrote:
>> >> I am recieving an error about not being able to use a file because it[/color][/color]
> is[color=green][color=darkred]
>> >> already in use. Based on the error, I think it is referring to my DB,[/color][/color]
> but[color=green][color=darkred]
>> >> I don't know how to avoid the error or why it is happening. Here is
>> >> the
>> >> error:
>> >> Server Error in '/LVBEP' Application.[/color]
>>[color=darkred]
>>> -------------------------------------------------------------------------[/color][/color]
> -------[color=green][color=darkred]
>> >>
>> >> Could not use ''; file already in use.
>> >> Description: An unhandled exception occurred during the execution of[/color][/color]
> the[color=green][color=darkred]
>> >> 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: Could not use '';
>> >> file already in use.
>> >>
>> >> Source Error:
>> >>
>> >> Line 41: Dim memberadapter As New[/color][/color]
> OleDb.OleDbDataAdapter("SELECT[color=green][color=darkred]
>> >> * FROM members ORDER BY name", "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA
>> >> SOURCE=" & Server.MapPath("LVBEP.mdb"))
>> >> Line 42:
>> >> Line 43: memberadapter.Fill(members)
>> >> Line 44: datEditMembers.DataSource = members
>> >> Line 45: datEditMembers.DataBind()
>> >>
>> >> Source File: C:\Inetpub\wwwroot\LVBEP\memberadmin.aspx.vb Line: 43
>> >>
>> >> Stack Trace:
>> >>
>> >> [OleDbException (0x80004005): Could not use ''; file already in use.]
>> >> System.Data.OleDb.OleDbConnection.ProcessResults(I nt32 hr) +20
>> >> System.Data.OleDb.OleDbConnection.InitializeProvid er() +57
>> >> System.Data.OleDb.OleDbConnection.Open() +203
>> >> System.Data.Common.DbDataAdapter.QuietOpen(IDbConn ection
>> >> connection,
>> >> ConnectionState& originalState) +44
>> >> System.Data.Common.DbDataAdapter.FillFromCommand(O bject data, Int32
>> >> startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
>> >> CommandBehavior behavior) +304
>> >> System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32
>> >> startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
>> >> CommandBehavior behavior) +77
>> >> System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) +38
>> >> LVBEP.memberadmin.RefreshMembers() in
>> >> C:\Inetpub\wwwroot\LVBEP\memberadmin.aspx.vb:43
>> >> LVBEP.memberadmin.Page_Init(Object sender, EventArgs e) in
>> >> C:\Inetpub\wwwroot\LVBEP\memberadmin.aspx.vb:27
>> >> System.Web.UI.Control.OnInit(EventArgs e) +67
>> >> System.Web.UI.Control.InitRecursive(Control namingContainer) +241
>> >> System.Web.UI.Page.ProcessRequestMain() +197
>> >>
>> >>
>> >>[/color]
>>[color=darkred]
>>> -------------------------------------------------------------------------[/color][/color]
> -------[color=green][color=darkred]
>> >> Version Information: Microsoft .NET Framework Version:1.1.4322.2032;
>> >> ASP.NET Version:1.1.4322.2032
>> >
>> >
>> > --
>> >
>> > Scott Mitchell [ASP.NET MVP]
>> > mitchell@4GuysFromRolla.com
>> > http://www.4GuysFromRolla.com/ScottMitchell[/color]
>>
>>[/color]
>
>[/color]


Nathan Sokalski
Guest
 
Posts: n/a
#10: Nov 19 '05

re: File in use error


I do not have a file by that name.
--
Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/

"Patrick.O.Ige" <patrickige@optusnet.com.au> wrote in message
news:uRDxO7PvFHA.2960@tk2msftngp13.phx.gbl...[color=blue]
> When the Access databse file is opened..i think it also opens
> anothe file called ldb ir something try deleting it..
> Not really sure if that would help but i had the same issues before
> Patrick
>
> "Nathan Sokalski" <njsokalski@hotmail.com> wrote in message
> news:OdDyJwOvFHA.908@tk2msftngp13.phx.gbl...[color=green]
>> Yes, it is pointing to a valid DB (not to mention if the DB was not ther[/color]
> it[color=green]
>> would say something like file could not be found). I have also given the
>> ASPNET machine account access to the database. I have used the database
>> before in this application, but something, I don't know what, caused it
>> to
>> start giving this error. I am simply having trouble finding the source of
>> the error (where/what in my code is causing the problem?) Thanks.
>> --
>> Nathan Sokalski
>> njsokalski@hotmail.com
>> http://www.nathansokalski.com/
>>
>> "Mark Rae" <mark@mark-N-O-S-P-A-M-rae.co.uk> wrote in message
>> news:%23NY%23zNOvFHA.3556@TK2MSFTNGP12.phx.gbl...[color=darkred]
>> > "Nathan Sokalski" <njsokalski@hotmail.com> wrote in message
>> > news:%23y$mzAKvFHA.3764@TK2MSFTNGP09.phx.gbl...
>> >
>> >> Source File: C:\Inetpub\wwwroot\LVBEP\memberadmin.aspx.vb Line: 43
>> >
>> > 1) Is Server.MapPath("LVBEP.mdb") pointing to a valid database?
>> >
>> > 2) Does the ASPNET account have sufficient permissions to do what you[/color][/color]
> want[color=green][color=darkred]
>> > i.e. specifically to create the .ldb file which Jet uses for locking
>> > purposes?
>> >[/color]
>>
>>[/color]
>
>[/color]


Closed Thread