RavenDB 错误:日志文件版本与 Jet 版本不兼容 [英] RavenDB Error: Version of log file is not compatible with Jet version

查看:57
本文介绍了RavenDB 错误:日志文件版本与 Jet 版本不兼容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我使用以下说明在 Win2003 服务器上安装了 RavendDB:

So I installed RavendDB on a Win2003 server using these instructions:

http://old.ravendb.net/documentation/docs-deployment-iis

当我尝试浏览网站时出现以下错误.有任何想法吗?

And i get the following error when I try to browse to the site. Any ideas?

Version of log file is not compatible with Jet version 
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.EsentBadLogVersionException: Version of log file is not compatible with Jet version

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: 


[EsentBadLogVersionException: Version of log file is not compatible with Jet version]
   Microsoft.Isam.Esent.Interop.Api.Check(Int32 err) in C:\Work\ravendb\SharedLibs\Sources\managedesent-61618\EsentInterop\Api.cs:2739
   Microsoft.Isam.Esent.Interop.Api.JetInit(JET_INSTANCE& instance) in C:\Work\ravendb\SharedLibs\Sources\managedesent-61618\EsentInterop\Api.cs:131
   Raven.Storage.Esent.TransactionalStorage.Initialize(IUuidGenerator uuidGenerator) in c:\Builds\raven\Raven.Storage.Esent\TransactionalStorage.cs:207

[InvalidOperationException: Could not open transactional storage: C:\Inetpub\wwwroot\RavenDB\Data\Data]
   Raven.Storage.Esent.TransactionalStorage.Initialize(IUuidGenerator uuidGenerator) in c:\Builds\raven\Raven.Storage.Esent\TransactionalStorage.cs:220
   Raven.Database.DocumentDatabase..ctor(InMemoryRavenConfiguration configuration) in c:\Builds\raven\Raven.Database\DocumentDatabase.cs:151
   Raven.Web.ForwardToRavenRespondersFactory.Init() in c:\Builds\raven\Raven.Web\ForwardToRavenRespondersFactory.cs:62
   Raven.Web.RavenDbStartupAndShutdownModule.<Init>b__0(Object sender, EventArgs args) in c:\Builds\raven\Raven.Web\BootStrapper.cs:12
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +213
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +76

推荐答案

RavenDB 数据存储使用 Esent 在引擎盖下.因此,它不能跨操作系统版本移植.IE.如果您在一个版本的操作系统上创建一个商店,它不一定只通过复制文件就可以在另一个版本上运行.

The RavenDB datastore uses Esent under the hood. As a result it's not portable across OS versions. I.e. if you create a store on one version of an OS, it won't necessarily work on another just by copying the files across.

您可以使用 RavenDB smuggler 工具导入/导出数据.或者手动完成.

You can use the RavenDB smuggler tool to import/export the data. Or do it manually.

这篇关于RavenDB 错误:日志文件版本与 Jet 版本不兼容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