Try to run StreamInsight 2.1 Server/Client example: ConnectionException
-
Sunday, September 09, 2012 9:23 PM
Hi,
I'm trying to run the following StreamInsight example: http://technet.microsoft.com/en-us/library/hh995352%28v=sql.111%29.aspx
with its associated Client A: http://technet.microsoft.com/en-us/library/jj136797%28v=sql.111%29
I installed StreamInsight 2.1 and configured one server instance. I use Visual Studio 2010 and Windows XP...
When I copy and paste the whole example (only changed the server instance name and url), the server runs fine and writes every second number (all even numbers) to the console. But when I start the client, it will throw an "ConnectionException" (access denied) at this line:
var myApp = server.Applications["serverApp"];
I changed the URL to http://localhost:6690/MyStreamInsightServer, because default port 80 is used... (There was another exception)
In addition: my firewall is off...
Can anyone help me to fix that? I just want to run a "simple" example to get a server/client system through internet (but first local^^).
Thanks.
All Replies
-
Sunday, September 09, 2012 10:11 PM
Just got it... I had to log in again to make my user account visible for the server instance
- Proposed As Answer by Gary Ericson [Live] Tuesday, September 11, 2012 10:39 PM
- Marked As Answer by Iric WenModerator Sunday, September 16, 2012 9:46 AM
-
Monday, September 10, 2012 2:42 PM
Yes, you will have to do that. Only users that are in the StreamInsightUsers$[InstanceName] can connect to the endpoint. When installing, the installer will ask if you want to put the current user into the group. BUT ... because of how Windows security tokens work, you won't have that group in your token until you log off and log back in.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.- Proposed As Answer by Gary Ericson [Live] Tuesday, September 11, 2012 10:39 PM
- Marked As Answer by Iric WenModerator Sunday, September 16, 2012 9:46 AM


