返回首页

“/”应用程序中的服务器错误。

this Directory is closed

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: Lucene.Net.Store.AlreadyClosedException: this Directory is closed

源错误:


行 448:                                    <%#GetInfoPhoto(Eval("Photo").ToString() ,Eval("Title").ToString(), Eval("Type").ToString()) %>
行 449:                                    <div class="pro_message">
行 450:                                        <h3><a target="_blank" href="<%# InfoLink.GetGqInfoUrl(Eval("GqId").ToString(), Eval("ClassId").ToString(), Eval("Type").ToString(), Eval("HtmlUrl").ToString(),Eval("ClassLetterUrl").ToString(),  Eval("city").ToString(), Eval("Province").ToString()) %>"><%# Eval("Title") %> </a></h3>
行 451:                                        <p>
行 452:                                            <span>新旧程度:<%#GetXJCD(Eval("XJCD").ToString())%></span><span>供货总量:<%#Eval("ProNum") %></span><span>型号规格:<%#Eval("ProXh").ToString() == "" ? "不限" : Eval("ProXh").ToString()%></span><span>交易价格:<%#Eval("ProPrice") %></span><span>所在地区:<%#GetProvName(Eval("Province").ToString())%><%#GetCityName(Eval("city").ToString()) %></span><span>存放方式:<%#Eval("CFFS").ToString() == "1" ? "库存存放" : Eval("CFFS").ToString() == "2" ? " 露天存放" : Eval("CFFS").ToString() == "0"? "不限": Eval("CFFS").ToString()%></span></p>

源文件: e:\feijiu\root\InfoList\gqinfolist.aspx    行: 450

堆栈跟踪:


[AlreadyClosedException: this Directory is closed]
   Lucene.Net.Store.Directory.EnsureOpen() +105
   Lucene.Net.Store.FSDirectory.ListAll() +41
   Lucene.Net.Index.FindSegmentsFile.Run(IndexCommit commit) +624
   Lucene.Net.Index.DirectoryReader.Open(Directory directory, IndexDeletionPolicy deletionPolicy, IndexCommit commit, Boolean readOnly, Int32 termInfosIndexDivisor) +86
   Lucene.Net.Index.IndexReader.Open(Directory directory, IndexDeletionPolicy deletionPolicy, IndexCommit commit, Boolean readOnly, Int32 termInfosIndexDivisor) +59
   Lucene.Net.Index.IndexReader.Open(String path, Boolean readOnly) +114
   Lucene.Net.Index.IndexReader.Open(String path) +44
   Lucene.Net.Search.IndexSearcher..ctor(String path) +48
   getHangYeTable2018.bindClassLetterName(String ClassId) +35
   InfoLink.GetGqInfoUrl(String strId, String strClassId, String strType, String strHtmlUrl, String LetterUrl, String City, String province) +262
   ASP.infolist_gqinfolist_aspx.__DataBind__control23(Object sender, EventArgs e) in e:\feijiu\root\InfoList\gqinfolist.aspx:450
   System.Web.UI.Control.OnDataBinding(EventArgs e) +92
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +85
   System.Web.UI.Control.DataBind() +15
   System.Web.UI.Control.DataBindChildren() +187
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +94
   System.Web.UI.Control.DataBind() +15
   System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +126
   System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +9502667
   System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +61
   System.Web.UI.WebControls.Repeater.DataBind() +50
   InfoList_gqinfolist.Page_Load(Object sender, EventArgs e) in e:\feijiu\root\InfoList\gqinfolist.aspx.cs:399
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Control.OnLoad(EventArgs e) +92
   System.Web.UI.Control.LoadRecursive() +54
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.0.30319.34009
返回首页