title: Receiving "DataReader.GetFieldType returned null." error.
body: <p>I have designed a windows form application with a .NET 4.5 target.  I am trying to install the program on a couple of co worker's systems and keep receiving the same error on both systems.</p>
  
  <pre><code>System.InvalidOperationException: DataReader.GetFieldType(60) returned null.
  </code></pre>
  
  <p>This program basically retrieves data from a database and stores them in an excel file.  It performs some calculations on the data, but nothing with the <strong>geometry type</strong> column except for retrieving it.</p>
  
  <p>-I have tried installing <strong>ENU\x64\SQLSysClrTypes.msi</strong> and <strong>ENU\x86\SQLSysClrTypes.msi</strong> on the target systems.  </p>
  
  <p>-I have tried referencing <strong>Microsoft.SqlServer.Types</strong> and including the DLL in the files</p>
  
  <p>-I have tried referencing <strong>SqlServerSpatial.DLL</strong> and <strong>SqlServerSpatial100.DLL</strong> but it does not let me add the references.</p>
  
  <p>I am now having trouble finding other resources to try.  Does anyone have any ideas?  Thanks ahead.</p>