There was no endpoint listening at http://localhost/StreamInsight/<instancename> that could accept the message
-
Thursday, November 15, 2012 2:21 PM
Hi,
I've started using StremInsight 2.1 recently and I've downloaded the samples from codeplex. They all Work perfectly.
I've build a MSMQ adapter and I can see that my messages are consumed but I can see any form for output so I wanted to start the event flow debugger. When I start it I got the following error :
There was no endpoint listening at -------------------
Unable to connect to the remote server
-------------------
No connection could be made because the target machine actively refused it 127.0.0.1:80
I have checked the instance name and it is correct. I've checked the endpoint address also in the config file and it is also correct. I am able to start a trace from the streaminsight Tool folder and there is a data for the CEP...
I have also tried to connect with my IP address with the same result. I have looked at similar posts on this forum but couldn't seem to find an answer.
Any idea on how to get the event flow debugger running will be greatly appreciated.
Thanks
Régis
All Replies
-
Thursday, November 15, 2012 7:49 PM
Are you hosting StreamInsight in your own process (using Server.Create vs. Server.Connect)? If so, you need to start the management service.
ServiceHost managementServiceHost = new ServiceHost(cepServer.CreateManagementService()); //Adding the service host. //This allows remote clients to access this application, including the Query Debugger. managementServiceHost.AddServiceEndpoint( typeof(IManagementService), new WSHttpBinding(SecurityMode.Message), AppSettings.Current.ManagementServiceUrl); managementServiceHost.Open();You'll need to run Visual Studio as Administrator (User Account Control) or register the URL (see http://go.microsoft.com/fwlink/?LinkId=70353 for details).
Check out this blog entry and download the sample if you need an example.
DevBiker (aka J Sawyer)
Microsoft MVP - Sql Server (StreamInsight)
If I answered your question, please mark as answer.
If my post was helpful, please mark as helpful.- Marked As Answer by Iric WenModerator Monday, November 26, 2012 2:20 AM
-
Thursday, November 22, 2012 9:25 AM
Hi,
Thanks for the answer but I'm afraid it didn't solve my problem.
Btw what is usually the url to AppSettings.Current.ManagementServiceUrl ?
Cheers
Régis
-
Thursday, November 22, 2012 3:02 PM
The Url is whatever you want it to be. If you download the sample, you'll see that it comes from the config file in the sample. Did you download it?
Also, have you tried disabling the firewall? It could be that the firewall is blocking (though I doubt it).
I'm assuming that you are running an embedded server (in process, using Server.Create rather than Server.Connect). Can you post your start up code?
DevBiker (aka J Sawyer)
Microsoft MVP - Sql Server (StreamInsight)
If I answered your question, please mark as answer.
If my post was helpful, please mark as helpful.- Marked As Answer by Iric WenModerator Monday, November 26, 2012 2:20 AM


