ArcGIS Mobile 3.1 Attachments that does not get synchronized back to the server

3864
12
02-11-2013 02:02 AM
PieterHoltzhausen
New Contributor III
Whilst capturing features on my operational layers, the attachments does not get synchronized back to the server. Even though all the other attributes are sent to the server successfully, in some cases the attachments are left behind. I'm not getting any error message during synchronization.

Did anyone have this problem before?
0 Kudos
12 Replies
DeniseKing
Esri Regular Contributor
Pieter,

Can you be more specific regarding your workflow and number of attachments? Have you contacted Esri Support or if you are outside the US, your local International Distributor?

Thank you,
Denise
0 Kudos
PieterHoltzhausen
New Contributor III
Pieter,

Can you be more specific regarding your workflow and number of attachments? Have you contacted Esri Support or if you are outside the US, your local International Distributor?

Thank you,
Denise


I have contacted our local distributor and they have logged a call with the Esri International, but it is taking a very long time.

My workflow is pretty straight forward, I share an mxd containing sde feature classes to argis server, and perform all the necessary steps to allow for mobile collection (globalid, version the db, add attachments and also allow for attachments in the mobile project centre).
I then proceed to collect and edit several features and one or two photo attachments for each feature.
I synchronize the updates to arcgis server successfully (no error messages)
Then I proceed to check the updates in arcmap, and notice that all the attributes have been synchronizes successfully, but not the attachments.
Weirdest thing is, that only in some cases the attachments does get posted to the server.

If I can understand the variables in the process when the updates get posted, I may be able to narrow down on the problem.

Have you any advice for me?
Much appreciated
0 Kudos
PieterHoltzhausen
New Contributor III
Denise,

It seems as if it has something to do with the amount of data that gets posted to the server at a time.
I can upload one feature with one attachment and it works.
But as soon as I edit more than one feature with attachments, and post my updates, the attachments gets left behind,
as well as every attachment I try to post thereafter..

I am really disappointed by the response time from Esri Inc, to help me resolve this issue...
0 Kudos
DeniseKing
Esri Regular Contributor
Esri Support is currently testing reported behavior that 'ArcGIS for Windows Mobile v3.1 attachments are not sync'd back to SDE geodatabase' although we haven't yet been able to reproduce behavior reported by users. Please see other Forums thread 'Attachments not saving', http://forums.arcgis.com/threads/73358-Attachments-not-saving?p=272823&viewfull=1#post272823.

All ArcGIS for Windows Mobile users encountering the challenges with attachment synchronization to SDE geodatabase should contact Esri Support (or local International Distributor if outside of USA) so Mobile specialist can obtain the specific workflow and sample data of your reproducible case. This is the best method to help in troubleshooting and identifying any underlying causes that might be cause of the issue on your end.
Some testing has been performed w/Feature Service Web Editing Tutorial sample data & workflow (enterprise GDB, supports feature services & web editing data workflows).

Tutorial:  Feature service web editing
http://resources.arcgis.com/en/help/main/10.1/index.html#//0154000005mm000000

Steps for Enabling attachments http://resources.arcgis.com/en/help/main/10.1/index.html#/Enabling_attachments/01m90000000r000000/

Steps for Adding attachments to features
http://resources.arcgis.com/en/help/main/10.1/index.html#/Adding_attachments_to_features/01m90000000...

Viewing attachments for info on Attachment Manager http://resources.arcgis.com/en/help/main/10.1/index.html#//01m90000000p000000

Steps for Publishing hosted feature service using MXD
http://resources.arcgis.com/en/help/main/10.1/index.html#//01sr00000006000000 

Enabling editing on the service info on hosted feature service
http://resources.arcgis.com/en/help/main/10.1/index.html#/Editor_settings_for_hosted_feature_service... 

Using & Administering hosted services topics for sharing as web maps or ArcGIS.com map viewers or Apps for mobile APIs
http://resources.arcgis.com/en/help/main/10.1/index.html#//01sr00000005000000   &
http://resources.arcgis.com/en/help/main/10.1/index.html#/Administering_hosted_services/01sr00000002...

At end of tutorial, after consuming the feature service in web app and making edits from the ArcGIS.com map viewer it would be time to test in ArcGIS for iOS app; easiest is to make 2nd web app using Simple Map Viewer option (pic below) for Smartphone/Tablet app viewing.

[ATTACH=CONFIG]21789[/ATTACH]

Hoping the additional information helps,
Denise
0 Kudos
DeniseKing
Esri Regular Contributor
Pieter,

