# System IndexOutOfRangeException

**URL:** <https://community.miniprofiler.com/t/system-indexoutofrangeexception/17>\
**Category:** .NET\
**Created:** [August 13, 2013, 6:43am UTC](https://community.miniprofiler.com/t/system-indexoutofrangeexception/17 "2013-08-13T06:43:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Unknown56](https://avatars.discourse-cdn.com/v4/letter/u/8797f3/32.png) [@Unknown56](https://community.miniprofiler.com/u/Unknown56)\
**Post date:** [August 13, 2013, 6:43am UTC](https://community.miniprofiler.com/t/system-indexoutofrangeexception/17/1 "2013-08-13T06:43:18Z")

</div>

```auto
System.IndexOutOfRangeException was unhandled by user code
  HResult=-2146233080
  Message=EmailAddress
  Source=System.Data
  StackTrace:
       at System.Data.ProviderBase.FieldNameLookup.GetOrdinal(String fieldName)
       at System.Data.SqlClient.SqlDataReader.GetOrdinal(String name)
       at StackExchange.Profiling.Data.ProfiledDbDataReader.GetOrdinal(String name) in c:\Code\github\SamSaffron\MiniProfiler\StackExchange.Profiling\Data\ProfiledDbDataReader.cs:line 389
       at System.Data.Query.InternalTrees.ColumnMapFactory.TryGetColumnOrdinalFromReader(DbDataReader storeDataReader, String columnName, Int32& ordinal)
  InnerException: 

```
