please use ex.InnerException.InnerException.Message to view the exact error message