POST
|
Hi Mario I am not sure, but usually the reg keys are the same for the version you would deploy, my guess is that something just went wrong on windows that prevented the removal of the key, the location where you found the broken key is interesting. But I am glad you where able to find the problem and get the system back up. Kind Regards Henry
... View more
07-15-2022
08:05 AM
|
0
|
0
|
620
|
POST
|
Hi @MarioBruschi, I had the same problem the other day, but was jour data store working before the upgrade ? if yes, then it is probably a broken registry key, you will have to go look for it in the register and delete it they are located here under regedit HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ If you have a look at you add remove programs and it is not there but it is in the register then that is definitely the case. NB please make backups right click and export they key before deleting anything The key you are look for is {45E1C306-B1AB-4AE5-8435-818F0F9F8821} or ArcGIS datastore 10.8.1 just delete it as shown above. Regards Henry
... View more
07-14-2022
09:11 AM
|
0
|
3
|
643
|
POST
|
Hi @RobStauder, You can check you datastore cert by opening the url https://localhost:2443/arcgis/datastore then looking at the cert info. You have two problems your ArcGIS Server is not functioning correctly and your Datastore is not validating. First make a backup of the system Then can you go to services and look which service account is running your ArcGIS server then reapply the security rights on the folder structure at c:\program files\arcgis\server and the location of you configstore c:\arcgisserver or d:\arcgisserver... Service account config-store Program Files right click and open server properties then security and your service account make sure it has full control on these folders, there is a new Windows policy that changes the service account to read only. after you have applied this you can check if your ArcGIS server is functioning. Then there might be a partial file that has been created during your failed publishing go to C:\arcgis\arcgisserver\config-store\services\Hosted and see if you can see anything also your rest and services will not work if this is the case https://dns:6443/arcgis/rest Datastore if you can make a backup then @Ikebana suggestion will work and do a nice clean rebuild of datastore but your ArcGIS server must be in a working state. You can also try the following go to server manager and unregister the datastore then re-register it on https://dns:2443/arcgis/datastore you only have to unregister relational NB did you make the backups using the https://dns:6443 admin url if it still fails then go to the tool "C:\Program Files\ArcGIS\DataStore\tools\unregisterdatastore.bat" and try the 2443 url again If it still fails then the only option left is to restore the backup to create the backups run "C:\Program Files\ArcGIS\DataStore\tools\backupdatastore.bat" --store relational and "C:\Program Files\ArcGIS\DataStore\tools\backupdatastore.bat" --store tileCache please make sure that they did actual make a backup in the backup location and something like this for relational to restore uninstall ArcGIS datastore and remove all the files except backup in c:\arcgisdatastore or your location relational then edit and run these commands "C:\Program Files\ArcGIS\DataStore\tools\restoredatastore.bat" --store relational --target most-recent --source-loc D:\arcgisdatastore\backup\relational --data-dir D:\arcgisdatastore --server-url https://dns:6443/arcgis --server-admin adminuser --server-password adminpassword --loaddata true --prompt no tileCache "C:\Program Files\ArcGIS\DataStore\tools\restoredatastore.bat" --store tileCache --target most-recent --source-loc D:\arcgisdatastore\backup\tilecache --data-dir D:\arcgisdatastore --server-url https://dns:6443/arcgis --server-admin adminuser --server-password adminpassword --loaddata true --prompt no don't copy and past the above string type it out please you might get encoding problems Regards Henry
... View more
03-02-2022
08:27 PM
|
0
|
0
|
4266
|
POST
|
Hi @JimSaundersJr how far did you get with the deployment ? When you open your site https://saundersintl.net/portal/webadaptor on the server do you see the webadaptor configuration page ? have you configured them like this ArcGIS Server ArcGIS for portal You can make the host file entry but before you install ArcGIS for portal and never change it after the fact. Can you check the log file name under c:\arcgisportal\logs or where you installed ArcGIS for portal what is the name is it saundersintl.net if not make the host file entry and uninstall portal clean out c:\program files\arcgis\portal and reinstall portal NB if this is a clean install. can you confirm that the webadaptors are reflecting under your website you want to see server and portal in here I noted that you have a website also running on this url in the root, this can cause conflicts if yes can you move your personal website to a folder. if you are open to it call it something like home, then your website would be https://saundersintl.net/home otherwise you will have to make a redirect with url re-writes to the home folder if you want to preserve https://saundersintl.net Is ArcGIS Enterprise up on the server if you open https://saundersintl.net:6443/arcgis/manager and https://saundersintl.net:7443/arcgis/home do you see websites? Please let me know what is working or not and I will guide you trough the steps, first lets get it working on your server then we will worry about the rest, but I think when it is working then you will be good to go. Kind Regards Henry
... View more
02-27-2022
09:04 PM
|
0
|
3
|
535
|
POST
|
Hi @EricaPfister , this is how you do it in ArcGIS API I don't use the user.search because if there is a corrupt profile the whole query fails. This script will iterate trough each user and skip broken profiles. import arcgis url = "https://url.com/portal" admin_user = 'username' password = 'password' con = arcgis.gis.GIS(url, admin_user, password, verify_cert=True) user_manager = arcgis.gis.UserManager(con) users_count = user_manager.advanced_search(query="0123456789ABCDEF AND !_esri", return_count=True) for user_num in range(1, users_count+1): try: user = user_manager.advanced_search(query="0123456789ABCDEF AND !_esri", start=user_num, max_users=1) print(user) print(user['results'][0].username) except Exception as e: print(f"User {user_num} failed") Hope it Helps Regards Henry
... View more
11-05-2021
12:07 AM
|
3
|
0
|
1676
|
POST
|
Hi @JoelKyereNNimarko, in IIS your IWA Integrated windows authentication is turned on on the arcgis webadaptor this should just be turned on for portal webadpator if you just have the one you should install another one as this is best practice currently. go to the webadpator in iis click on authentication and turn on anonymous authentication and turn off windows authentication Hope it helps Regards Henry
... View more
10-27-2021
07:04 AM
|
1
|
0
|
357
|
POST
|
Hi @DeanHowell1, @SamuelGould So I have seen a few scenarios where collaboration fails. - Poor network connectivity. - If you have more than +- 70 items in your collaboration, this is probably because of the size limit, there is a 1GB file limit and 5GB size limit on the replication package you can see this under update info in portal sharing rest of the collaboration owner. I created multiple workspaces to get around this. - Integrated Windows Authentication can also be a problem if the service account password changes. - Schema changes will also break items in the collaboration e.g. adding a column or turning sync on and off Hi @AdamBakiera, I am not sure about your question, Mostly just work on ArcGIS Enterprise Core Deployments and that would be controlled by the Esri.Inc team. Hope it Helps Regards Henry
... View more
10-27-2021
06:54 AM
|
0
|
0
|
1508
|
POST
|
Hi @HeatherScroggins, ok it is what it is :). so I created to Microsoft SQL 2016 instances and did the following tests test service is working Here you see the old connection change data source in ArcGIS server shut down the old SQL, tested and the records pulled thru. Here is the new connection The records are pulling thru But here is the crux the metadata does not update and you have broken mxd in mapx files in your arcgisinput folder (which if your server crashes is often used to rebuild the services or say you left and the new person needs to work with the data) for example if you work for a large company with a 100 SQL databases and say your datastore connection gets deleted and this is two years down the line with a new GIS Practitioner how will this person fix the problem? I hope this gives you better insights and welcome further discussion on this: Kind regards Henry
... View more
10-19-2021
09:33 AM
|
0
|
0
|
2304
|
POST
|
Hi@HeatherScroggins , so try and convince the IT to maintain the name please because it will be a major headache to fix. on desktop you are sorted and I think on server manager you are sorted just edit the connection and import the new connection the problem is the services the "mxd and mapx (ArcGIS Pro)" that little database next to your service idicatd the data source so the change will break all you services. You can run the script below on the server it will write the required metadata into a csv you look for onServerConnectionString if it points to your db then you will need to reconfigure and republish this mxd or mapx service. the mxd ... will be located here for arcgis pro here e.g. where you installed ArcGIS Server "D OR C OR where you installed it :\arcgisserver\directories\arcgissystem\arcgisinput\province_lds.MapServer\extracted\p20\Updated_province_lds.mapx" ArcGIS Desktop "D:\arcgisserver\directories\arcgissystem\arcgisinput\province_lds.MapServer\extracted\v101\Updated_province_lds.mxd" you pull out these services fix the data source and override the service. let me know if you have a million services I have another script that can rewrite mxd data sources. Hope it Helps Henry
... View more
10-18-2021
10:32 PM
|
0
|
0
|
2312
|
POST
|
Hi @ArranGIS, the datastore is probably still reverencing the old url all you do is re-register it. Go to https://your_url.co.za/webadaptor_name/manager/site.html then datastore and click on the x for relational and tile cache if present. Then go to the server that datastore is installed on and reregister the datastores This is the admin password for ArcGIS server go to the describe tool when you are done and run it in a administrative command prompt the new URL's should reflect "C:\Program Files\ArcGIS\DataStore\tools\describedatastore.bat" or where you installed the datastore app. Kind Regards Henry
... View more
10-15-2021
01:26 AM
|
0
|
0
|
1569
|
POST
|
Hi @ArranGIS, you should not unfederate your ArcGIS Server because when you federate to the same ArcGIS server again all the items in ArcGIS Server will be re-added with new itemid's and this causes havoc to permissions links etc. what you should do if you changed the webadaptor name is to reconfigure your federation to use the new name and update all the url's in the system with something like ago-assistant. so if you don't have a backup of the server to repair the damage you will need to go to the answer below: if you have backups and you would like to repair the federation let me know and I will help. Answer: https://your_name.co.za/portal/sharing/rest login https://your_name.co.za/portal/sharing/rest/portals/0123456789ABCDEF/servers click on the server id and UnRegister Server Hope It Helps Henry
... View more
10-13-2021
06:55 AM
|
1
|
2
|
1674
|
POST
|
Hi @MohammedElsayed, let me get some history is everything installed on one server or multiple servers ? on the server you can try https://localhost:7443/arcgis/portaladmin/federation/servers if this is the server that portal is installed on. or perhaps https://onesourcemei.fugro.com:7443/arcgis/portaladmin/federation/servers or https://onesourcemei.fugro.com/arcgis/portaladmin/federation/servers or https://onesourcemei.fugro.com/portal/portaladmin/federation/servers have a look at your programs and features the web adaptors will be listed there If you go to add remove programs is ArcGIS Data Store installed ?
... View more
09-22-2021
03:10 AM
|
1
|
0
|
2162
|
POST
|
Hi @MohammedElsayed can you log onto the server ? if yes go to the equivalent url https://yourdns.com/webadaptorname/portaladmin/federation/servers click on the name and then validate and have a look at the error there ArcGIS datastore needs to be registered with https://yourdns.com:2443/arcgis/datastore on your server. you can also in a administrative command prompt check if datastore has a problem by running this command "C:\Program Files\ArcGIS\DataStore\tools\describedatastore.bat" Hope it helps Henry
... View more
09-22-2021
02:38 AM
|
1
|
3
|
2181
|
IDEA
|
Hi @VMASK It is not available out of the box, but easy to achieve in a script using python https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#user ‘’’ import arcgis import datetime con = arcgis.gos.GIS("https://service.url", "admin_user", "admin_psw", verify_cert=True) users = ["username_a", "username_b", "username_c"] while True: hr = datetime.datetime.now().hour if hr > 6 and hr < 18: for user in users: pass selected_user = arcgis.gis.User(con, user) selected_user.disable() else: for user in users: pass selected_user = arcgis.gis.User(con, user) selected_user.enable() time.sleep(60) #seconds ‘’’
... View more
09-09-2021
08:36 AM
|
0
|
0
|
584
|
POST
|
Hi @NickShannon2, I have added a script to delete data, I usually break it up into packs of 2000, queries are very dependent on network performance. Just unzip the scripts into a python project an install ArcGIS for python pip install arcgis the script you want to fill in is trunk_data.py then on line 42 fill in your server details and point to the service in agol you can get the service url details if you navigate to overview then url, you add /0 if there is only one service /1, /2 for the next etc.
... View more
09-09-2021
02:52 AM
|
1
|
1
|
1379
|
Title | Kudos | Posted |
---|---|---|
1 | 03-05-2024 09:39 PM | |
1 | a week ago | |
1 | 2 weeks ago | |
1 | a month ago | |
1 | a month ago |
Online Status |
Offline
|
Date Last Visited |
yesterday
|