Who is your local & International Distributor?
What type of data is your service based on - MXD, View, Table?
Have you tried working with the Feature Service Web Editing Tutorial?

Tutorial:  Feature service web editing
http://resources.arcgis.com/en/help/...000005mm000000
sample data & workflow supports enterprise GDB, feature services & web editing data  workflows

Thanks,
Denise


I have contacted our local distributor and they have logged a call with the Esri International, but it is taking a very long time.

My workflow is pretty straight forward, I share an mxd containing sde feature classes to argis server, and perform all the necessary steps to allow for mobile collection (globalid, version the db, add attachments and also allow for attachments in the mobile project centre).
I then proceed to collect and edit several features and one or two photo attachments for each feature.
I synchronize the updates to arcgis server successfully (no error messages)
Then I proceed to check the updates in arcmap, and notice that all the attributes have been synchronizes successfully, but not the attachments.
Weirdest thing is, that only in some cases the attachments does get posted to the server.

If I can understand the variables in the process when the updates get posted, I may be able to narrow down on the problem.

Have you any advice for me?
Much appreciated
0 Kudos
PieterHoltzhausen
New Contributor III
Pieter,

Who is your local & International Distributor?
What type of data is your service based on - MXD, View, Table?
Have you tried working with the Feature Service Web Editing Tutorial?

Tutorial:  Feature service web editing
http://resources.arcgis.com/en/help/...000005mm000000
sample data & workflow supports enterprise GDB, feature services & web editing data  workflows

Thanks,
Denise


Hi Denise,
thanks for your help thus far,

I have completed the feature service web editing tutorial as you suggested and everything works well, I can edit features, add attachments and submit all to the server (http://gis01.combinedsystems.co.za/flexviewers/test_attachments/)

I then add the mobile data capability to my service, to test this in a mobile environment,
I add the service to a mobile project, save the project and share the project on ArcGIS Server.
On my mobile device I download the project and proceed to collect a new feature with an attachment. I post my updates to the server, and all works fine (data and attachments).
Then I collect 5 features all with attachments, and I post my data to the server. I get a upload succeeded message, but none of the attachments has been sent through. When I click on the synchronization status report for the layer, there is the following message:
"Attachment Error
We received the following error:
Protocol error. The response received from the server was complete but indicated a protocol-level error. For example an HTTP protocol error such as 401 Access Denied would use this status.
Please contact your system admin for troubleshooting the issue."

It seems to me that as soon as the data gets a bit large or contains more than two attachments, access gets denied for these files, thus some sort of a security issue on the ArcGIS server side? It also would explain why the web-editing works, since I can only submit one attachment at a time.

I will now have to manually link the photo attachments for a current project after the data collection process... Please if you have any suggestions do not hesitate to let me try them, I am pretty desperate here.

To answer your questions above:
My local distributor is Esri South Africa,
and I am using an mxd to serve my data.

Much appreciated
Pieter
0 Kudos
HaydnDyer
New Contributor II
Hi Pieter,

Are you using ArcGIS Server 10.1?  I have had a similar issue when using 10.1 Server with the web adapter.  If I bypass the web adapter (access services via the 6080 url the problem doesn't occur).

Hope this helps,

Haydn
0 Kudos
RosalieBuck1
New Contributor
Whilst capturing features on my operational layers, the attachments does not get synchronized back to the server. Even though all the other attributes are sent to the server successfully, in some cases the attachments are left behind. I'm not getting any error message during synchronization.

Did anyone have this problem before?


Hi Pieter,

We (my workplace) are currently experiencing the exact same problem you have mentioned here. We were wondering if you ever received a resolution to this issue of attachments not uploading or whether you decided to try another methodology.

Regards,

Rosalie Buck.
0 Kudos
PieterHoltzhausen
New Contributor III
Hi Pieter,

We (my workplace) are currently experiencing the exact same problem you have mentioned here. We were wondering if you ever received a resolution to this issue of attachments not uploading or whether you decided to try another methodology.

Regards,

Rosalie Buck.


Hi Rosalie,

This is a bug with the arcgis webadaptor..
The workaround is to bypass the webadpator. Get your IT service provider to open port 6080 and set up port forwarding to your gis server via port 6080.
From here on, any new projects downloaded to a mobile device should now use port 6080 in the project download source url.
If you have existing projects with unsynchronized attachments not going through, you could manually edit the project file (.amp) on the mobile device to include (:6080), and post your updates. The attachments should go through.

Hope it works,
Regards
Pieter
0 Kudos