ScanWriter Exception an Exception Has Occurred