0

我们正在为我们的用户构建一个交互式搜索,我尝试了这个 看起来不错的Microsoft KES链接。

当我尝试托管服务时

kes.exe host_service d:\kes\grammarout.grammar d:\kes\indexout.index

我遇到了以下问题,

Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at System.Net.UnsafeNclNativeMethods.SetFileCompletionNotificationModes(CriticalHandle handle, FileCompletionNotificationModes modes)
   at System.Net.HttpListener.CreateRequestQueueHandle()
   at System.Net.HttpListener.Start()
   at Kes.WebServer.Start()
   at Kes.KesWebServiceCmd.ExecuteInt()
   at Kes.KesWebServiceCmd.Execute()
   at Kes.Program.Main(String[] args)

我尝试以管理员身份运行命令提示符,但弹出相同的问题。

4

1 回答 1

0

您可以尝试将端口显式设置为不同的值吗?

kes.exe host_service Academic.grammar Academic.index --port 9999

如果这不起作用,则搜索来自 SetFileCompletionNotificationModes() 的此特定错误消息表明这可能是由于来自第 3 方应用程序的干扰。您是否安装了任何可能拦截网络流量的应用程序?

于 2016-07-13T16:56:53.137 回答