Hi, StreamIO exception is a sort of collect-all generic exception. Wrap your code in a try- catch block and in the catch log the error message. In PHP it is something like that try { //your code } catch(MgException $e) { error_log($e->getExceptionMessage(); // in older MapGuides was $e->getMessage() } Regards, Gabriele