Look at the InnerException property of the exception that is thrown to get a more specific error message.