Solved! Go to Solution.
When I run the Raster to Polygon tool, I get the following error:
Error 999999: Error executing function.
Cannot create feature dataset.
Failed to execute (RasterToPolygon).
The strange thing is, an output is still generated - and as far as I can tell, it seems perfectly fine; but since I'm doing this in a model, an error causes the model to abort, so I need to be able to resolve this. I tried disabling the Simplify Polygons option; I tried changing the value field (even though the only other value is "count" and that wouldn't give me correct results); I tried simplifying the filepath to exclude spaces and symbols; I even tried writing to a gdb instead of creating a shapefile. The outcome is the same every time. Any ideas?