Attachments throw error: Server Error - The remote server returned an error: (500) In

2781
4
Jump to solution
08-17-2012 12:22 PM
JamesLandwehr
New Contributor III
When trying to access a REST endpoint with attachments, I am getting a 500 error that reads:

"Server Error - The remote server returned an error: (500) Internal Server Error."

These attachments are stored in a SDE SQL Server database and are served in a dynamic map service using an .msd. They can be opened in the .mxd with no problems.

Any ideas on what to check?
0 Kudos
1 Solution

Accepted Solutions
JamesLandwehr
New Contributor III
It turns out this was a problem with the arcgisoutput virtual directory pointing to a bad path.

View solution in original post

0 Kudos
4 Replies
JamesLandwehr
New Contributor III
It turns out this was a problem with the arcgisoutput virtual directory pointing to a bad path.
0 Kudos
JonGarrido
New Contributor III
Hi James,

I've posted two threads of your own about this. How did you resolved this issue?
How cana I modify to correct this arcgisoutput directory??


Thanks in adavance,

Jon
0 Kudos
JamesLandwehr
New Contributor III
Jon,

In our case, when AGS was installed, we set F:\arcgisserver as the default arcgisserver folder. (i.e. F:\arcgisserver\arcgisoutput) Whenever an upgrade was done, it reset this back to C:\arcgisserver which would not be recognized by the application when looking for the attachments in the F:\ folder. Once I set it back to F:\ the error went away. (You must make sure that the F:\ folder has the correct permissions, etc.)

So, I think the issue in our case was specific to our custom installation of AGS.

Jim
0 Kudos
JonGarrido
New Contributor III
Thanks Jim,

I'll work on this clue....
0 Kudos