I have a complex server application that uses Nhibernate and Linq2SQL. About 3 times per day the Linq2sql code generates a \"value cannot be null\" exception. Once this happ
I've had the exact same problem before; I should have blogged about it because now I can't remember the root cause.
My gut tells me, it was one of the following:
Or something along those lines. Just make sure you're using Linq2Sql correctly.