Windows上的StreamInsight Service不能识别应用程序dll

本文关键字:识别 应用程序 dll 不能 Service 上的 StreamInsight Windows | 更新日期: 2023-09-27 17:53:14

我有我的项目工作良好嵌入流洞察实例。但是当我试图在Windows上使用标准的StreamInsight服务时,当运行此代码时,我得到了一个异常

using (matchQuery.Bind(sink).Run())

类型为'Microsoft.ComplexEventProcessing.ConnectionException' occurred in Microsoft.ComplexEventProcessing.Diagnostics.dll的例外

上面说The management service encountered an error: Could not load file or assembly 'MyApplication, Version=1.0.5198.16312, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

我的问题

1。为什么StreamInsight不能识别dll ?

2。我需要安装dll到GAC吗?

我使用StreamInsight 2.1

我的系统是64位的

我的项目配置了任意CPU

Windows上的StreamInsight Service不能识别应用程序dll

将dll放到debug文件夹中,重新启动windows服务