Having a weird situation with an internal app I developed using the JS API (currently pointing to v3.17). Anyways, our ArcGIS Server was at 10.2x and was recently upgraded to 10.41. Around that time, the ability of users to add new lines to a service enabled with feature access has failed.
The underlying JS code has not changed at all. Adding a point feature still works but, when attempting to commit a polyline, no error shows in the browser console but the Server log returns this:
The point feature service was published together with the line feature service and hasn't changed. Since the service hasn't changed, and the code of the application hasn't either, where should I start looking to determine why this is suddenly happening?
Steve
Heya Steve,
Here's a couple questions which could help isolate the issue:
Micah
Micah,
I should note that the test feature I successfully added via desktop Arcmap showed up in the web service but I was unable to delete from within my web map (that apply edits method timed out just like adding a new feature).
UPDATE: singleClusterMode is set to TRUE.
Also tried adding a feature straight from the REST addFeatures operation and it eventually returned:
{ "error": { "code": 500, "message": "Error performing add features operation", "details": [] } }
Hmmm, certainly not the most informative error message, eh Steve?!
Is it possible that something on your web server was upgraded at the same time you upgraded from 10.2 to 10.4? Can you check to see if your network firewall/DMZ prevents GET/POST requests over a certain number of characters? Given that you could add the features to your SDE feature class in desktop no problem suggests that the issue is with the communication between your web and ArcGIS Server tier.
If not it may be worth opening an issue with Esri support, although depending on how tenacious you and your colleagues are you may find the answer sooner than they do.
Micah
try to connect from ArcMap for editing for testing
-create a new connection to arcgis server for Use Service purposes
-add feature service on ArcMap
-start a local copy for editing
-digitize new line
-sync with feature service
Thanks for the additional suggestions, gents. As it turns out, I may have found the culprit- SDE. The feature class in SDE had versioning enabled. This was not the case when I originally loaded the dataset into SDE. Once I "un-versioned" the feature class, I was able to delete and save edits in a more prompt manner. I've re-enabled the map service and I'm waiting to see if my co-workers are still having issues.