This project has moved. For the latest updates, please go here.

dpdesi

Sep 16, 2010 at 7:26 PM

Hi Tried to install Sensenet Community release and I'm getting the following error:

no segments* file found in Lucene.Net.Store.SimpleFSDirectory@C:\inetpub\wwwroot\sensenet6\htdocs\LuceneIndex: files: write.lock

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: System.IO.FileNotFoundException: no segments* file found in Lucene.Net.Store.SimpleFSDirectory@C:\inetpub\wwwroot\sensenet6\htdocs\LuceneIndex: files: write.lock

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:

[FileNotFoundException: no segments* file found in Lucene.Net.Store.SimpleFSDirectory@C:\inetpub\wwwroot\sensenet6\htdocs\LuceneIndex: files: write.lock]
   Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean create, Boolean closeDir, IndexDeletionPolicy deletionPolicy, Boolean autoCommit, Int32 maxFieldLength, IndexingChain indexingChain, IndexCommit commit) in c:\Development\SenseNet\CommunityBuild\Sources\Source\SenseNet\LuceneNet_2_9_2\Index\IndexWriter.cs:1928
   Lucene.Net.Index.IndexWriter..ctor(Directory d, Analyzer a, Boolean create) in c:\Development\SenseNet\CommunityBuild\Sources\Source\SenseNet\LuceneNet_2_9_2\Index\IndexWriter.cs:1285
   SenseNet.Search.LuceneAdapter.LuceneManager.LuceneManager.Startup() in c:\Development\SenseNet\CommunityBuild\Sources\Source\SenseNet\ContentRepository\Search\LuceneAdapter\LuceneManager\LuceneManager.cs:85
   SenseNet.Search.LuceneAdapter.LuceneManager.LuceneManager..cctor() in c:\Development\SenseNet\CommunityBuild\Sources\Source\SenseNet\ContentRepository\Search\LuceneAdapter\LuceneManager\LuceneManager.cs:66

[TypeInitializationException: The type initializer for 'SenseNet.Search.LuceneAdapter.LuceneManager.LuceneManager' threw an exception.]
   SenseNet.Search.LuceneAdapter.LuceneManager.LuceneManager.get_IndexCount() in c:\Development\SenseNet\CommunityBuild\Sources\Source\SenseNet\ContentRepository\Search\LuceneAdapter\LuceneManager\LuceneManager.cs:195
   SenseNet.Portal.ContentExplorer.Global.Application_Start(Object sender, EventArgs e) in c:\Development\SenseNet\CommunityBuild\Sources\Source\SenseNet\ContentExplorer\Global.asax.cs:50

[HttpException (0x80004005): The type initializer for 'SenseNet.Search.LuceneAdapter.LuceneManager.LuceneManager' threw an exception.]
   System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +4170257
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +205
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +336
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +350
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +382

[HttpException (0x80004005): The type initializer for 'SenseNet.Search.LuceneAdapter.LuceneManager.LuceneManager' threw an exception.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11301302
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4338644

please advise.

Thanks in advance

 

 

Oct 4, 2010 at 7:24 AM

Hi, i have the same problem but i download  "Oct 1 2010, version", and solve the problem