Select to view content in your preferred language

errors 001156 & 000595 when using Calculate field Tool

785
13
08-07-2025 07:30 AM
KareemAssaf
New Contributor

Hello,

I upgraded ArcGIS Pro to version 3.5.2; I started facing this problem:

When I'm using the calculate field tool in attribute table, those 2 errors (errors 001156 & 000595) are popping up. knowing that the 2 fields have the same data type and length. Moreover, it's not related to these specific Object Ids in the attached photo, it's giving me this error to all records.

13 Replies
AaronKoelker
Frequent Contributor

@Robert_LeClair Weird. So I did a clean install of 3.5.0, ran it again and still got the same error. Then I created a new polygon feature class within the same file geodatabase, did a mockup similar to yours, and got the same error again. I'm working with "Indoors" data which has a bunch of validation rules and such, so to rule that out, I created an entirely new file geodatabase, made another dummy layer, ran the same calculation and I still get that error. I suppose I could try going back to 3.4 to test...

AaronKoelker_0-1761338349121.png

 

 

-Aaron
0 Kudos
Robert_LeClair
Esri Esteemed Contributor

@AaronKoelker - definitely weird.  So for the NAME field you created, how long is the field?  The default 255 or another length?  I used the default 255 and it worked as you saw.  In studying other cases, the user created a model in ModelBuilder and it worked fine.

One thing I saw with your project vs mine is your's is saved in your user profile folder system while mine is C:\Temp\<project_folder> - not sure if that's an issue...

0 Kudos
AaronKoelker
Frequent Contributor

@Robert_LeClair Just the default 255 on the Text field. And the project is running out of C:\Users\UserName\Documents\ArcGIS\Projects, which I thought was a pretty standard default location for ArcGIS Pro projects. I've used that forever.

That said, I found a workaround, and perhaps the root of the issue. I typically have my ArcGIS Pro set up to require enabling/disabling an editing session before edits can be made, which includes the Calculate Field function. If I disable that option in the settings, Calculate Field then works as expected. Curious if you were to turn that option on, do you get the same error I was seeing?

AaronKoelker_0-1761572301765.png

Still seems like there might be an issue here, and I'd like to keep that option enabled to protect from unintentional edits, but at least I have a workaround in the meantime

 

-Aaron
0 Kudos
Robert_LeClair
Esri Esteemed Contributor

@AaronKoelker - thank you for your respone.  So good to hear that standard, 255 text field.  That's not the issue.  Factory settings for the creation of new projects is C:\Users\UserName\Documents\ArcGIS\Projects as set in the Project tab->Options->General tab I believe.  In my Pro classes, I jokingly say this is where projects go to die as for many users it's difficult to "find" this location.  You can certainly create/save projects at this location but I'm old school and prefer a more specific directory/folder system for my projects.  If you've been doing this forever, go for it.

Interesting about the start/stop editing option.  I hadn't thought of this as I don't use this workflow.  It's an ArcMap equivalency item.  I changed my ArcGIS Pro to have this checked on and the Calculate Field GP tool failed as expected but with the dreaded 999999 error code.  At least you have a workaround now!

0 Kudos