POST
|
John, Can you please share a code sample/example, where Mobile Tools (geoprocessing) are used in C# code? I installed build 2500 and followed all instructions but still not able to create mapcache, due to COM error. Thanks a lot! Akash ArcGIS Mobile 10.0 Build 2500 is now available on the Customer Care portal for download. The build appears to resolve a previous software defect in which automated map cache creation using both Python and ArcObjects executed without error, but failed to create content. During my testing, a Windows console application which instantiated an ArcGIS Desktop license generated the appropriate content when using C#. I noticed however that checking out an Engine license instead causes a COM error in the same code. This issue was logged as [#NIM068816 Initializing an Engine license is not sufficient to execute Create Mobile Cache programmatically. ] If you have questions or concerns related to this issue, please don't hesitate to contact Esri Technical Support. If someone else could confirm that they can use ArcObjects to create map caches, it would be appreciated.
... View more
06-24-2011
11:36 AM
|
0
|
0
|
464
|
POST
|
Did you get this to work? I really want to use Mobile tools in C# code. Thanks a lot! Akash HI, I am also in need of using CreateMobileMap geoporocessing tool from my c# code ...please let me know it has worked for you and how? just give me a fragment of code on how you set the necessary paramtrs and how did u invoke the execute method. thanks
... View more
06-24-2011
11:33 AM
|
0
|
0
|
225
|
POST
|
Did anyone figure this out yet? I am still kind of stuck on this. Last week, SP2 was released I installed it on my machine but still same results. Cannot create mobile cache programmatically. Take a look at few lines of code below and please advise.
ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.Desktop);
ESRI.ArcGIS.Mobile.GP.CreateMobileMapTool createMobileMap = new
ESRI.ArcGIS.Mobile.GP.CreateMobileMapTool();
IArray mobileParams = new ESRI.ArcGIS.esriSystem.Array();
mobileParams.Add("C:\\projects\\czPitDemo.mxd");
mobileParams.Add("C:\\projects\\testfolder");
ITrackCancel tc = new CancelTracker();
tc.CancelOnClick = true;
createMobileMap.Execute(mobileParams, tc, null, null);
This code does not gives any error and doesn�??t create the MobileCache either.
... View more
05-26-2011
10:54 AM
|
0
|
0
|
464
|
POST
|
I ran into the very same issue. I want to create Mobile Cache from Mapservice, which can be used on PDA devices. But the feature layer's property, AllowNew is FALSE. When I tried creating Mobile Project the option to 'Make Layer Editable' is grayed out. My layers have global IDs, no M or Z values and ArcSOC user has full rights on SDE database and MXD. Any ideas?
... View more
04-13-2011
12:22 PM
|
0
|
0
|
196
|
POST
|
I cannot locate/add ESRI.ArcGIS.Version assembly. I am using ArcGIS Desktop 10 with VS 2008 on Windows 7. Please help.
... View more
03-22-2011
03:48 PM
|
0
|
0
|
286
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|