Select to view content in your preferred language

Uploading Mobile Project to a Web Server

2502
8
09-20-2010 03:50 PM
AngelGonzalez
Frequent Contributor
I am able to created a test project thru the Mobile Project Center and I am able to bring up the project in ArcGIS Mobile 10. Now I want to save the project to a Web server (ArcGIS Server 10 which is up and running). When I use the MPC "save as" and select "On a Web Server" and enter the server name and project name the "OK" button is still greyed out.  Is this function working? I read in forum during Beta testing that this was not working. Has anyone been able to upload a project? I want to deploy it to a laptop.

Thanks
0 Kudos
8 Replies
AkhilParujanwala
Regular Contributor
I see that you have done some of the necessary steps in MPC but have a look at these things and see if you have missed anything.

1) After saving the .mxd > use ArcCatalog and right click on the .mxd to Publish to ArcGIS Server > put a checkmark in Mobile Data Access.

2) In MPC make sure you click on the Set Initial Map Extent icon > it is located on the map > this will likely allow you to save to the ArcGIS server.

If you can provide some step by step procedure as to what you are doing, I can try and figure out if you have missed anything, provided the 2 things above don't work.
0 Kudos
AngelGonzalez
Frequent Contributor

1) After saving the .mxd > use ArcCatalog and right click on the .mxd to Publish to ArcGIS Server > put a checkmark in Mobile Data Access..


I tried publishing my mxd from ArcCatalog and I get an error when I put a checkmark in Mobile Data Access. I checked the ArcServer log file and got the following error:

"MobileServer requires a custom extent to be set. The default extent is not acceptable (union of all layers)."

If I publish without the Mobile Data Access then it succeeds.  Where do you set the custom extent? My mind is drawing a blank.



2) In MPC make sure you click on the Set Initial Map Extent icon > it is located on the map > this will likely allow you to save to the ArcGIS server...



I clicked on the Set Initial Map Extend icon but nothing happens
0 Kudos
AkhilParujanwala
Regular Contributor
Ah if you had only told me this error earlier lol. Its quite simple.

Open your mxd again. Your double click on your dataframe (likely to be called "Layers").

Click on the DataFrame tab > Under Extent of data in all layer (Default), click Other > click ok > click ok > Save your mxd.

That's all you have to do in order ot make a mobile map service.

Note: This may not seem important but this is the most important part of the creation of the mxd. Also make sure your extent is large enough to collect points (data) where ever you want.

For example I used to have an extent just for Canada, but yet I had a feature class for the entire world. When I put points in Canada they worked, when I put point in areas outside of Canada like USA, Africa and etc, I would get an error. I hope this make it clear as to how the extent of the mxd is important.

Thanks,

Akhil P.
0 Kudos
AngelGonzalez
Frequent Contributor
OK, I was able to publish my mxd as a service but I do not see my map when I add it as an operational map in the MPC from ArcServer (all I get is a white page/screen). I even created a map cache from the same mxd but again nothing comes up in the MPC.  When I created a map cache from a backup copy of the mxd (before changing the extent) I am able to see the map in the MPC.  Have you seen this before?

Thanks
0 Kudos
AngelGonzalez
Frequent Contributor
After countless time of defining the extend I am able to publish a mxd as a service to my ArcServer and I am able to create a map cache from the same mxd. When using the MPC I can see my maps either from the map cache or thru ArcServer but I still cannot save a Mobile Project to the web server. I enter the web server address (myServer\arcgis\mobile) and a project name but the OK button is still greyed out. I can bring up myServer\arcgis\mobile in IE.  Any ideas??

Thanks
0 Kudos
AngelGonzalez
Frequent Contributor
Finally figured it out. When entering the server name  just had to hit the enter button at the end of the server name. (stay on the same line). Also had to delete and re-type the project name in order for the OK button to be enable. I then was able to deploy the project on another machine.
0 Kudos
AkhilParujanwala
Regular Contributor
Glad you figured it out, MPC is a little quirky interms of pressing Enter here or there or click on certain things. In MPC you can always hit the refresh button.

In Mobile 10, if you don't see your new project just hit List Projects and a new list of projects will appear.
🙂
0 Kudos
StevenBlitzstein
Emerging Contributor
Any suggestions why not all of my layers will display when I utilize the Field Crew Members Layer?

Everything shows up fine in my Mobile Project, created in Mobile Project Center using ArcGIS Server Service. However, when I open up my Mobile Project, only my Field Crew Members layer gets displayed, not the rest of my Operational Data Layers.
0 Kudos