0

我的项目使用嵌入流洞察实例运行良好。但是当我尝试在 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。

4

1 回答 1

1

将您的 dll 放入调试文件夹并重新启动 Windows 服务。

于 2014-06-13T09:16:37.383 回答