When running my code, I get an 'DbUpdateException was unhandled by user code', which shows in my application as an 'unhandled exception', refering to the 'inner exception' for details.
I've read some articles on here which suggested building a simple try catch block to show the inner exception. When this didn't show anything, I went through the code step by step to find out where it went wrong and why the innerexception wasn't showing. Turns out;
The inner exception is null.
I'd prefer some tips as to where to look to find a solution to the problem than having someone find the problem for me, so I'll refrain from posting some of the code here for now, unless someone tells me that's not going to work out for me.