If you working with Windows Worflow Foundation and it happens that you get such an exception, add a try/catch exception on the event that the host is firing and check the innerException message. I am working on a WF application and had this exception