Server Error in '/' Application.

Could not find file 'C:\Inetpub\Indexes\Providers\WISCONSIN\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.FileNotFoundException: Could not find file 'C:\Inetpub\Indexes\Providers\WISCONSIN\segments'.

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: Could not find file 'C:\Inetpub\Indexes\Providers\WISCONSIN\segments'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +10909709
   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) +2580
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) +138
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +89
   Lucene.Net.Store.Descriptor..ctor(FSIndexInput enclosingInstance, FileInfo file, FileAccess mode) +80
   Lucene.Net.Store.FSIndexInput..ctor(FileInfo path) +113
   Lucene.Net.Store.FSDirectory.OpenInput(String name) +94
   Lucene.Net.Index.SegmentInfos.Read(Directory directory) +68
   Lucene.Net.Index.AnonymousClassWith.DoBody() +54
   Lucene.Net.Store.With.Run() +60
   Lucene.Net.Index.IndexReader.Open(Directory directory, Boolean closeDirectory) +132
   Lucene.Net.Search.IndexSearcher..ctor(Directory directory) +22
   AG.Search.Lucene.Provider.ProviderSearcher.Search(Int32 pageIndex, Int32 pageSize) +139
   AG.Modules.ProviderSearchLucene.BLL.Presenters.ProviderSearchPresenter.Search() +387
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   Rainbow.UI.Page.OnLoad(EventArgs e) +491
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


Version Information: Microsoft .NET Framework Version:2.0.50727.9061; ASP.NET Version:2.0.50727.9062