StreamInside is the Microsoft version of CEP (Complex Event Processing) solution. Even it’s called Server server 2008 R2 StreamInside, It has nothing to do with the SQLServer 2008 R2. but in term of licensing. So you don’t need to install SQl server 2008 r2 in order to run the CEP.
after finished installing the StreamInside and setup one instance called StreamInside. time to write a hello world application.
System.ServiceModel.WSHttpBinding binding = new System.ServiceModel.WSHttpBinding(System.ServiceModel.SecurityMode.Message); using (Server server = Server.Connect(ea,binding )) try |
Then click and run, get the following error, access is denied.
How comes ? then I run a cordbg and attach to the Host Server. Get the error stack trace. It requires the user to be the Group of StreamInsightUser$[instanceName]
Can I override to just remove the security enforcement. the short answer is No. It hardcoded the roles Check.
what’s the principalpermission?
even you override the .config and change the binding security mode to None. it still need this role check.
What' you have to do is make sure you are in the named group. It looks for me that I have to restart the PC to get refreshed on the group ownership.
you can use the following C# code to query all the groups you have.
using System; namespace ConsoleApplication2 System.Security.Principal.WindowsIdentity.GetCurrent().Groups.ToList().ForEach (e => Console.WriteLine(((System.Security.Principal.NTAccount)e.Translate(typeof(System.Security.Principal.NTAccount))))); } |
More troubleshooting entries.
- SQlServer StreamInside , Unable to Create Application Microsoft.ComplexEventProcessing.ConnectionException: Access is denied
- windbg:PDB symbol for mscorwks.dll not loaded when you debug dump of .net app or silverlight apps and How to configure WinDbg to run other versions of the .NET
- Biztalk 64bit Host CPU 100% , Microsoft.BizTalk.MsgBoxPerfCounters.CounterManager.RunCacheThread
2 comments:
It's called StreamInsight, not StreamInside.
thanks, corrected. my typo, sorry.
Post a Comment