I need to vectorize some rasters to polygons and to do so, I use the "Raster to Polygon" tool in ArcGIS Desktop 10.4. As there are many rasters, I use a iteration in ModelBuilder.

The output workspace is a Geodatabase and here comes the problem. When the model runs, the first iteration works fine. However, at the second iteration, the model fails at the "Raster to Polygon" tool. When I open the tool (right-click) to check it, I see that the system automatically added a .shp extension to my polygon. As the output workspace is a GDB, the tool fails.

This problem occurs for any source of rasters.

Here are some screenshots to help you understand.

The model and the tool before I click run:

model and tool pre-run

The error and the tool after it fails at second iteration:

error and tool pos-run

Can anyone help me?

  • Please always provide error messages as text rather than pictures.
    – PolyGeo
    Oct 25, 2020 at 4:03

1 Answer 1


This is some sort of bug, I have come across it too. A solution is discussed on geonet here:


  • It would be good to have that solution summarized or quoted here.
    – PolyGeo
    Mar 8, 2018 at 0:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.