title: Error while using ExecuteNonQuery c#
body: <p>I have a problem while using <code>ExecuteNonQuery</code>.</p>
  
  <p>This is my code :</p>
  
  <pre><code>var connString = @"Data Source=serwer01;Initial Catalog=PolsatCyfrowy;Integrated Security=True";
  
  FileInfo file = new FileInfo("C:\\Users\\azbudniewek\\source\\repos\\UM2 V2\\UM2 V2\\scripts.sql");
  string script = file.OpenText().ReadToEnd();
  
  SqlConnection conn = new SqlConnection(connString);
  Server server = new Server(new ServerConnection(conn));
  server.ConnectionContext.ExecuteNonQuery(script);
  </code></pre>
  
  <p>And this is the error: </p>
  
  <blockquote>
    <p>System.IO.FileNotFoundException: The file or set 'Microsoft.SqlServer.BatchParser, version = 14.100.0.0, Culture = neutral, PublicKeyToken = 89845dcd8080cc91' or one of its company can not be loaded. The file can not be downloaded.<br>
    File name: 'Microsoft.SqlServer.BatchParser, version = 14.100.0.0, Culture = neutral, PublicKeyToken = 89845dcd8080cc91'</p>
    
    <p>in System.Reflection.RuntimeAssembly.GetType (RuntimeAssembly set, string name, Boolean throwOnError, Boolean ignoreCase, ObjectHandleOnStack)<br>
    in System.Reflection.RuntimeAssembly.GetType (string name, Boolean throwOnError, Boolean ignoreCase)</p>
  </blockquote>
  
  <p>I read a lot of solutions with problem but can't do anything .</p>
  
  <p>Should I just install another SQL Server? I have installed SQL Server 2014 on my computer and folder with assembly looks like this: </p>
  
  <p><a href="https://i.stack.imgur.com/2MyaP.png" rel="nofollow noreferrer">Screenshot</a></p>
  
  <p>What should I do to avoid this problem? I think I should have version 14.100.0.0 in my assembly folder but don't know how to update it. Maybe anyone know it?</p>