[阅读: 378] 2009-12-21 03:01:59
Server Error in '/' Application.
Could not find a part of the path 'd:\LuceneIndex\NoxForum\segments'.
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.DirectoryNotFoundException: Could not find a part of the path 'd:\LuceneIndex\NoxForum\segments'.
Source Error:
Line 69: int numTotal;
Line 70:
Line 71: ForumMessages messageList = SearchSystem.Search( qsSearch, qsOptionInTitle, numStart - 1, pagesize, out numTotal );
Line 72:
Line 73: abcNumTotal.Text = numTotal.ToString();
Source File: d:\zhaix\websites\cndev.org#www\_addon\ForumSystem\search.aspx Line: 71
Stack Trace:
[DirectoryNotFoundException: Could not find a part of the path 'd:\LuceneIndex\NoxForum\segments'.]
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +2013760
System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) +998
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +114
Lucene.Net.Store.FSInputStream..ctor(FileInfo path) +80
Lucene.Net.Store.FSDirectory.OpenFile(String name) +73
Lucene.Net.Index.SegmentInfos.Read(Directory directory) +38
Lucene.Net.Index.IndexReaderLockWith.DoBody() +57
Lucene.Net.Store.With.Run() +59
Lucene.Net.Index.IndexReader.Open(Directory directory) +102
Lucene.Net.Index.IndexReader.Open(String path) +42
NoxForum.Framework.SearchSystem.Search(String Text, Boolean isSearchTitleOnly, Int32 idxStart, Int32 nPageSize, Int32& nCountResult) +157
ASP._addon_forumsystem_search_aspx.Page_Load() in d:\zhaix\websites\cndev.org#www\_addon\ForumSystem\search.aspx:71
System.Web.Util.CalliHelper.ArglessFunctionCaller(IntPtr fp, Object o) +5
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +781855
System.Web.UI.Control.OnLoad(EventArgs e) +99
NoxForum.Framework.Pages.BasePage.OnLoad(EventArgs e) +79
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061