Select to view content in your preferred language

Model Builder/ArcGIS crash using Spatial Join in a model

4555
23
09-07-2011 12:56 PM
MartyAnderson
Deactivated User
I'm trying to create a simple model that performs a spatial join of a dem (points, target features) to catch basins (points, join features). I'm doing a One-to-One join with the Closest option. I can perform the join with no issues using the Spatial Join tool in the toolbox, but anytime I try to do this within a model in model builder, ArcMap crashes. I'm using ArcGIS 10 and it doesn't appear to be a ram issue.

I've searched the forums for similar problems and haven't found anything....

Any thoughts or remarks would be appreciated.

Marty Anderson
0 Kudos
23 Replies
NobbirAhmed
Esri Alum
The following Spatial Join patch fixing the issue is now available on resource center through this link:

http://resources.arcgis.com/content/patches-and-service-packs?fa=viewPatch&PID=160&MetaID=1857
0 Kudos
SusanJones
Frequent Contributor
This is wierd - the tool works fine from ArcDesktop but fails miserably with Modelbuilder and ArcPy.

Will try Loading the full Service Pack as there is a problem with getting this small patch run on a Windows 7 64-bit machine.
0 Kudos
NobbirAhmed
Esri Alum
Thanks for getting back with your tests (though bad 😞 ).

By "works in ArcGIS Desktop" you mean when you use the tool dialog, right?

What is meant by 'fails miserably'? Does it crash when you use the tool in ModelBuilder?

You are going to 'load full Service Pack' - which service pack? You need to have 10 sp4 installed and then install the patch on top of sp4. If you have sp3 then you don't need the patch. Please let us know if you are getting error on sp3.

Thanks again.
0 Kudos
SusanJones
Frequent Contributor
Thanks for getting back so prommptly

Applied Service Pack4 AND the SpatialJoin batch. It actually works with Modelbuilder. Will try ArcPy now (but I am sure it will be fine if it fixed the MB issue)

Thanks for getting back with your tests (though bad 😞 ).

By "works in ArcGIS Desktop" you mean when you use the tool dialog, right?

What is meant by 'fails miserably'? Does it crash when you use the tool in ModelBuilder?

You are going to 'load full Service Pack' - which service pack? You need to have 10 sp4 installed and then install the patch on top of sp4. If you have sp3 then you don't need the patch. Please let us know if you are getting error on sp3.

Thanks again.
0 Kudos