Hello,

Trying to just insert a simple record in DB and it fails. When I set debugger on, I see that execution jumps out by IntakeNummer to the Catch and of course, assigns value -1 to IntakeNummer. As if it was impossible to increment or even read de identity column! In my DB, IntakeID is my identity column (1,1).

Underneath the vb.net code that fails. Can anyone help me? What am I doing wrong?

---------------------------------------------------------------...