|
POST
|
Thanks for pointing to this out. Not the answer I was looking for but at least it confirms my belief it is not supported. Digging into the depths of the rest API can be quite cumbersome. I think the lack of ability to register an existing versioned replica makes using a versioned workflow near impossible if the offline dataset is large, because the combined time to generate and then download the replica is prohibitive
... View more
04-05-2017
05:09 PM
|
3
|
0
|
2858
|
|
POST
|
Hi, I am trying to setup our system to use offline data from a versioned database using ArcGIS Enterprise 10.5. This is my first attempt with 10.5 and the new licensing model. What my testing reveals is that unless my offline user is assigned Level 2 - Administrator rights the replica version does not get created. However, a replica does get created and downloaded, there is just no corresponding version. In this case running a sync will fail (which is to be expected). To be clear, a user assigned Level 2 - Publisher running a download does not create a version when the replica is created and downloaded. I really find this strange, I would expect generating the replica to fail if the version did not get created. In the case of the failure the message returned to the SyncGeodatabaseJob object ends with this: Sending request get server sync job status.
Received response for get server sync job status.
Error while handling get server sync job status. Job error 400 .
Job failed. Job error 22 User defined failure. Error while handling get server sync job status. Job error 400 . Also of note is that editing does work on the offline database, so no issue is observed until the sync process is run. Software, etc: ArcGIS Enterprise 10.5 Datatbase: Version 10.3.1 Runtime: 100.0 - .Net Login: Uses IWA Client OS: Windows 10 Server OS: Server 2012 Database: Sql Server 2012 Replica setup as per user I believe that the same behavior is occurring in Collector but I am having other download issues in Collector after the 10.5 upgrade so cannot confirm 100%. Obviously, I cannot have the field workforce assigned Level 2 - Administrator rights to our Portal, so this is pretty critical to understand. Justin Colville Will Crick Michael Branscomb Scott Prindle
... View more
04-03-2017
07:30 AM
|
0
|
1
|
1786
|
|
POST
|
Thank you this was the issue. I do wonder, is there some restriction on the size of a mobile package? When i try to generate from a full service area the geoprocessing task has crashed, but doing a small area does succeed. Also it is my understanding that if multiple maps reference the same feature class that only one copy of the data is added to the mobile map package, would you know if this correct?
... View more
03-31-2017
11:01 AM
|
0
|
0
|
1192
|
|
POST
|
I have had this conversation with multiple people on the development team at conferences over the couple years. Everyone will always assure me that it will be/is possible to register an offline database that uses versioned data. Because I had only done this on pre-release on beta versions I took their word is being true once the 100.0 version was released. However, after finally getting around to setting and running tests with the release version I will again argue it is not possible. Whenever I try I get the following error. Esri.ArcGISRuntime.Http.ArcGISWebException: Unable to complete operation.
at Esri.ArcGISRuntime.ArcGISException.HandleCoreError(CoreError error, Boolean throwException)
at RuntimeCoreNet.GeneratedWrappers.Interop.CheckError(IntPtr errorHandle, Boolean throwOnFailure, GCHandle wrapperHandle)
at RuntimeCoreNet.GeneratedWrappers.CoreTask.Get()
at Esri.ArcGISRuntime.Internal.CoreTaskExtensions.TaskCompletedCallbackHandler.OnCompleted(Object sender, EventArgs e)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Esri.ArcGISRuntime.Internal.CoreTaskExtensions.TaskCompletedCallbackHandler.<CreateInternal>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult() The code itself is incredibly simple. So I am not sure where there would be an error in the code var gdbTask = await GeodatabaseSyncTask.CreateAsync(new Uri("https://portaldev.domin.com/server/rest/services/Operations/UpdatableFeaturesService/FeatureServer"), _portal.Credential);
Geodatabase gdb = await Geodatabase.OpenAsync(@"D:\Mobile\Operational\Bidirectional\UpdatableFeaturesService.geodatabase");
await gdbTask.RegisterGeodatabaseAsync(gdb); Also, looking at the documentation I notice this piece about registering offline databases After taking copies of the original database, do not sync changes to the original until all copies have been registered. Perhaps I am unclear on what that means, but in a large implementation this seems an impossible condition to meet. We are deploying to over 600 users there is no way you can get every machine setup in advance of some users going out in the field and making edits that need to be synched. Justin Colville Will Crick
... View more
03-31-2017
10:57 AM
|
2
|
12
|
4340
|
|
POST
|
I am trying to open a Mobile Map Package. When I do I get an error that the file does not exist even though it does. if ( File.Exists(item.MapPackagePath) )
{
Console.WriteLine(item.MapPackagePath);
MobileMapPackage mapPackage = await MobileMapPackage.OpenAsync(item.MapPackagePath);
RuntimeControls.Map = mapPackage.Maps[0];
} The output from the Console.Writeline followed by the error: D:\Mobile\Packages\Gas_Network.mpkx
System.IO.FileNotFoundException: File not found: D:\Mobile\Packages\Gas_Network.mpkx ---> Esri.ArcGISRuntime.ArcGISRuntimeException: File not found: D:\Mobile\Packages\Gas_Network.mpkx
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Esri.ArcGISRuntime.Mapping.MobileMapPackage.<OpenAsync>d__4.MoveNext() Anyone know why it does not find a file that obviously exists?
... View more
03-24-2017
03:09 PM
|
0
|
3
|
1941
|
|
POST
|
If you want to ping me offline I would be happy to discuss a solution my company has developed
... View more
01-31-2017
11:18 AM
|
0
|
0
|
2283
|
|
IDEA
|
This is a great idea hope Esri takes it up. In addition to improving the user experience this is really needed from a security standpoint.
... View more
01-30-2017
09:53 AM
|
0
|
0
|
1632
|
|
IDEA
|
Hi Scott Prindle I should mention that the generally desired behavior does exist in the Mobile for Windows offline maps. If I use Create Mobile Cache tool this will create an offline database when the source map document has multiple layers pointing to the same feature class. Although, these caches do not support definition queries. But moving from using application built on the Mobile for Windows API and Mobile Data Services to Runtime and Sync Services it seems to be losing this functionality.
... View more
01-26-2017
04:54 AM
|
2
|
0
|
2518
|
|
IDEA
|
Scott, Thanks for the follow-up. A very common occurrence of this is with utilities linear assets (pipes or wires). With pipes, for instance, it is very common to have a map that symbolizes based on pipe material in one layer and symbolizes based on pipe diameter in another. This example is just for layer symbolization which really does not even require a definition query. Also we may not even be requiring editing of these layers. Another example with pipes is that it is often desired to have Distribution and Transmission as separate layers. This is accomplished using a definition query. I could come up with many examples. In the years I have been working in GIS it has always been pretty common that maps may have more than a single layer referencing the same feature class. Also this is not just related to editing. These layers may just be needed for display purposes. In setting up the offline maps, because of syncing in a versioned environment has to be done by database I ma already separating the editable features into their own service. But for other layers needing to create numerous maps so layers can be displayed differently is a deployment nightmare and complicates loading data. Feel free to email me directly with you would like to discuss in greater detail -Joe
... View more
01-24-2017
12:53 PM
|
1
|
0
|
2518
|
|
POST
|
Rohit... It would seem that this message is very confusing, and that perhaps in the next release of the API that if login succeeds no warning/error message should occur
... View more
01-09-2017
09:49 AM
|
0
|
0
|
3814
|
|
POST
|
Why yes that does work. I never though to go any further after I received the error. Thanks -Joe
... View more
01-06-2017
11:24 AM
|
0
|
0
|
3813
|
|
POST
|
Christian, Even in that situation I get the same error: I have the two packages installed: PS C:\Program Files\Anaconda3> pip install kerberos-sspi Requirement already satisfied: kerberos-sspi in c:\program files\anaconda3\lib\site-packages Requirement already satisfied: pywin32 in c:\program files\anaconda3\lib\site-packages (from kerberos-sspi) Using from arcgis.gis import GIS
target = GIS("https://portaldev.domain.com/portal") Gives: The Security configuration is the IWA from help { "type": "WINDOWS", "properties": { "userPassword": "OZGpymvHxMecgY67515cng==", "caseSensitive": "false", "userEmailAttribute": "mail", "user": "ram\\portal", "userFullnameAttribute": "cn", "isPasswordEncrypted": "true" } } Logging into the Portal works as expected. We have the zone trusted at the domain level so nothing needs to be configured on individual machines and single sign on works without issue on the machine I have ArcGIS Python installed Any other thoughts on what might be happening? Thanks -Joe
... View more
01-06-2017
08:13 AM
|
0
|
8
|
3813
|
|
POST
|
I am trying to connect to a Portal that uses IWA and get an error: <class 'pywintypes.error'> Failed Kerberos authentication I have tried both the domain accounts and the initial administrator account setup with same issue. Is it possible to login to a site with IWA? If so what am I not doing correct target = GIS("https://pmydoamin.com/portal", "user@domain", "pwd", verify_cert=False)
Thanks
... View more
01-05-2017
04:11 PM
|
0
|
14
|
7273
|
|
POST
|
I had a similar issue with my application although the problem was in the startup project. I call ArcGISRuntimeEnvironment.Initialize() in my startup prior to running the bootstrapper so I do need a reference to Esri.ArcGISRuntime in that project. For this project setting to target x64 resolved the problem. I design my application with a core Infrastructure library which is not a module and compile all the module output the bin folder of this project (I use MEF for kind of pseudo DI and use directory discovery to load modules). The core library is set to Any CPU and in this project the two sub folders (client32 and client64) did deploy
... View more
12-03-2016
08:45 AM
|
0
|
0
|
2787
|
|
POST
|
Here is the support page that defines the issue and solutions(s). I will also look at the forward lookup zone approach described above http://support.esri.com/technical-article/000012369
... View more
09-09-2016
06:35 AM
|
0
|
0
|
1117
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-23-2025 12:16 PM | |
| 1 | 10-19-2022 01:08 PM | |
| 1 | 09-03-2025 09:25 AM | |
| 1 | 04-16-2025 12:37 PM | |
| 1 | 03-18-2025 12:17 PM |
| Online Status |
Offline
|
| Date Last Visited |
12-04-2025
04:12 PM
|