none
The specified StreamInsight instance 'StreamInsight' could not be found or is not valid for this product.

    Dotaz

  • Hi, 

    I just installed Stream Insight 2.0 and created a sample application. For some reason I'm not able to obtain server reference using Server.Create like this:

    using (Server server = Server.Create("StreamInsight"))'

    StreamInsight is the instance name I use when I connect using the event flow debugger and that works beautifully. My user domain\user already have access to the instance and is in the group necessary.

    Anyone know why I'm receiving this error:

    The specified StreamInsight instance 'StreamInsight' could not be found or is not valid for this product.

    Thanks again.


    8. března 2012 17:03

Odpovědi

Všechny reakce

  • Created a new visual studio project and moved the code to that which worked. Must have something to do with the fact that I upgraded a 1.2 app to 2.0. 
    • Označen jako odpověď mortenbpost 8. března 2012 17:13
    8. března 2012 17:13
  • Before you created the new project did you do one of the following:

    - Update your existing 1.2 references to 2.0?

    OR

    - Set the assembly binding redirect to use the 2.0 assemblies?

    The binding redirect will look like the following:

    <runtime>
    	<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
    		<dependentAssembly>
    			<assemblyIdentity name="Microsoft.ComplexEventProcessing" publicKeyToken="89845DCD8080CC91" culture="neutral"/>
    			<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="20.0.0.0"/>
    		</dependentAssembly>
    		<dependentAssembly>
    			<assemblyIdentity name="Microsoft.ComplexEventProcessing.Adapters" publicKeyToken="89845DCD8080CC91" culture="neutral"/>
    			<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="20.0.0.0"/>
    		</dependentAssembly>
    		<dependentAssembly>
    			<assemblyIdentity name="Microsoft.ComplexEventProcessing.ManagementService" publicKeyToken="89845DCD8080CC91" culture="neutral"/>
    			<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="20.0.0.0"/>
    		</dependentAssembly>
    	</assemblyBinding>
    </runtime>


    DevBiker (aka J Sawyer)
    My Blog
    My Bike - Concours 14


    If I answered your question, please mark as answer.
    If my post was helpful, please mark as helpful.

    8. března 2012 19:00