Microsoft StreamInsight: “The type or namespace name ComplexEventProcessing does not exist in the namespace Microsoft”

error streaminsight complex event processing version 21In this blog post, I’ll document how I solved the error “The type or namespace name ComplexEventProcessing does not exist in the namespace Microsoft”. Here are the steps:

1. I browsed through other errors/warnings as well – I was also missing assemblies from Reactive Extensions and so I added them first.

2. For my scenario, I had installed StreamInsight 2.0 successfully on my machine but I downloaded the sample that needed assemblies from StreamInsight 2.1 – notice the version mismatch here? That was the problem!

3. One of the message said “Could not locate assembly Microsoft.ComplexEventProcessing version = 21.0.0.0″ – notice the version = 21.0.0.0 – it suggested that I needed the assemblies from StreamInsight 2.1

4. So I downloaded “Microsoft┬« SQL Server┬« StreamInsight 2.1″ and installed it. And it worked!

5. FYI: I found the Microsoft.ComplexEventProcessing assembly on my machine at C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.ComplexEventProcessing\*

That’s about it for this post. I hope it helps someone who is having issues with finding the assembly with the right version number to get started working with StreamInsight.

4 thoughts on “Microsoft StreamInsight: “The type or namespace name ComplexEventProcessing does not exist in the namespace Microsoft”

Thank this author by sharing the article on social media. If you have any questions or comments, please leave a reply below:

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s