AnsweredAssumed Answered

Error Code 500 when attempting to retrieve attachments

Question asked by kganz on Dec 11, 2012
Latest reply on Dec 11, 2012 by kganz
I have a point Featureclass in a dataset stored in SDE (SQL Server). The points have attachments enabled and pdf files of bridge
inspections attached.
Building off of the sample:
http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/widget_popupfl.html
I am attempting to display the points and display the attachments.
I first tried to do this using a web page we use for a different application but the attachments returned an error even though the
proper name was displayed as being present as an attachment.
So I substituted my featurelayer in a local copy of the referenced sample, changed the field names and extents as appropriate.
When I click on a bridge the proper field items and text display in the popup and the correct attachment displays under Attachments:

Yet, similar to my first attempt, I am getting the following error when I click on the attachment:

Error
Server Error - The remote server returned an error: (404) Not Found.

Code: 500

The data is stored in ArcSDE, it's registered as versioned.
What am I missing?

Thanks,
Keith

Outcomes