|
POST
|
Hi @MarcoPoetsch , Which solution worked for you? Do you have any CORS restrictions setup. If you open up your back end server https://dns.com:6443/arcgis and https://dns.com:7443/arcgis in a chrome browser do you get any certificate warning if yes can you load a cert and the chain. I had a funny chase where the client stepped down internal traffic to http so can you have a look in the IIS logs that the traffic is coming in over 443 C:\inetpub\logs\LogFiles\W3SVC1 2021-01-25 06:30:17 fe80::59ae:bd8d:ffe9:c622%3 GET /portal/home/10.8.1/js/calcite-fonts/fonts/d4ffabb3-dd7c-472a-bdfb-6700383c6354-greek.woff - 443 - fe80::59ae:bd8d:ffe9:c622%3 Mozilla/5.0+(Windows+NT+10.0;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko https://henrycerttrain.esri-southafrica.com/portal/home/accountswitcher-callback.html 304 0 0 12 There is also a TLS patch at 10.6.1 is this patch installed? Regards Henry
... View more
01-28-2021
10:36 PM
|
0
|
0
|
3538
|
|
POST
|
Hi @HaroldKrivell, Here is a walk trough on how to bulk create groups Batch creation of Groups | ArcGIS for Developers. Regards Henry
... View more
01-27-2021
10:12 PM
|
0
|
1
|
1388
|
|
POST
|
Hi @MarcoPoetsch , You can check if your certificate is valid with a ssl checker SSL Certificate Checker (sslchecker.com). If the certificate and chain is valid then I had a funny chase where I got the above error because I had a password with []#" character, try using a a-zA-Z0-9and dot combination for both the user account that your server is federated with as well as portal and see if that resolves the problem. let me know if it works Regards Henry
... View more
01-26-2021
09:54 PM
|
1
|
2
|
3551
|
|
POST
|
Hi @DeanHowell1, Usually I see this error when there is a problem with your folder security "ACL", can you try reapplying the service account to the c:\program files\arcgis\portal folder as well as your content store. To do this you just turn of the portal service Navigate to the folder right click select properties then security then advance Then tick replace all child object and apply, I usually also give the service account read write on the files as well. Hope it helps. Regards Henry
... View more
01-25-2021
10:07 PM
|
0
|
0
|
2070
|
|
POST
|
Hi @Taladi, Usually how I set it up, is to create a file share for the backup locations and edit the config file. SHARED_LOCATION=\\\\sharedlocation\\location and BACKUP_LOCATION = \\\\sharedlocation\\location just make sure that you share the folder with all the service account that you setup for the system other wise the server can't write to the file. Kind Regards Henry
... View more
01-24-2021
06:48 AM
|
1
|
0
|
3537
|
|
POST
|
Hi @Anonymous User, When you open up a service in Portal do you see the Layers heading if this does not appear then it is a indication that portal can not communicate with the service. If this is the case then inspect the url you do this with a tool called ago-assistant Login navigate to the service and under "I want to" select Update the URLs of Registered Apps and Services, this will then display the URL on the right. Does the displayed url match the url you are accessing in the rest? if not you can just update it with the correct url and that should fix the problem. In ArcMap when you publish the url are you using the https://dns.com:6443/arcgis url or the Web adaptor url this should be the same url as the one with the valid certificate https://dns.com/webadaptor. Hope it helps Regards Henry
... View more
01-21-2021
10:23 PM
|
1
|
1
|
10631
|
|
POST
|
Hi @DeanHowell1 ok can you log into the webserver and call the url from there and see what the error is then. Also is the ArcGIS server working correctly you can test this by entering the url on the server that the ArcGIS server is installed on https://localhost:6443/arcgis/rest and also check if you see soc.exe in the task manager Kind Regards Henry
... View more
01-20-2021
10:24 PM
|
2
|
1
|
2158
|
|
POST
|
Hi Doug, Python 2.7 is installed with ArcMap and Python 3.x is installed with ArcGIS Pro, because arcpy is proprietary you can't download it into a free standing installations of python you have to point to one of the deployments that is installed when installing ArcGIS for Desktop. so just point your IDE to one of these deployments ArcMap "C:\Python27\ArcGIS10.8\python.exe" ArcGIS Pro "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\python.exe" You can have a look at the ArcGIS API which is a available for installation e.g. pip install ArcGIS to see if this might fill your need. ArcGIS API for Python | ArcGIS for Developers If you are using ArcGIS Desktop built in Python interpreter then just reinstall to try and fix the issue like @Anonymous User mentioned.
... View more
01-19-2021
10:28 PM
|
1
|
0
|
2342
|
|
POST
|
Hi Dean, Usually I see this error when there is a web.config in the webserver root, so on windows go to c:\inetpub\wwwroot and remove the web.config file form there. you can just cut and past it into a backup folder for testing. Kind Regards Henry
... View more
01-19-2021
10:12 PM
|
1
|
4
|
2190
|
|
POST
|
Hi Ben, I am think it might be speed related, upgrades fail some time if your base speed is low, e.g. low cpu speed with mechanical hard drives. If the installer pops up when you install then you can try to run the upgrade silently, how I do that is to run the portal.exe and append /qb and then parameters. Hope it helps Regards Henry
... View more
01-15-2021
09:32 PM
|
0
|
0
|
2821
|
|
POST
|
Hi Mike the .prvc file is just the provisioning file not the actual license, on your enterprise server navigate to c:/program files/esri/sysgen/keycodes.ecp the .ecp file is the license file. Kind Regards Henry
... View more
01-15-2021
09:15 PM
|
1
|
1
|
1095
|
|
POST
|
Hi Zoran, just a few questions did you make a backup of the arcgisserver config-store and directories before the re-install? I would not unfederated the portal as this will break your authentication between ArcGIS server and Portal do you have a lot of content in Portal. There is a place in sharing/rest where you can break the federation if all else fails.
... View more
01-15-2021
12:06 AM
|
0
|
0
|
3462
|
|
POST
|
Hi Michael, Unfortunately I am not a Java Script programmer so I am not going to be of much help here, but let me try to give you some help any way. you can go to Query a feature layer | ArcGIS API for JavaScript 4.16 to find the documentation for Java Script as well as examples ArcGIS Online is basically just a newer version of the ArcGIS Enterprise system so this is how it looks when you query a layer. What you want to research is the Result Offset which basically means from 0 how may records to skip and Result Record Count which means how many records to return E.G if the offset is 10 start at record 10 and return 5 records. Info: Query (Map Service/Layer)—ArcGIS REST API | ArcGIS for Developers Example: https://some_server.esri-southafrica.com/server/rest/services/Hosted/SubDist16T_Layer_WFL1/FeatureServer/0/query?where=1%3D1&resultOffset=10&resultRecordCount=1&f=json Returns { "exceededTransferLimit": true, "features": [{ "attributes": { "municname": "City of Tshwane" }, "geometry": { "rings": [[...]] } } ], "fields": [{ "name": "municname", "type": "esriFieldTypeString", "alias": "MUNICNAME", "length": 100, "defaultValue": "", "modelName": "MUNICNAME" } ], "geometryType": "esriGeometryPolygon", "spatialReference": { "wkid": 102100, "latestWkid": 3857 }, "objectIdFieldName": "objectid_12", "hasZ": false, "hasM": false }
... View more
08-26-2020
04:03 AM
|
0
|
0
|
1382
|
|
POST
|
Good Day Michael, To answer your question why are you not getting all the records? This is because there is a limit on the records that you can query at one time, the reason behind this is simple because it is quite heavy to query all the records in a table at one time. Then using the Rest API's is quite complex if possible try using the Python API for ArcGIS it is free index | ArcGIS for Developers To Answer your question you have to step trough the data E.G query record 1-4000 then 4001 to 8000 you can achieve this in REST as well in python you can do this as follows the below code will iterate trough a feature service and print out all the lines from arcgis.features import FeatureLayer from arcgis.gis import GIS class BuildPacks: def __init__(self, list_of_items, pack_size=500😞 self._list_of_items = list_of_items self._length = self._list_of_items.__len__() self._pack_size = pack_size self._packs = None def build_packs(self😞 if self._length > self._pack_size: self._packs = int(self._length / self._pack_size) for pack in range(self._packs): idx_start = pack * self._pack_size idx_end = idx_start + self._pack_size yield self._list_of_items[idx_start:idx_end] idx_start = self._pack_size * self._packs remainder = self._length - idx_start if remainder > 0: yield self._list_of_items[idx_start:self._length] else: yield self._list_of_items gis = GIS("https://www.arcgis.com", "username", "password") con = FeatureLayer("https://serviceurl/server/rest/services/Hosted/myservice/FeatureServer/0", gis) rows = con.query(return_ids_only=True) # gets all the ids in a table row_ids = rows['objecIds'] packs = BuildPacks(row_ids) # builds packs of 500 # Quries 500 records at a time for pack in packs.build_packs(): id_strings = [str(x) for x in pack] records = con.query(where=f'ObjectId IN ({id_strings})') #e.g "ObjectId IN (01234,01235)" # this is standard SQL for record in records.features: print(record.__dict__) #prints the records
... View more
08-24-2020
10:33 PM
|
0
|
1
|
1382
|
|
POST
|
Hi Jay, Thank you for the update, I have not come across this specific issue before and your feedback helps a lot there where major changes between 10.4.x and post 10.5.x I am thinking that is where it slipped in. This information is very helpful. Kind Regards Henry
... View more
02-25-2020
10:00 PM
|
0
|
1
|
1443
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-16-2025 09:33 PM | |
| 1 | 10-30-2024 05:58 AM | |
| 1 | 02-15-2024 10:09 PM | |
| 1 | 07-23-2024 10:07 PM | |
| 2 | 05-02-2024 09:53 PM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|