我有我的项目工作良好嵌入流洞察实例。但是当我试图在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
将dll放到debug文件夹中,重新启动windows服务