Hi,
I'm getting below error when running our web app under IIS - works out well under the
ASP.NET development server though.
I have given full access permissions to the account IIS AppPool\DefaultAppPool on the web project folder - C:\Dev\svn\trunk\CS.RAR.ICE\CS.RAR.ICE.Web
Any ideas?
Thanks.
[EsentErrorException: Error FileAccessDenied (JET_errFileAccessDenied, Cannot access file, the file is locked or in use)]
Rhino.PersistentHashTable.PersistentHashTable.Initialize() +161
[InvalidOperationException: Could not open cache: C:\Dev\svn\trunk\CS.RAR.ICE\CS.RAR.ICE.Web\client_subscriptions.esent\client_subscriptions.esent]
Rhino.PersistentHashTable.PersistentHashTable.Initialize() +378
Rhino.ServiceBus.RhinoQueues.PhtSubscriptionStorage.Initialize() +59
Rhino.ServiceBus.Impl.DefaultServiceBus.Start() +595
Rhino.ServiceBus.Hosting.DefaultHost.Start(String asmName) +36
CS.RAR.ICE.Web.Global.Application_Start(Object sender, EventArgs e) in C:\Dev\svn\trunk\CS.RAR.ICE\CS.RAR.ICE.Web\Global.asax.cs:51
[HttpException (0x80004005): Could not open cache: C:\Dev\svn\trunk\CS.RAR.ICE\CS.RAR.ICE.Web\client_subscriptions.esent\client_subscriptions.esent]
System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +4058613
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +191
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +352
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +407
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +375
[HttpException (0x80004005): Could not open cache: C:\Dev\svn\trunk\CS.RAR.ICE\CS.RAR.ICE.Web\client_subscriptions.esent\client_subscriptions.esent]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11703856
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +141
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4870677