我将 StreamInsight 服务器托管到 Windows 服务。Windows 服务使用 LocalSystem 运行。
在 OnNext() 方法中,我可以访问服务器的代码
using (
var server =
Server.Connect(
new EndpointAddress(@StreamInsightConfiguration.Default.StreamInsightServiceHostURL))
)
{
var application = server.Applications[StreamInsightConfiguration.Default.StreamInsightApplicationName];
return application;
}
在线server.Applications[StreamInsightConfiguration.Default.StreamInsightApplicationName]; 我收到一条消息访问被拒绝。
我还将 NT\SYSTEM 添加到 StreamInsightUsers$Default 组。
如何解决这个问题?