User-1705348079 posted
Hi,
I tried duplicating Scott's video demo - build a Linq to SQL class to connect to Northwind (on my SQL 2005 server, not App_Data); modify Global.ASAX and run - I get the list of tables, but when I click on a table name, I get an Invalid Cast exception
(System.InvalidCastException: Unable to cast object of type 'NWindLinqDataContext' to type 'System.Data.Objects.ObjectContext').
Any idea what I'm doing wrong, or if my VS2008 is misconfigured?
Thanks,
EricF