I'm running Visual Studio 2008 9.0.21022.8 RTM, with SQL 2005. I've been working on a project that uses Linq, and up until today, everything had been working great. I started to get data cast errors when reading the results from a basic "from .. select" clause. It looked like the error had to do with a mismatch between the column data type in the DB and what was shown in the O/R designer. However, after changing the data types in the designer to match the DB, the problem didn't go away. I decided
Read More...