title: SharePoint: Unable to fetch information from an external list
body: <p>I am trying to fetch information from an external list using the following CAML query.</p>
  
  <pre><code>&lt;Where&gt;
    &lt;Eq&gt;
      &lt;FieldRef Name='EventID' /&gt;
      &lt;Value Type='Guid'&gt;98f68099-2ec8-4b68-95dc-607f0d50520b&lt;/Value&gt;
    &lt;/Eq&gt;
  &lt;/Where&gt;
  </code></pre>
  
  <p>The EventID field's type is Guid both in the database and the model. The <code>List.GetItems</code> methods throws the exception with the message "FieldRef". Just this message. The line</p>
  
  <pre><code>Debug.WriteLine("Static Name: " + field.StaticName + " - Internal Name: " +     field.InternalName + " - Type Display Name:" + field.TypeDisplayName);
  </code></pre>
  
  <p>gives the following information just before the <code>List.GetItems</code> call</p>
  
  <pre><code>Static Name: EventID - Internal Name: EventID - Type Display Name:Guid
  </code></pre>
  
  <p>Any idea how to resolved this. Any help would be greatly appreciated.</p>
  
  <p>Thanks.</p>