Message from discussion
RSB - Esent error when browsing web app. File locked or in use.
Received: by 10.58.233.38 with SMTP id tt6mr8330536vec.16.1351698681850;
Wed, 31 Oct 2012 08:51:21 -0700 (PDT)
X-BeenThere: rhino-tools-dev@googlegroups.com
Received: by 10.220.210.197 with SMTP id gl5ls1174386vcb.0.gmail; Wed, 31 Oct
2012 08:51:21 -0700 (PDT)
Received: by 10.52.30.225 with SMTP id v1mr6327673vdh.20.1351698681116;
Wed, 31 Oct 2012 08:51:21 -0700 (PDT)
Date: Wed, 31 Oct 2012 08:51:20 -0700 (PDT)
From: Daventry <alberto.ri...@gmail.com>
To: rhino-tools-dev@googlegroups.com
Message-Id: <277a45db-9ec9-46ee-a80c-8255c4a34e33@googlegroups.com>
Subject: RSB - Esent error when browsing web app. File locked or in use.
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_14_20633062.1351698680828"
------=_Part_14_20633062.1351698680828
Content-Type: multipart/alternative;
boundary="----=_Part_15_7454821.1351698680829"
------=_Part_15_7454821.1351698680829
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Hi,
We're getting below error when accessing a web app. The error disappears
after refreshing the page a couple of times. It happens from time to time,
not just after a deployment.
Has anyone seen this behavior before? BTW we're not deleting the queue
folders on startup.
And so that you know, these queues are created on a shared drive because
we're not allowed to create files/folders on the machine the web app is
runnig on. We've already made sure the credentials are correctly set up. As
I said before, after refreshing everything works out well.
Thanks.
*Error FileAccessDenied (JET_errFileAccessDenied, Cannot access file, the
file is locked or 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: *Microsoft.Isam.Esent.Interop.EsentErrorException:
Error FileAccessDenied (JET_errFileAccessDenied, Cannot access file, the
file is locked or in use)
*Source Error:*
An unhandled exception was generated during the execution of the current
web request. Information regarding the origin and location of the exception
can be identified using the exception stack trace below.
*Stack Trace:*
[EsentErrorException: Error FileAccessDenied (JET_errFileAccessDenied,
Cannot access file, the file is locked or in use)]
Microsoft.Isam.Esent.Interop.Api.Fail(Int32 err) +57
Microsoft.Isam.Esent.Interop.Api.JetInit(JET_INSTANCE& instance) +28
Rhino.PersistentHashTable.PersistentHashTable.Initialize() +53
[InvalidOperationException: Could not open cache: *
\\#####\ICEBus\client_subscriptions.esent\client_subscriptions.esent*<file://####/ICEBus/client_subscriptions.esent/client_subscriptions.esent>
]
Rhino.PersistentHashTable.PersistentHashTable.Initialize() +207
Rhino.ServiceBus.RhinoQueues.PhtSubscriptionStorage.Initialize() +35
Rhino.ServiceBus.Impl.DefaultServiceBus.Start() +430
Rhino.ServiceBus.Hosting.DefaultHost.Start(String asmName) +21
Rhino.ServiceBus.Hosting.DefaultHost.Start() +110
CS.RAR.ICE.Web.Global.Application_Start(Object sender, EventArgs e) in
g:\D\CS.RAR.ICE\CS.RAR.ICE.Web\Global.asax.cs:37
[HttpException (0x80004005): Could not open cache: *
\\###\ICEBus\client_subscriptions.esent\client_subscriptions.esent*<file://####/ICEBus/client_subscriptions.esent/client_subscriptions.esent>
]
System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext
context, HttpApplication app) +9168509
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr
appContext, HttpContext context, MethodInfo[] handlers) +131
System.Web.HttpApplication.InitSpecial(HttpApplicationState state,
MethodInfo[] handlers, IntPtr appContext, HttpContext context) +194
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr
appContext, HttpContext context) +339
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr
appContext) +253
[HttpException (0x80004005): Could not open cache: *
\\#####\ICEBus\client_subscriptions.esent\client_subscriptions.esent*<file://#####/ICEBus/client_subscriptions.esent/client_subscriptions.esent>
]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9087676
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +97
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest
wr, HttpContext context) +256
------=_Part_15_7454821.1351698680829
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>We're getting below error when accessing a web app. The error disappea=
rs after refreshing the page a couple of times. It happens from time to tim=
e, not just after a deployment.</DIV>
<DIV> </DIV>
<DIV>Has anyone seen this behavior before? BTW we're not deleting the queue=
folders on startup.</DIV>
<DIV> </DIV>
<DIV>And so that you know, these queues are created on a shared drive becau=
se we're not allowed to create files/folders on the machine the web app is =
runnig on. We've already made sure the credentials are correctly set up. As=
I said before, after refreshing everything works out well.</DIV>
<DIV> </DIV>
<DIV>Thanks.</DIV>
<DIV> </DIV>
<DIV>
<P style=3D"MARGIN: 0cm 0cm 0pt; mso-margin-top-alt: auto; mso-margin-botto=
m-alt: auto" class=3DMsoNormal><I><SPAN style=3D"FONT-FAMILY: 'Verdana', 's=
ans-serif'; COLOR: maroon; FONT-SIZE: 14pt; mso-fareast-language: EN-GB">Er=
ror FileAccessDenied (JET_errFileAccessDenied, Cannot access file, the file=
is locked or in use)</SPAN></I><SPAN style=3D"FONT-FAMILY: 'Verdana', 'san=
s-serif'; COLOR: maroon; FONT-SIZE: 14pt; mso-fareast-language: EN-GB"> <?x=
ml:namespace prefix =3D o ns =3D "urn:schemas-microsoft-com:office:office" =
/><o:p></o:p></SPAN></P>
<P style=3D"MARGIN: 0cm 0cm 12pt" class=3DMsoNormal><B><SPAN style=3D"FONT-=
FAMILY: 'Verdana', 'sans-serif'; COLOR: black; FONT-SIZE: 8.5pt; mso-fareas=
t-language: EN-GB">Description: </SPAN></B><SPAN style=3D"FONT-FAMILY: 'Ari=
al', 'sans-serif'; COLOR: black; FONT-SIZE: 8.5pt; mso-fareast-language: EN=
-GB">An unhandled exception occurred during the execution of the current we=
b request. Please review the stack trace for more information about the err=
or and where it originated in the code. <BR><BR></SPAN><B><SPAN style=3D"FO=
NT-FAMILY: 'Verdana', 'sans-serif'; COLOR: black; FONT-SIZE: 8.5pt; mso-far=
east-language: EN-GB">Exception Details: </SPAN></B><SPAN style=3D"FONT-FAM=
ILY: 'Arial', 'sans-serif'; COLOR: black; FONT-SIZE: 8.5pt; mso-fareast-lan=
guage: EN-GB">Microsoft.Isam.Esent.Interop.EsentErrorException: Error FileA=
ccessDenied (JET_errFileAccessDenied, Cannot access file, the file is locke=
d or in use)<BR><BR></SPAN><B><SPAN style=3D"FONT-FAMILY: 'Verdana', 'sans-=
serif'; COLOR: black; FONT-SIZE: 8.5pt; mso-fareast-language: EN-GB">Source=
Error:</SPAN></B><SPAN style=3D"FONT-FAMILY: 'Arial', 'sans-serif'; COLOR:=
black; FONT-SIZE: 8.5pt; mso-fareast-language: EN-GB"> <o:p></o:p></SPAN><=
/P>
<TABLE style=3D"WIDTH: 100%; BACKGROUND: #ffffcc; mso-cellspacing: 1.5pt; m=
so-yfti-tbllook: 1184; mso-padding-alt: 0cm 0cm 0cm 0cm" class=3DMsoNormalT=
able border=3D0 cellPadding=3D0 width=3D"100%">
<TBODY>
<TR style=3D"mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: ye=
s">
<TD style=3D"BORDER-BOTTOM: #000000; BORDER-LEFT: #000000; PADDING-BOTTOM: =
0.75pt; BACKGROUND-COLOR: transparent; PADDING-LEFT: 0.75pt; PADDING-RIGHT:=
0.75pt; BORDER-TOP: #000000; BORDER-RIGHT: #000000; PADDING-TOP: 0.75pt">
<P style=3D"MARGIN: 0cm 0cm 0pt" class=3DMsoNormal><SPAN style=3D"FONT-FAMI=
LY: 'Courier New'; COLOR: black; FONT-SIZE: 10pt; mso-fareast-language: EN-=
GB">An unhandled exception was generated during the execution of the curren=
t web request. Information regarding the origin and location of the excepti=
on can be identified using the exception stack trace below.</SPAN><SPAN sty=
le=3D"FONT-FAMILY: 'Verdana', 'sans-serif'; COLOR: black; FONT-SIZE: 8.5pt;=
mso-fareast-language: EN-GB"> <o:p></o:p></SPAN></P></TD></TR></TBODY></TA=
BLE>
<P style=3D"MARGIN: 0cm 0cm 12pt" class=3DMsoNormal><SPAN style=3D"FONT-FAM=
ILY: 'Arial', 'sans-serif'; COLOR: black; FONT-SIZE: 8.5pt; mso-fareast-lan=
guage: EN-GB"><BR></SPAN><B><SPAN style=3D"FONT-FAMILY: 'Verdana', 'sans-se=
rif'; COLOR: black; FONT-SIZE: 8.5pt; mso-fareast-language: EN-GB">Stack Tr=
ace:</SPAN></B><SPAN style=3D"FONT-FAMILY: 'Arial', 'sans-serif'; COLOR: bl=
ack; FONT-SIZE: 8.5pt; mso-fareast-language: EN-GB"> <o:p></o:p></SPAN></P>
<TABLE style=3D"WIDTH: 100%; BACKGROUND: #ffffcc; mso-cellspacing: 1.5pt; m=
so-yfti-tbllook: 1184; mso-padding-alt: 0cm 0cm 0cm 0cm" class=3DMsoNormalT=
able border=3D0 cellPadding=3D0 width=3D"100%">
<TBODY>
<TR style=3D"mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: ye=
s">
<TD style=3D"BORDER-BOTTOM: #000000; BORDER-LEFT: #000000; PADDING-BOTTOM: =
0.75pt; BACKGROUND-COLOR: transparent; PADDING-LEFT: 0.75pt; PADDING-RIGHT:=
0.75pt; BORDER-TOP: #000000; BORDER-RIGHT: #000000; PADDING-TOP: 0.75pt">
<P style=3D"MARGIN: 0cm 0cm 0pt" class=3DMsoNormal><SPAN style=3D"FONT-FAMI=
LY: 'Lucida Console'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-language: E=
N-GB"><o:p> </o:p></SPAN></P>
<P style=3D"MARGIN: 0cm 0cm 0pt" class=3DMsoNormal><SPAN style=3D"FONT-FAMI=
LY: 'Lucida Console'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-language: E=
N-GB">[EsentErrorException: Error FileAccessDenied (JET_errFileAccessDenied=
, Cannot access file, the file is locked or in use)]<o:p></o:p></SPAN></P>
<P style=3D"MARGIN: 0cm 0cm 0pt" class=3DMsoNormal><SPAN style=3D"FONT-FAMI=
LY: 'Lucida Console'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-language: E=
N-GB"> Microsoft.Isam.Esent.Interop.Api.Fail(Int32 err) +57<o:p=
></o:p></SPAN></P>
<P style=3D"MARGIN: 0cm 0cm 0pt" class=3DMsoNormal><SPAN style=3D"FONT-FAMI=
LY: 'Lucida Console'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-language: E=
N-GB"> Microsoft.Isam.Esent.Interop.Api.JetInit(JET_INSTANCE&am=
p; instance) +28<o:p></o:p></SPAN></P>
<P style=3D"MARGIN: 0cm 0cm 0pt" class=3DMsoNormal><SPAN style=3D"FONT-FAMI=
LY: 'Lucida Console'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-language: E=
N-GB"> Rhino.PersistentHashTable.PersistentHashTable.Initialize=
() +53<o:p></o:p></SPAN></P>
<P style=3D"MARGIN: 0cm 0cm 0pt" class=3DMsoNormal><SPAN style=3D"FONT-FAMI=
LY: 'Lucida Console'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-language: E=
N-GB"><o:p> </o:p></SPAN></P>
<P style=3D"MARGIN: 0cm 0cm 0pt" class=3DMsoNormal><SPAN style=3D"FONT-FAMI=
LY: 'Lucida Console'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-language: E=
N-GB">[InvalidOperationException: Could not open cache: <A href=3D"file://#=
###/ICEBus/client_subscriptions.esent/client_subscriptions.esent"><U><FONT =
color=3D#0000ff>\\#####\ICEBus\client_subscriptions.esent\client_subscripti=
ons.esent</FONT></U></A>]<o:p></o:p></SPAN></P>
<P style=3D"MARGIN: 0cm 0cm 0pt" class=3DMsoNormal><SPAN style=3D"FONT-FAMI=
LY: 'Lucida Console'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-language: E=
N-GB"> Rhino.PersistentHashTable.PersistentHashTable.Initialize=
() +207<o:p></o:p></SPAN></P>
<P style=3D"MARGIN: 0cm 0cm 0pt" class=3DMsoNormal><SPAN style=3D"FONT-FAMI=
LY: 'Lucida Console'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-language: E=
N-GB"> Rhino.ServiceBus.RhinoQueues.PhtSubscriptionStorage.Init=
ialize() +35<o:p></o:p></SPAN></P>
<P style=3D"MARGIN: 0cm 0cm 0pt" class=3DMsoNormal><SPAN style=3D"FONT-FAMI=
LY: 'Lucida Console'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-language: E=
N-GB"> Rhino.ServiceBus.Impl.DefaultServiceBus.Start() +430<o:p=
></o:p></SPAN></P>
<P style=3D"MARGIN: 0cm 0cm 0pt" class=3DMsoNormal><SPAN style=3D"FONT-FAMI=
LY: 'Lucida Console'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-language: E=
N-GB"> Rhino.ServiceBus.Hosting.DefaultHost.Start(String asmNam=
e) +21<o:p></o:p></SPAN></P>
<P style=3D"MARGIN: 0cm 0cm 0pt" class=3DMsoNormal><SPAN style=3D"FONT-FAMI=
LY: 'Lucida Console'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-language: E=
N-GB"> Rhino.ServiceBus.Hosting.DefaultHost.Start() +110<o:p></=
o:p></SPAN></P>
<P style=3D"MARGIN: 0cm 0cm 0pt" class=3DMsoNormal><SPAN style=3D"FONT-FAMI=
LY: 'Lucida Console'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-language: E=
N-GB"> CS.RAR.ICE.Web.Global.Application_Start(Object sender, E=
ventArgs e) in g:\D\CS.RAR.ICE\CS.RAR.ICE.Web\Global.asax.cs:37<o:p></o:p><=
/SPAN></P>
<P style=3D"MARGIN: 0cm 0cm 0pt" class=3DMsoNormal><SPAN style=3D"FONT-FAMI=
LY: 'Lucida Console'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-language: E=
N-GB"><o:p> </o:p></SPAN></P>
<P style=3D"MARGIN: 0cm 0cm 0pt" class=3DMsoNormal><SPAN style=3D"FONT-FAMI=
LY: 'Lucida Console'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-language: E=
N-GB">[HttpException (0x80004005): Could not open cache: <A href=3D"file://=
####/ICEBus/client_subscriptions.esent/client_subscriptions.esent"><U><FONT=
color=3D#0000ff>\\###\ICEBus\client_subscriptions.esent\client_subscriptio=
ns.esent</FONT></U></A>]<o:p></o:p></SPAN></P>
<P style=3D"MARGIN: 0cm 0cm 0pt" class=3DMsoNormal><SPAN style=3D"FONT-FAMI=
LY: 'Lucida Console'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-language: E=
N-GB"> System.Web.HttpApplicationFactory.EnsureAppStartCalledFo=
rIntegratedMode(HttpContext context, HttpApplication app) +9168509<o:p></o:=
p></SPAN></P>
<P style=3D"MARGIN: 0cm 0cm 0pt" class=3DMsoNormal><SPAN style=3D"FONT-FAMI=
LY: 'Lucida Console'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-language: E=
N-GB"> System.Web.HttpApplication.RegisterEventSubscriptionsWit=
hIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +131<o:=
p></o:p></SPAN></P>
<P style=3D"MARGIN: 0cm 0cm 0pt" class=3DMsoNormal><SPAN style=3D"FONT-FAMI=
LY: 'Lucida Console'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-language: E=
N-GB"> System.Web.HttpApplication.InitSpecial(HttpApplicationSt=
ate state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +=
194<o:p></o:p></SPAN></P>
<P style=3D"MARGIN: 0cm 0cm 0pt" class=3DMsoNormal><SPAN style=3D"FONT-FAMI=
LY: 'Lucida Console'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-language: E=
N-GB"> System.Web.HttpApplicationFactory.GetSpecialApplicationI=
nstance(IntPtr appContext, HttpContext context) +339<o:p></o:p></SPAN></P>
<P style=3D"MARGIN: 0cm 0cm 0pt" class=3DMsoNormal><SPAN style=3D"FONT-FAMI=
LY: 'Lucida Console'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-language: E=
N-GB"> System.Web.Hosting.PipelineRuntime.InitializeApplication=
(IntPtr appContext) +253<o:p></o:p></SPAN></P>
<P style=3D"MARGIN: 0cm 0cm 0pt" class=3DMsoNormal><SPAN style=3D"FONT-FAMI=
LY: 'Lucida Console'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-language: E=
N-GB"><o:p> </o:p></SPAN></P>
<P style=3D"MARGIN: 0cm 0cm 0pt" class=3DMsoNormal><SPAN style=3D"FONT-FAMI=
LY: 'Lucida Console'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-language: E=
N-GB">[HttpException (0x80004005): Could not open cache: <A href=3D"file://=
#####/ICEBus/client_subscriptions.esent/client_subscriptions.esent"><U><FON=
T color=3D#0000ff>\\#####\ICEBus\client_subscriptions.esent\client_subscrip=
tions.esent</FONT></U></A>]<o:p></o:p></SPAN></P>
<P style=3D"MARGIN: 0cm 0cm 0pt" class=3DMsoNormal><SPAN style=3D"FONT-FAMI=
LY: 'Lucida Console'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-language: E=
N-GB"> System.Web.HttpRuntime.FirstRequestInit(HttpContext cont=
ext) +9087676<o:p></o:p></SPAN></P>
<P style=3D"MARGIN: 0cm 0cm 0pt" class=3DMsoNormal><SPAN style=3D"FONT-FAMI=
LY: 'Lucida Console'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-language: E=
N-GB"> System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContex=
t context) +97<o:p></o:p></SPAN></P>
<P style=3D"MARGIN: 0cm 0cm 0pt" class=3DMsoNormal><SPAN style=3D"FONT-FAMI=
LY: 'Lucida Console'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-language: E=
N-GB"> System.Web.HttpRuntime.ProcessRequestNotificationPrivate=
(IIS7WorkerRequest wr, HttpContext context) +256<o:p></o:p></SPAN></P></TD>=
</TR></TBODY></TABLE></DIV>
------=_Part_15_7454821.1351698680829--
------=_Part_14_20633062.1351698680828--