2013-05-21 11 views
6

Windows AzureでRavenDBを埋め込んだMVC Webサイトを実行しています。ウェブサイトは(Azureのインスタンスからアンロード)「コールド」であるならば、私は、Webサイトへの最初のヒットで、次のエラーメッセージが表示されます。Windows AzureでRavenDB Embeddedでログファイルに書き込めません

Server Error in '/' Application.

Failure writing to log file

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.EsentLogWriteFailException: Failure writing to log file

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:

[EsentLogWriteFailException: Failure writing to 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: Could 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): Could 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): Could 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

私は1〜2分待つと、ウェブサイトが来ます罰金を科す。これは最初の最初の問題です。誰もが問題の解決方法を知っていますか?

マイ設定:

  • MVC 4
  • .NET 4.5
  • RavenDB 2.0.2360

更新: Azureのチームは、この見ていますAzureのWebサイトに欠陥がある可能性があります。何かが聞こえたらすぐに更新が増えます。

+0

** Azure Websites **または** Azure Web Role **を使用していますか? – SliverNinja

+1

Azureのウェブサイト。 – mgnoonan

+0

プラスこの問題の1つ、同じ問題を経験してください! – Fore

答えて

1

を書き込まないことでる。私は追加の詳細はありませんが、サイトは今や(2011年8月30日に)動作し、コードに構造的な変更は行っていません。

0

イベントログを見ると、詳細情報が表示されます。何かがログに適切な書き込みを防ぐことであるよう に見え、チェック権限は、特に、あなたはCREATE_FILE権限を持っていますが、これは今、圧延されたAzureのWebサイトのバグとして確認された許可

+0

質問に続きます:組み込みモードで実行しているときにどのようにログを表示しますか? – mgnoonan

+0

私は 'logs'フォルダがあることを知っていますが、バイナリの' RVN.log'ファイルとテキストエディタでは読み込めないような 'jrs'ファイルしか存在しません。それらをローカルサーバにコピーして 'logs'フォルダにコピーする必要がありますか? – mgnoonan

関連する問題