title: Fastmember exception: Specified argument was out of the range of valid values. Parameter name: name
body: <p>I've been encountering this error 
  <strong><em>Specified argument was out of the range of valid values. Parameter name: name</em></strong></p>
  
  <p>When im almost just copying the example here <a href="https://code.google.com/p/fast-member/" rel="noreferrer">https://code.google.com/p/fast-member/</a></p>
  
  <p>The error happens on the bcp.WriteToServer(reader), been looking for additional information but i still dont know what is causing the problem and the example is so simple... And i dont even know where the parameter named <strong><em>name</em></strong> is coming from.</p>
  
  <p>My actual code is below</p>
  
  <pre><code>        using (var bcp = new SqlBulkCopy(configvalue1))
          using (var reader = ObjectReader.Create(DataToLoad, new string[]{"id","field1","field2","field3"}))
          {
              bcp.DestinationTableName = string.Format(DestinationTableFormat, DestinationDb, DestinationSchema, DestinationTable);
              bcp.BatchSize = BatchSize ?? 10000;
              bcp.WriteToServer(reader);
              bcp.Close();
          }
  </code></pre>
  
  <p>Can someone help?</p>
  
  <p>Thanks in advance</p>