BTW, even with that switch, the problem remains. I checked the database properties. The Compatibility level is at SQL Server 2008 (100). The message "DataReader.GetFieldType(68) returned null" remains. Is there anything else that you had to change to combine with that setting?