POST
|
had this issue again recently with a different feature class. To diagnose - or at least get a more informative error message - we try to edit the ArcSDE/Oracle feature class in ArcMap. ArcMap will expose the ORA-blahblahblah DBMS error that'll point you towards whatever is actually unhealthy about your feature class. Or maybe. In this case, we got a constraint violation between the B and F table shape/fid, but what actually fixed the issue was an drop/add spatial index and Analyze (the toolbox tool, not the ArcCatalog context menu). Of course, the 'fix' broke all the spatial views using the feature class because its XY extent had been recalculated. And they are all locked by map services and thus inconvenient to treat. Party on.
... View more
03-09-2014
05:43 AM
|
1
|
0
|
401
|
POST
|
had this issue again recently with a different feature class. To diagnose - or at least get a more informative error message - we try to edit the ArcSDE/Oracle feature class in ArcMap. ArcMap will expose the ORA-blahblahblah DBMS error that'll point you towards whatever is actually unhealthy about your feature class. Or maybe. In this case, we got a constraint violation between the B and F table shape/fid, but what actually fixed the issue was an drop/add spatial index and Analyze (the toolbox tool, not the ArcCatalog context menu). Of course, the 'fix' broke all the spatial views using the feature class because its XY extent had been recalculated. And they are all locked by map services and thus inconvenient to treat. Party on.
... View more
03-09-2014
05:41 AM
|
0
|
0
|
271
|
POST
|
I've seen the following behavior with my maps: if the Map is zoomed way in, to a scale larger than the maxscale of the tiled basemap layer, the Map.Progress event never reaches 100, and so my progress bar stays around even though that last layer will never come. anything to be done?
... View more
03-08-2014
10:42 AM
|
0
|
0
|
377
|
POST
|
Say I cloned a single-part lake polygon. Then I used the Editor Reshape command to cut a piece off. That incidentally caused a second part to be created where the island was, as seen here. Now I want to get rid of that bogus island. I've tried drawing a circle around it with the Cut command, tried the Reshape command again, no joy. Help a dummy out? [ATTACH=CONFIG]32045[/ATTACH]
... View more
03-08-2014
09:26 AM
|
0
|
0
|
377
|
POST
|
In the end, I used the ArcToolbox tool �??Assign Default to Field�?? to give this column a default value. At least now we can insert rows without assigning a value. gotta love it!
... View more
02-13-2014
08:15 AM
|
0
|
0
|
325
|
POST
|
thanks for the feedback. note to self, use the SDE command line. SDETABLE reflects the same info as TOAD. ArcGIS still says different. I used SDETABLE -o alter_column to make this nullability change to a second feature class. That didn't work any better. As before, the change isn't visible to ArcGIS - ArcCatalog still shows it as not-nullable. Is there a way to make this sort of change to a feature class such that ArcGIS sees the change, or some way to cause the GDB system tables, such as COLUMN_REGISTRY.OBJECT_FLAGS to refresh or repair? The alternative seems to be to add a new column, copy over the data from the old column. Seems heavy-handed.
... View more
02-13-2014
06:33 AM
|
0
|
0
|
325
|
POST
|
I used TOAD to change a feature class column from non-nullable to nullable. And I added a trigger to populate a default value. ArcCatalog still shows the column as non-nullable. So does the ArcGIS Server Services Directory for a feature service published on this layer. And they seem unaware of the trigger - So I still can't insert features with a null value for this column. Secret sauce, anyone?
... View more
02-12-2014
12:51 PM
|
0
|
3
|
588
|
POST
|
nevermind. typical. delete that pond, redraw it, no problem. Gremlins.
... View more
01-23-2014
12:55 PM
|
0
|
0
|
115
|
POST
|
I've got a pond polygon with an island in it, from ArcSDE, that causes this method to blow up with an index out of bounds when it processes the interior ring. before I pull too much hair I thought I'd check to see what I should expect of this method. thanks, MC
... View more
01-23-2014
12:47 PM
|
0
|
1
|
331
|
POST
|
i was surprised the Google had so little to say for that error message, so in case anyone cares, here's the fix, at least in our case. I think this message might be code for "the edit failed at the DB level for bizarre reasons." the ArcSDE feature class exposed by the service was mucked up. Trying to do an edit in ArcMap exposed a more meaningful error message from Oracle. There was some spurious versioning wiring on the feature class, though it is not versioned - specifically a FK constraint to a non-existent A table. By disabling the constraint, all was well.
... View more
09-19-2013
12:19 PM
|
0
|
0
|
401
|
POST
|
can anyone explain what might cause a FeatureLayer SaveEditsFailed event with the exception message "Add results do not match."?
... View more
09-03-2013
01:00 PM
|
0
|
3
|
3712
|
POST
|
Turns out that I wasn't populating attributes on the graphic for a few non-nullable columns. Although ArcGIS Server gave a meaningful error message to that effect, it appears to nevertheless cause an exception inside the API. By pasting the 'adds' text from the applyEdits request as snagged via Fiddler into the ApplyEdits page of the relevent feature layer using a web browser, I was able to see the response and set myself straight.
... View more
08-23-2013
10:55 AM
|
0
|
0
|
253
|
POST
|
I'm getting the following exception when I call FeatureLayer.SaveEdits(). My layer has DisableClientCaching set. This only happens on some layers. [INDENT] System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at ESRI.ArcGIS.Client.Tasks.ServiceException.CreateFromJSON(String json) at ESRI.ArcGIS.Client.Tasks.TaskBase.CheckForServiceError(RequestEventArgs e) at ESRI.ArcGIS.Client.Tasks.TaskBase.request_Completed(Object sender, RequestEventArgs e) at ESRI.ArcGIS.Client.WebRequest.OnComplete(RequestEventArgs args) at ESRI.ArcGIS.Client.WebRequest.uploadStringCompleted(Object sender, UploadStringCompletedEventArgs e) at System.Net.WebClient.OnUploadStringCompleted(UploadStringCompletedEventArgs e) at System.Net.WebClient.UploadStringOperationCompleted(Object arg) [/INDENT] None of my try/catch will catch this exception - not around the SaveEdits() call, nor in the EndSaveEdits or SaveEditsFailed event handlers. I suppose that means the exception happens in some private portion of the API after SaveEdits() returns but before those events are raised. I can see in Fiddler that the applyEdits request is sent, but I'm not clear if a response is received (Fiddler noob, I can't seem to find responses to anything) Thanks, MC
... View more
08-22-2013
03:42 PM
|
0
|
1
|
1080
|
POST
|
I've got an app build mostly for the 2.2 API and targeting Silverlight 4 (or 5, it doesn't seem to affect my problem below) that uses the Editor class. I have an event handler hanging off the Editor EditCompleted event. I examine the EditEventArgs.Action property and branch on whether it is a 'save' or an 'edit' (Action != Save). If I change my project from referencing the 2.2 libraries to the 3.1 libraries (specifically Client, Client.Bing, and Client.Toolkit), and make no other changes, I get the following problem: I am finding that my Editor.EditCompleted event handler never gets called unless the Action is Save. Also, after clicking my Save button, bound to the Editor.Save property, my button stays enabled, which means there is something haywire with that property too. I realize this might be vague, I just want to ask first if it rings any kind of bell before I dig further... Any bells?
... View more
06-01-2013
09:51 AM
|
0
|
0
|
2776
|
POST
|
interesting. we got this working as follows: 1) use ArcMap to publish the service with the Feature Access capability enabled, but limited to the Query operation. That successfully publishes. 2) once published, use the ArcGIS Server Manager web app to change the Feature Access operations to include Create, Update, Delete. It works! So - bottom line, ArcMap may complain about things that will work without complaint when configured in the Server Manager.
... View more
05-30-2013
01:02 PM
|
0
|
0
|
897
|
Title | Kudos | Posted |
---|---|---|
1 | 05-30-2013 11:39 AM | |
1 | 03-09-2014 05:43 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|