Select to view content in your preferred language

Cached service issue (400 error) after server upgrade from 10.0 to 10.1

2894
3
04-11-2013 11:03 AM
ErikEndrulat
Regular Contributor
When upgrading our servers from 10.0 to 10.1 several Flex applications that referenced cached maps were unable to successfully request the image tiles.

Looking at the URL requests, the application is request tiles that look like this:
http://[server name]/[service name]/MapServer/tile/1/174/148.png

When the same request went to the 10.1 server, the server returned an  'Invalid URL' / 'Code: 400' error.

The same request works when sent to the 10.1 server if the file extension is removed, e.g.:
http://[server name]/[service name]/MapServer/tile/1/174/148

Does anyone know if this is an issue with an older Flex API used (v. 2.5)?

Thanks in advance!
Tags (2)
0 Kudos
3 Replies
AndrewThomas
Deactivated User
We have experienced the same issue with these server requests no longer accepting the file extensions. We are using flex but our requests have never requested the file extension. We do have a custom application which is requesting the .png file extensions and now no longer works. It has the same error as you describe above.

We are struggling to find 10.1 server documentation around this issue. Did you get anywhere on this?
0 Kudos
RhettZufelt
MVP Notable Contributor
I have tried with the same MapService on both 10.0 and 10.1.  For some of them on 10.1, I had to edit the service, and tell it to load dynamically, then restart service, then edit again and tell it to cache and point it at the existing cache folder.

Now, I get the same results regardless of the server/version I am calling from at least with FV2.5, 3.1 and 3.3) none of which is appending an extention on there.


(same tile/request different servers)

http://gis01.wch-rcc.com/ArcGIS/rest/services/Base/RGBs_complete/MapServer/tile/1/1250/1073
http://wc98116.wch-rcc.com:6080/arcgis/rest/services/Base/RGBs_complete/MapServer/tile/1/1250/1073

R_
0 Kudos
BjornSvensson
Esri Regular Contributor
Starting with ArcGIS Server 10.1, the tiles have to be requested WITHOUT the file extension.
Starting with ArcGIS API for Flex version 1.3, we (the API) ask for the tile WITHOUT the extension.

So this should only be an issue if you are using version 1.0-1.2 of the API.

See http://forums.arcgis.com/threads/72880-Can-Flex-Viewer-1.x-access-ArcGIS-Server-10.1 for more details.

When upgrading our servers from 10.0 to 10.1 several Flex applications that referenced cached maps were unable to successfully request the image tiles.
...
Does anyone know if this is an issue with an older Flex API used (v. 2.5)?

Erik:
ArcGIS Server 10.1 should work fine with version 1.3 and later.  However, there is a related issue (about file extension) when using versions 1.0-1.2 and *tiled* services from ArcGIS Server 10.1 - as mentioned above.

We have experienced the same issue with these server requests no longer accepting the file extensions. We are using flex but our requests have never requested the file extension. We do have a custom application which is requesting the .png file extensions and now no longer works. It has the same error as you describe above.

Andrew:
I'm not sure about your custom application, but the API should take of this - except for as mentioned above.
0 Kudos