2014-10-19 3 views
0

RavenDB를 사용하는 웹 사이트를 설정할 때 "데이터베이스의 마지막 일관 시간 일치"예외가 표시됩니다.데이터베이스 마지막 일치 시간이 일치하지 않습니다.

RavenDB에 대한 권리와 보안을 확인했는데 정확합니다.

RavenDB가 데이터베이스를 열 수없는 다른 잠재적 인 이유가 있습니까?

Database last consistent time unmatched

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.EsentConsistentTimeMismatchException: Database last consistent time unmatched

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:

[EsentConsistentTimeMismatchException: Database last consistent time unmatched]
Raven.Storage.Esent.TransactionalStorage.Initialize(IUuidGenerator uuidGenerator, OrderedPartCollection`1 documentCodecs) +561

[InvalidOperationException: Could not open transactional storage: C:\inetpub\wwwroot\officecore.web\Website\App_Data/RavenDatabases/uCommerce\Data] Raven.Storage.Esent.TransactionalStorage.Initialize(IUuidGenerator uuidGenerator, OrderedPartCollection 1 documentCodecs) +810
Raven.Database.DocumentDatabase..ctor(InMemoryRavenConfiguration configuration, TransportState transportState) +2056
Raven.Client.Embedded.EmbeddableDocumentStore.InitializeInternal() +449 Raven.Client.Document.DocumentStore.Initialize() +797 UCommerce.Search.RavenDB.RavenDbStoreProvider.SetupEmbeddedDocumentStore() +675 UCommerce.Search.RavenDB.RavenDbStoreProvider.GetStore() +231 UCommerce.Search.RavenDB.RavenFacetedSearch.Query() +105
Castle.Proxies.Invocations.SearchLibraryInternal_FacetedQuery.InvokeMethodOnTarget() +37 Castle.DynamicProxy.AbstractInvocation.Proceed() +116 UCommerce.Infrastructure.Interceptor.ExceptionLoggingInterceptor.Intercept(IInvocation invocation) +625 Castle.DynamicProxy.AbstractInvocation.Proceed() +595 Castle.Proxies.SearchLibraryInternalProxy.FacetedQuery() +154 Officecore.Website.code.DataRepositories.ProductRepository.SearchProducts(String searchterm, IList
1 facetList, List 1& products) in c:\inetpub\wwwroot\officecore\officecore.web\Website\code\DataRepositories\ProductRepository.cs:210 Officecore.Website.code.DataRepositories.ProductRepository.SearchFacets(String searchterm, IList 1 facetList, List`1& products) in c:\inetpub\wwwroot\officecore\officecore.web\Website\code\DataRepositories\ProductRepository.cs:189 Officecore.Website.layouts.Officecore.Controls.Desktop.Desktop_Search_Facets.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\officecore\officecore.web\Website\layouts\Officecore\Controls\Desktop\Products\Desktop-Search-Facets.ascx.cs:57 System.Web.UI.Control.LoadRecursive() +71
System.Web.UI.Control.LoadRecursive() +190
System.Web.UI.Control.LoadRecursive() +190
System.Web.UI.Control.LoadRecursive() +190
System.Web.UI.Control.LoadRecursive() +190
System.Web.UI.Control.LoadRecursive() +190
System.Web.UI.Control.LoadRecursive() +190
System.Web.UI.Control.LoadRecursive() +190
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178

답변

0

이 메시지가 나타나면 데이터베이스가 손상되었을 수 있습니다.

Esentutl /r RVN /l logs /i 
:

는 RVN가 로그 폴더에 로그 파일의 이름입니다 데이터베이스 폴더에이 스크립트를 실행하려면이 시도를 해결하려면
관련 문제