Select to view content in your preferred language

GetElevations Capability not appearing with ElevationsSOE install

1428
7
10-15-2012 02:24 PM
HamishLobb
Emerging Contributor
I recently had one of our admins install the ElevationSOE on our ArcServer 10.0 server.  We initially had a RegAsm error RA0000 trying to install, however when we ran the install manually we got no errors.

Within the server manager I have created a map service with a single banded Erdas raster however I'm unable to see the GetElevations capability.

We have followed what was included in the readme, though this hasn't been much help.

Does anybody have any suggestions on things we could do for this to start working.
Tags (2)
0 Kudos
7 Replies
RhettZufelt
MVP Notable Contributor
In 10.0, you can not just publish as an msd from ArcMap.

In order for me to see the "Get Elevations" capability, I had to save the mxd, then right-click on it with ArcCatalog and select "Publish to ArcGIS Server".
This way, I could now enable the elevations capability.

R_
0 Kudos
HamishLobb
Emerging Contributor
I tried publishing to ArcServer from catalog this morning as you suggested and got a few extra capability options however GetElevations was not one of them.
0 Kudos
RhettZufelt
MVP Notable Contributor
I never could get it to work just running the ElevationsSOE_Install.bat file.  I had to open a cmd AS ADMINISTRATOR (and, I am in admin group on this machine, but is not the same as run as administrator), go to the respective directories, then copy the two lines from the install.bat file and paste/run in the cmd running as admin.

After that I was able to utilize the SOE.

R_
0 Kudos
HamishLobb
Emerging Contributor
Rhett could you provide some clarification on the respective directories.  I'm unable to login to the machine so need to pass this onto someone in the IT team to execute and would like to provide them with as much detail as possible.

Thanks
Hamish
0 Kudos
RhettZufelt
MVP Notable Contributor
Ok, lets say I copied the ElevationsSOE files to a folder named C:/SOEs

the first line in the install.bat file is:
%SystemRoot%\Microsoft.NET\Framework\v2.0.50727\regasm ElevationsSOE.dll /codebase


so, in my run as admin CMD I cd to C:\Windows\Microsoft.NET\Framework\v2.0.50727 and type regasm.exe c:/SOEs/ElevationsSOE.dll and press enter.

Then, in the run as admin CMD I cd back to C:/SOEs and type the next line from the install.bat file  c:/SOEs/RegisterElevationSOE -r  and press enter.

Done.  May have had to reboot after this, don't remember, but after that I was able to get the elevations enabled with arccatalog.

R_
0 Kudos
HamishLobb
Emerging Contributor
Thanks,

I've passed this onto the server admins, hopefully they can run it today.  Will post back once i've had a response from them.
0 Kudos
HamishLobb
Emerging Contributor
The server admins came back saying that it was already installed, sent me screenshots of the dos windows.  They ran another reboot on the server and it appeared, so not sure what had happened.  Thanks for you help.
0 Kudos