asp.net mvc 4 - Failure writing to log file with RavenDB Embedded on Windows Azure -
i running mvc web site on windows azure , using ravendb embedded. if web site "cold" (unloaded azure instance), following error message on first hit web site:
server error in '/' application.
failure writing log file
description: unhandled exception occurred during execution of current web request. please review stack trace more information error , originated in code.
exception details: microsoft.isam.esent.interop.esentlogwritefailexception: failure writing log file
source error:
an unhandled exception generated during execution of current web request. information regarding origin , location of exception can identified using exception stack trace below.
stack trace:
[esentlogwritefailexception: failure writing log file]
microsoft.isam.esent.interop.api.check(int32 err) +21
microsoft.isam.esent.interop.api.jetinit(jet_instance& instance) +23
raven.storage.esent.transactionalstorage.initialize(iuuidgenerator uuidgenerator, orderedpartcollection`1 documentcodecs) +309[invalidoperationexception: not open transactional storage: c:\dwasfiles\sites\reflix\virtualdirectory0\site\wwwroot\app_data\data] raven.storage.esent.transactionalstorage.initialize(iuuidgenerator uuidgenerator, orderedpartcollection`1 documentcodecs) +443
raven.database.documentdatabase..ctor(inmemoryravenconfiguration configuration) +994
raven.client.embedded.embeddabledocumentstore.initializeinternal() +313 raven.client.document.documentstore.initialize() +463 reflix.mvcapplication.initializeravendb(string datadirectory, boolean rethrowexception) +135 reflix.mvcapplication.application_start() +131[httpexception (0x80004005): not open transactional storage: c:\dwasfiles\sites\reflix\virtualdirectory0\site\wwwroot\app_data\data] system.web.httpapplicationfactory.ensureappstartcalledforintegratedmode(httpcontext context, httpapplication app) +9859441
system.web.httpapplication.registereventsubscriptionswithiis(intptr appcontext, httpcontext context, methodinfo[] handlers) +118
system.web.httpapplication.initspecial(httpapplicationstate state, methodinfo[] handlers, intptr appcontext, httpcontext context) +172
system.web.httpapplicationfactory.getspecialapplicationinstance(intptr appcontext, httpcontext context) +336
system.web.hosting.pipelineruntime.initializeapplication(intptr appcontext) +296[httpexception (0x80004005): not open transactional storage: c:\dwasfiles\sites\reflix\virtualdirectory0\site\wwwroot\app_data\data] system.web.httpruntime.firstrequestinit(httpcontext context) +9873784 system.web.httpruntime.ensurefirstrequestinit(httpcontext context) +101 system.web.httpruntime.processrequestnotificationprivate(iis7workerrequest wr, httpcontext context) +254
version information: microsoft .net framework version:4.0.30319; asp.net version:4.0.30319.18033
if wait minute or two, web site comes fine. first-start issue. have ideas how resolve problem?
my configuration:
- mvc 4
- .net 4.5
- ravendb 2.0.2360
update: azure team looking @ possible defect azure websites. more updates hear anything.
this confirmed bug in azure websites, has been rolled out. don't have additional details, site works (8/30/2013) , have made no structural changes code.
Comments
Post a Comment