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

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

  • giovedì 8 marzo 2012 17:03
     
     

    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.


    • Modificato mortenbpost giovedì 8 marzo 2012 17:07
    •  

Tutte le risposte

  • giovedì 8 marzo 2012 17:13
     
     Con risposta
    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. 
    • Contrassegnato come risposta mortenbpost giovedì 8 marzo 2012 17:13
    •  
  • giovedì 8 marzo 2012 19:00
     
      Contiene codice

    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.