Question: SqlNullValueException: Data is Null. This method or property cannot be called on Null values.
The issue is because the data you are trying to retreive from the database has null values hence you are calling .ToList() on it. This will throw an error.
Josh said:
Make sure that the columns returned from database has value in them, or write a stored procedure to replace NULL values with some values.