Original post ...workaround is in the comments for now: I am currently migrating our ArcGIS Server Enterprise Advanced (AGS) 10.2.2 services and caches to a new AGS 10.5.1 server. We use the Alaska Albers projection (3338). I am using the TransferServices toolbox, and it seems to work well for most services.
For those services that are dynamic, the service has no issues keeping the services in Alaska Albers.
However, for any service that has a cache, or even had a cache folder (even if the service is now dynamic), the new service creates a tile scheme with WMA.
I have tried several ways to try to "trick" it into ready the Alaska Albers tile scheme, but have had no luck. I even tried several times to generate a new tile scheme, using the sourc (alaska Albers) mxd as input, and when as far as setint the "output coordinates" under the Environment tab to 3338, and yet the output tile scheme .xml says WMA.
I know the whole world would be happier if we conceeded to using WMA and not Alaska Albers, but unless you are using 3D (which we are not at this time), Alaska Albers works so such better.
Is there a bug in the "Generate Map Server Cache Tiling Scheme" and caches in general for AGS 10.5.1?
I do have a call into tech support. We are just now trying to move to 10.5.1, so I think asking to move to 10.6.x might be asking for another delay. However, not sure what to do about this. For this particular service (lines), I could probably go dynamic, but we have quite a few cache raster map-services (i.e. base maps) that this could be a major issue. Thanks for any suggestions (I'll let you know if I've already tried and ruled out).
Solved! Go to Solution.
This thread is getting a bit messy, and I may put as a document after the dev summit, but wanted to put this here for now...just a cut and paste from Word, so formatting is bad, sorry...I will fix that when I get a chance. I will mark this correct so it floats tot he top.
----
Old/current AGS server: AGS 10.2.1; Windows Server 2008 R2
New AGS server: AGS 10.5.1; Windows Server 2012 R2.
Task: Move current ArcGIS Server 10.2.x services over to new to the new ArcGIS Server 10.5.x server.
Issue: Our services do not use the Web-Mercator Aux (WMA) spatial reference (SR), which seems to be the default. We also use a different set of tile scales. This causes issues with cached services that are being move over. These instructions were developed by working thru the issues caused by these non-(by design)-standard parameters.
Comments:
Steps for moving cached, non-WMA service from AGS 10.2.x (compact) to AGS 10.5.x (compact)
this probably works will other upgrade from 10.2.x format, but this is what we needed.
On 10.2.x machine:
On the new 10.5.x machine:
Things I tried that didn’t work (even if initially they looked like they did):
If I make sure these isn’t a cache folder, then try to read in the schema of the 10.2.2 cache, it gave me an error
If I use 10.5.1 ArcCatalog to create a new schema file, it will recognize the schema, but if I have the cache folder in place, it gives me an error
Created new tiling schema, this time specifying the output coordinates as Alaska Albers, and that somewhat worked, but still wanted to default to WMA.
EDIT: IGNORE my suggestions to use the TPK for this process....had more problems. Leaving this comment in in case there is somethig that will help others...but see next comment for additional info.
I'm not sure that this is the proper way to upgrade my 10.2.2 cached services to 10.5.1, but I figured out a workflow that seems to be working ok (after two services moved). I'm not sure if it will work for my basemap map services, but that is for tomorrow.
Part of my issue was that since the first few attempts failed miserably, when I tried to generate a fresh 10.5.1 tile schema, it still was grabbing WMA even though I tried everything to override it. A (OS) ArcGIS Server service restart didn't do it, but a stop and start seemed to help. I was then able to generate a new tile schema with my scales and with Alaska Albers. (whoooo).
So, in a nutshell, this is what is working at this point:
I did get errors about missing tiles for the larger scales, but I think those are in the water, where I purposely didn't cache in the first place. So far it is looking ok, but tomorrow is another day and more services.
btw - for those that use the TransferServices Toolbox, I thik this problem started with this tool, but only for the cached services, or with a cache directory for the service on the source server (whether or not it was a dynamic or cached service). However, that tool is pretty nifty for about 70-80% of our services successfully. For thos wanting to know where I found it..
How copy map service from one ArcGIS server to another ArcGIS server
The best practice to transfer the ArcGIS Server data from one machine to another,
You have to read thru the notes.
I will close this thread but will add any other tricks I find or if tech support tells me the way I should be doing this.
This thread is getting a bit messy, and I may put as a document after the dev summit, but wanted to put this here for now...just a cut and paste from Word, so formatting is bad, sorry...I will fix that when I get a chance. I will mark this correct so it floats tot he top.
----
Old/current AGS server: AGS 10.2.1; Windows Server 2008 R2
New AGS server: AGS 10.5.1; Windows Server 2012 R2.
Task: Move current ArcGIS Server 10.2.x services over to new to the new ArcGIS Server 10.5.x server.
Issue: Our services do not use the Web-Mercator Aux (WMA) spatial reference (SR), which seems to be the default. We also use a different set of tile scales. This causes issues with cached services that are being move over. These instructions were developed by working thru the issues caused by these non-(by design)-standard parameters.
Comments:
Steps for moving cached, non-WMA service from AGS 10.2.x (compact) to AGS 10.5.x (compact)
this probably works will other upgrade from 10.2.x format, but this is what we needed.
On 10.2.x machine:
On the new 10.5.x machine:
Things I tried that didn’t work (even if initially they looked like they did):
If I make sure these isn’t a cache folder, then try to read in the schema of the 10.2.2 cache, it gave me an error
If I use 10.5.1 ArcCatalog to create a new schema file, it will recognize the schema, but if I have the cache folder in place, it gives me an error
Created new tiling schema, this time specifying the output coordinates as Alaska Albers, and that somewhat worked, but still wanted to default to WMA.