Author: nheath | Posted on: 7/2/2010 2:18:13 PM | Views : 888

Hi all,
I have a problem with ApplicationException; a dataitem is updated, but if there is an inconsistency in the data to be updated in the business logic layer (i.e. no data was returned) then the line:
Throw New ApplicationException("There was a database error.")
 
is executed. Now this used to work fine on VWD 2008 3.5 Framework, as I would handle the exception in the Updated event like so:
If e.exception IsNot Nothing Then ... ... e.ExceptionHandled = True End If
However after downloading VWD 2010 and switching to the 4.0 Framework (I really don't know if either of those are the issue), I now get an annoying box that says "ApplicationException was unhandled by user code" - even though it should be.
Why am I getting this message? It doesn't cause the application to crash as when I click Continue, it ca ...

Go to the complete details ...