2012-01-28 110 views
1

所以我使用这些说明安装RavendDB一个Win2003的服务器上:RavenDB错误:日志文件的版本与Jet版本兼容

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 
+0

您是否在不同的操作系统上运行RavenDB,然后将其转移到Windows Server 2003?或者你只在2003年运行它? – 2012-01-28 16:25:41

+0

我从我的win7桌面转移。我是否必须从头开始?我如何传输我创建的数据库? – legion 2012-01-28 16:46:01

回答

7

RavenDB数据存储在底层使用Esent。因此,它不能跨操作系统版本移植。即如果您在一个版本的操作系统上创建商店,则只需将文件复制到另一版本即可。

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

+0

@legion如果这个答案适合你,你会考虑将它标记为接受的答案吗?这样可以帮助其他人查看问题。 – 2012-01-29 19:27:50