Asp.net mvc: more info on UpdateModel exception

asp.netasp.net-mvc

i sometimes get an error with the UpdateModel function.
However, i can't seem to locate the exact message which field(s) is/are causing the problem.
For example this one:
"The model of type 'Enquete' was not successfully updated."

it has an innerexception of NULL, and no further description. Is there a way to find out what is causing the problem?

Michel

EDIT:
i see this in my output window:
"A first chance exception of type 'System.InvalidOperationException' occurred in System.Web.Mvc.dll"

Best Answer

Just a wild guess: You are trying to bind null to a value type. Check in your model for int, float, DateTime, structs, ... data types that you try to bind to null.