|
POST
|
Oh and just for reference, I tested the original problematic code on another machine running Pro 2.9.0 against the 10.9.1 enterprise geodatabases and it still produced the same error.
... View more
09-23-2025
01:42 PM
|
0
|
1
|
612
|
|
POST
|
This worked! Just tested it and it produced the results we were seeking. 👍👍
... View more
09-23-2025
06:39 AM
|
1
|
0
|
635
|
|
POST
|
Very odd, I tried my original code on our test enterprise environment and got the same results. Both are 10.9.1 enterprise geodatabases. I also stood up a non enterprise file geodatabase with a feature dataset with one feature class and a relationship class to a standalone table. That did not fail.
... View more
09-23-2025
06:16 AM
|
0
|
2
|
636
|
|
POST
|
Howdy! My colleagues and I are having some difficulty trying to run the ListFields function against a feature dataset in an enterprise geodatabase that contains relationship classes. We are simply trying to export a list of all feature classes and their respective fields within every single feature dataset in a particular database. But it errors out on exclusively when ran against a feature dataset that contain relationship classes; if we run this against a feature dataset without any relationship classes, the code runs just fine. Below is the code we have: import arcpy
import os
geodatabase_path = r"C:\PathTo\Database Connection.sde"
output_file_path = r"C:\Temp\Output.txt"
with open(output_file_path, "w") as f:
arcpy.env.workspace = geodatabase_path
datasets = arcpy.ListDatasets("*BadFeatureDataset*", "FeatureDataset")
f.write(f"Feature Dataset: {datasets}\n")
for ds in datasets:
for fc_fd in arcpy.ListFeatureClasses(feature_type='Polygon', feature_dataset=ds):
print (fc_fd)
f.write(f"Feature Class: {fc_fd}\n")
fields_fc_fd = arcpy.ListFields(fc_fd)
for field in fields_fc_fd:
f.write(f"{field.name}, {field.type}\n")
f.write("\n") Traceback (most recent call last): File "<string>", line 33, in <module> File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\__init__.py", line 1214, in ListFields return gp.listFields(dataset, wild_card, field_type) File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 362, in listFields self._gp.ListFields(*gp_fixargs(args, True))) RuntimeError: ERROR 999999: Something unexpected caused the tool to fail. Contact Esri Technical Support (http://esriurl.com/support) to Report a Bug, and refer to the error help for potential solutions or workarounds. DBMS table not found [42S02:[Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid object name 'gisdata.OWNER.FeatureClassName'.] [gisdata.OWNER.FeatureClassName][STATE_ID = 108472] Note that this is just sampling of the error; the full error lists all of the 20+ relationship class DBMS tables it cannot find (even though they exist and, from what I understand, the code is not even searching against). Plus, in our effort to troubleshoot, we simplified the code a bit to only run against the problematic feature dataset. I'm wondering if it's a glitch we've stumbled upon. For reference we are running this on a machine with ArcGIS Pro 3.2.0 installed and have tested this with the Python Window and Notebook.
... View more
09-22-2025
10:31 AM
|
0
|
6
|
749
|
|
POST
|
Ok I feel like a bit of a goober posting so fast after my original post, but after some more last minute trial and error, I found a solution. In a nutshell, I had to re-add that field that was deleted. Here was my workflow: re-add that temp field that was deleted but the DB was still looking for, republish map service, open dashboard/server manager and confirm no data errors, delete field, republish map service, and again confirm dashboard/server manager were indeed happy. Hope this is helpful to anyone else running into this issue.
... View more
09-05-2025
12:03 PM
|
0
|
0
|
159
|
|
POST
|
Running into a very similar issue today. We had performed some schema changes, had to go through a whole process of converting a numeric field to text while preserving the old field name. Basically we add a new temp field (eg. FieldNameNEW), populate it with the old data, delete the older original field, create a new field with the old name, populate that, and delete the temp field with the suffix NEW. Republish the map service and of course it broke one of our production dashboard. The server manager is still trying to reference that intermediate, temp field wit the NEW suffix. Geodatabase error: Attribute column not found[42S22:[Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'FieldNameNEW'.]. Attribute column not found. Weird thing is that it only broke the dashboard. I can see the map service in the rest endpoint, access the data in a web map, open the attribute table (in both the dashboard and a web map). And I've tried to troubleshoot this a ton of different ways, but nothing has worked: republish map service delete and recreate map service assign the layer a new sublayer ID, repulbish remove layer from map service, republish, re-add layer from DB, and republish create new map service with brand new unique name open a brand new dashboard and add layer from original map service open a brand new dashboard and add the same layer from a different map service I've basically boiled it down to the feature class level, but I cannot figure out why or where there is still a reference to a field that doesn't exist anymore ...
... View more
09-05-2025
11:24 AM
|
0
|
1
|
737
|
|
POST
|
Our organization is in the process of exploring an upgrade to our enterprise setup. We have both dev and prod builds at the 10.9.1 version. Our web adaptors are centrally located on a single machine; dev has 2, prod has 2 as well. We'd like to explore upgrading our dev environment to 11.5, for testing purposes, but will this version mismatch cause an issue on the web adaptor machine? Does ESRI even support this type of scenario? Or would it be best practice to stand up a new machine for the dev web adaptors?
... View more
07-01-2025
06:36 AM
|
0
|
3
|
632
|
|
POST
|
Did y'all make a change again? Even after consulting the link, I am not seeing where I can turn off notifications for random posts and updates ... like the OP, I'm only interested in the topics/questions where I posted or received replies to. ???
... View more
04-10-2025
05:51 AM
|
0
|
0
|
1024
|
|
POST
|
Thank you for the info. We will definitely keep a cold copy on hand, but as for a backup that's higher availability, that's a discussion my GIS colleagues and I will have to have with our IT team. One note, we typically had our imagery hosted on the database server for both convenience and for performance. Especially for hosting the data via ArcGIS Server/Image Server. Is that going to be hindered going either the NAS/SAN or Azure route?
... View more
04-08-2025
05:57 AM
|
0
|
1
|
1853
|
|
POST
|
It is a single area of interest and some kind of image file (I need to confirm with my colleague and the vendor on the final file type they will deliver). Edit: they are TIF files.
... View more
04-08-2025
05:27 AM
|
0
|
0
|
1859
|
|
POST
|
Glad you brought up the cloud. I had mentioned Azure as I had briefly dabbled with it at a previous job (not in the context of storing rasters). And since we are a Microsoft shop I thought it might be something to pitch as a solution, but they were reluctant. Something about some fear of backups? Admittedly, there does seem to be a fear of approaching cloud based solutions for some reason ...
... View more
04-08-2025
05:20 AM
|
0
|
3
|
1862
|
|
POST
|
Hi there. Our organization is about to receive a large orthoimagery flight package, roughly 1.5+ TB's of data. In the past, we would store our imagery datasets on a server hosting our enterprise geodatabases. But our IT team is giving us grief about the space of this flight; it's way larger than what we've stored before. There simply is no space on the current architecture to support this new imagery. They mentioned exploring a NAS option, but admittedly I am not too familiar with this as a hosting solution. Doing a bit of research I stumbled upon this: https://doc.arcgis.com/en/imagery/workflows/best-practices/storing-mosaic-datasets.htm and ESRI mentions "one popular pattern is to store the mosaic dataset being used for authoring on a NAS or SAN, then prior to publishing, copy it to the appropriate servers using a directory name that is the same as the original." But honestly, I am not sure what is meant by that statement ... What do y'all use for storing large mosaic datasets? Note we will also need to host this imagery on our internal portal via ArcGIS Server/Image Server.
... View more
04-07-2025
01:38 PM
|
0
|
9
|
1903
|
|
POST
|
I've got the same issue. Apparently it's because we are symbolizing against multiple fields. As far as a fix or work around? Sorry, haven't found one ....
... View more
03-19-2025
07:26 AM
|
0
|
0
|
242
|
|
POST
|
Ok so I was lucky and was able to change the user type without having to delete the user. Here's what I did: Went to Portal rest endpoint (https://webadaptorhost.domain.com/webadaptorname/sharing/rest) and logged in with an admin account. Clicked Users at the bottom of the page and searched for the troublesome account. Clicked on the User Content button and discovered there was some code that the user still had attached to their account. Clicked Delete Item button. Navigated back to the Portal site > Organization > Members > selected the user and changed the User type from Creator to Viewer (plus the Role). Thank you for pointing me in the right direction; somehow I was not aware of that Portal rest endpoint site.
... View more
03-27-2024
06:10 AM
|
0
|
1
|
3347
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-23-2025 06:39 AM | |
| 1 | 12-13-2021 09:19 AM | |
| 1 | 12-09-2022 06:41 AM | |
| 1 | 04-11-2022 08:19 AM | |
| 3 | 07-17-2023 07:44 AM |
| Online Status |
Offline
|
| Date Last Visited |
10-01-2025
09:07 AM
|