The last screenshot has an invalid output grid name -- contains a quote (')
Output Esri grids must be named properly - start with a letter, only a-z0-9_ and 13 chars is the length limit. If you violate these rules you are probably going to get a 999999 error.