我安裝的StreamInsight 2.1和init的服務器在這樣的代碼指定的StreamInsight實例無法找到或不適用於此產品
using (var server = Server.Create("Default"))
我用2個控制檯應用程序的代碼。它會拋出像下面的錯誤。
我不明白的是爲什麼應用程序A工作,但應用程序B沒有工作。
我也試着爲2個應用程序使用2個實例。但是隻有申請A有效,而B沒有。
請注意,A和B沒有配置。由於StreamInsight不需要配置。
我正在使用評估版。
System.InvalidOperationException was caught
_HResult=-2146233079
_message=The specified StreamInsight instance 'Default' could not be found or is not valid for this product.
HResult=-2146233079
IsTransient=false
Message=The specified StreamInsight instance 'Default' could not be found or is not valid for this product.
Source=Microsoft.ComplexEventProcessing.Diagnostics
StackTrace:
at Microsoft.ComplexEventProcessing.Diagnostics.Exceptions.Throw(Exception exception)
at Microsoft.ComplexEventProcessing.EmbeddedServerProxy.GetInstanceWithExistenceCheck(String instanceName)
at Microsoft.ComplexEventProcessing.EmbeddedServerProxy..ctor(String instanceName)
at Microsoft.ComplexEventProcessing.Server.Create(String instanceName)
at StreamInsightDemo.StreamMaker.Run(String symbol, RandomDataProvider randomDataProvider) in c:\Users\Vu Nguyen\Documents\Visual Studio 2013\Projects\StreamInsightDemo\StreamInsightDemo\StreamMaker.cs:line 83
InnerException:
找到了解決辦法嗎? – gh0st