报错为:Offending URL: http://localhost:1104/search/default.aspx?channelid=0&k=关于瑞通Source: mscorlibMessage: 对路径“F:\软件\瑞通\JumboTCMS_V6.7.0\JumboTCMS_src\JumboTCMS.WebFile\_data\index\article\segments”的访问被拒绝。Stack trace: 在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
是从以下函数报的错:utils.LuceneHelp.cs文件中/// <summary>
/// 分布检索
/// </summary>
/// <param name="type">多个用,隔开</param>
/// <param name="channelid"></param>
/// <param name="keywords">已经使用分词工具处理过</param>
/// <param name="pageLen"></param>
/// <param name="pageNo"></param>
/// <param name="recCount"></param>
/// <param name="eventTime"></param>
/// <returns></returns> public static List<SearchItem> Search(string type, string channelid, string classid, string year, String keywords, int pageLen, int pageNo, out int recCount, out double eventTime, ref Dictionary<string, int> channelAggregate, ref Dictionary<string, int> yearAggregate)
请问为什么会这样报错呢?因为JumboTCMS.WebFile\_data\index\文件夹下面是没有article\segments这两个文件夹的。然而我添加这两个文件夹后又提示访问被拒绝。请问如何解决。跪谢!