【问题标题】:RavenDB Error: Version of log file is not compatible with Jet versionRavenDB 错误:日志文件版本与 Jet 版本不兼容
【发布时间】:2012-01-28 03:22:12
【问题描述】:

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

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

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

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,然后将其转移到 Windows Server 2003?还是您只在 2003 年以下运行过?
  • 我是从我的 win7 桌面转移过来的。我必须从头开始吗?如何转移我创建的数据库?

标签: ravendb windows-2003-webserver


【解决方案1】:

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

您可以使用RavenDB smuggler 工具导入/导出数据。或者手动操作。

【讨论】:

  • @legion 如果此答案对您有用,您会考虑将其标记为已接受的答案吗?这样,它可以帮助其他人看到这个问题。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2021-02-13
  • 2022-12-19
  • 2020-07-19
  • 1970-01-01
  • 2019-12-15
  • 2018-06-04
  • 1970-01-01
相关资源
最近更新 更多