POST
|
True, but it would be on ESRI to update the dependencies of ArcGIS Enterprise for Windows then as it is a required dependency if you want to run it on Windows servers. It’s not really in the customers’ hands at the moment unless a customer wants to move their deployment to Linux instead of Windows.
... View more
3 weeks ago
|
1
|
0
|
282
|
POST
|
Thanks Cody. I went ahead and tried it out on our dev server and it worked. For anyone looking, these are the steps I followed and our Enterprise setup specs: Enterprise 11.2 - single machine deployment Windows Server 2022 IIS 10 You may want to install any ArcGIS Enterprise patches or any system patches/updates your IT managers have pushed that are lingering. I did. Make sure you have proper backups of your Enterprise site, portal, etc. Take any server snapshots you might want. Download Microsoft Web Deploy 4.0 from the official website. Open Windows Services and stop running ArcGIS Services (for me these were ArcGIS Data Store, ArcGIS Server, and Portal for ArcGIS). Open Control Panel > Uninstall Programs > Uninstall Microsoft Web Deploy 3.6 Double click your downloaded web deploy v.4.0 file and install it. I chose to install the "Typical" configuration. Once it's completed install, open IIS manager and restart your web server. Open Windows Services and restart all your ArcGIS Services. I did it in this order, but I don't know if order matters: ArcGIS Data Store, ArcGIS Server, Portal for ArcGIS. I waited 15 minutes for all that stuff to restart and boot up fully, then checked that my manager URL, portal URL, REST services URL all worked with my web adaptors. I also checked that some web applications built in AGOL that consume those REST services could load the layers. All was fine, so I repeated the process on prod.
... View more
4 weeks ago
|
2
|
3
|
447
|
POST
|
I have it working with Microsoft Web Deploy v. 3.6, but I am required to upgrade to 4.0 due to the security issues found with web deploy 3.6 (CVE-2025-53772). The 11.2 Enterprise docs state Microsoft Web Deploy 3.6 should be used and gives no indication on whether or not upgrading this package allowed. Anyone have any insight to share?
... View more
4 weeks ago
|
0
|
5
|
513
|
DOC
|
Appreciate this script - I had to make a small edit to WEBGISDR_Export_Full.py because in our webgisdr.properties file we specify "backup" instead of "full" or "incremental" which breaks the logic of moving backups to the previous folder. This is because the final names of the backups are like YYYYMMDD-hhmmss-BACKUP.webgissite instead of YYYYMMDD-hhmmss-FULL.webgissite. I'm not sure what it would look like for incremental, but I would assume it would be YYYYMMDD-hhmmss-INCREMENTAL.webgissite. I did not alter the script to handle that case, but you may want to. webgisdr.properties # Specify the Web GIS backup restore mode: backup, full or incremental. Default is backup.
# This is really something like line 28 in the webgisdr.properties file.
BACKUP_RESTORE_MODE = backup WEBGISDR_Export_Full.py # Line 29 is where I made the change in the actual file
for file in os.listdir(backupDirectory):
if 'FULL' in file or 'BACKUP' in file:
shutil.move(os.path.join(backupDirectory, file), os.path.join(previousBackups, file))
... View more
03-18-2025
10:45 AM
|
0
|
0
|
6138
|
POST
|
I've been out of the ArcGIS arena for a while now and upon my return, I am wondering if file paths can now have spaces in them without causing problems for geoprocessing tools? A lot of our data is kept in Dropbox or OneDrive for our organization and enterprise installations of those tools always have spaces in the folder name, like "Dropbox (OrgName)" or "OneDrive - OrgName". Is ArcGIS Pro able to handle things like this now or do I need to move everything out of these folders?
... View more
02-27-2024
06:48 AM
|
1
|
4
|
2993
|
POST
|
In this scenario - if not sde, who would have the db_owner role? The non-domain account you create to own the data?
... View more
01-17-2024
08:13 AM
|
0
|
1
|
2573
|
POST
|
I am doing a lot of reading about how to properly set up and configure user accounts in an SQL Server instance of an enterprise geodatabase, namely these three documents: https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/manage-sql-server/user-accounts-groups.htm https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/manage-sql-server/add-users-sqlserver.htm https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/manage-sql-server/privileges-sqlserver.htm We will be implementing an SDE-schema geodatabase. The SDE user will only be responsible for system tables and updates (and have the db_owner role). They will not be loading data and I'm trying to figure out how to create a "headless" user for that purpose. That way, if someone leaves our organization, the data sitting in our database isn't directly tied to that person's login. I believe this is possible, but I'm struggling to wrap my head around how SQL Server logins vs database users (and schemas) work. This is what I'm envisioning. I would like a user on the database that can create and "own" all the data, this is called "DataOwner". There are three people who have their own logins, Billy, Bob, and Joe. I think those logins should be mapped to DataOwner so whenever they login, if they create a new feature class, it ends up being named MyGISData.DataOwner.FeatureClassX. If I included making different roles for creation, editing, and viewing data, the diagram would end up looking more like this. You could have any number of SQL server logins mapped to a database user which is mapped to a role that has a particular set of privileges: Is this possible? Is it advisable? If it's not, how do you get ahold of the data owned by someone else when that person leaves the organization? Or are people just creating logins and users like below and just letting multiple people use the same credentials (doesn't seem like a good security practice)? I think most people set up their database something like this, but then you wind up with ownership of feature classes being tied to specific person which I'm trying to avoid:
... View more
12-07-2023
06:46 AM
|
1
|
5
|
2850
|
POST
|
I'm trying to figure out if this is possible, and if so, is it advisable or is it better to have two separate web servers, one for dev and one for prod? I've been reading Install Multiple ArcGIS Web Adaptors and it sounds like one website can have multiple web adaptors, but the thing that isn't clear to me is that if each web adaptor can be pointing to different server sites or can multiple web adaptors only be used if all those web adaptors are pointing to the same server site? This is what I am thinking of doing, but can't figure out if it's possible (and advisable):
... View more
12-04-2023
09:21 AM
|
0
|
3
|
1467
|
POST
|
Nope, I never was able to solve this. Any chance you’re using a mixture of local and domain accounts for using your ArcGIS Pro installation and ArcGIS Enterprise services? I have since left the position where I had this problem, but I worked remotely, had to use a local account on my computer and go through a VPN where I did stuff in Pro. I then tried to publish services where our server was run by a domain account and I think this caused a lot of weird issues for me. ESRI tech support claimed my mixed account types was the problem when I found I was unable to register folders, so I wonder if my mixture of account types played into this problem too. If your publishing attempt is failing the exact same way mine was (the debug log says the same as what I denoted), after the job fails, maybe try running the Manage Map Server Cache Tiles tool directly and see what happens? That’s the tool the debug log says is failing during publishing and it is a tool that can be run by itself in Pro. I can’t remember if I tried that.
... View more
08-16-2023
05:11 PM
|
1
|
0
|
1847
|
POST
|
It does match. In my config I use https://www.mydomain.com/* So that's all the referrer in the request header needs to match, correct? The asterix at the end should take care of the rest.
... View more
11-22-2022
08:15 AM
|
0
|
1
|
2478
|
POST
|
My website used to work, but now it no longer does. I have a custom web map set up with a proxy and I recently tried to publish it after moving our website to a new server and now it's giving me this error message: {"error": {"code": 403,"message":"403 - Forbidden: Access is denied.","details":["message":"Current proxy configuration settings do not allow requests which do not include a referer header."]}} I have my proxy code set up like this: In the javascript web map file: //Set up the proxy to forward requests for data/geoprocessing tools
urlUtils.addProxyRule({
urlPrefix: "https://www.mydomain.com",
//For production environment (publishing)
proxyUrl: "/myAppName/proxy/proxy.ashx"
}); In my proxy.config file: <ProxyConfig allowedReferers="https://www.mydomain.com/*"
mustMatch="true"
logFile="proxyLog.txt"
logLevel="Warning">
<serverUrls>
<serverUrl url="https://www.mydomain.com/webadaptor/rest/services/HabitatManagement/HabitatManagement/GPServer"
username="username"
password="password"
matchAll="true"/>
<serverUrl url="https://www.mydomain.com/webadaptor/rest/services/HabitatMonitoring/HabitatData/MapServer"
username="username"
password="password"
matchAll="true" />
<serverUrl url="https://www.mydomain.com/webadaptor/rest/services/HabitatMonitoring/HabitatClassification/GPServer"
username="username"
password="password"
matchAll="true" />
<serverUrl url="https://www.mydomain.com/webadaptor/rest/services/PrintHabitatMaps/PrintHabitatMap/GPServer"
username="username"
password="password"
matchAll="true" />
<serverUrl url="https://www.mydomain.com/webadaptor/rest/services/ShipData/ShipData/GPServer"
username="username"
password="password"
matchAll="true" />
<serverUrl url="https://www.mydomain.com/webadaptor/rest/services/Collector/FieldMapsHbData/GPServer"
username="username"
password="password"
matchAll="true" />
</serverUrls>
</ProxyConfig> This is the request header for one of the map services trying to be reached: This is the error info: The proxyLog.txt file gives me this error. I'm don't really know anything about networks, but I don't understand why it says I have a null referer yet the request header has a value in referer??: The Proxy is being called by a null referer. Access denied.
... View more
11-22-2022
07:05 AM
|
0
|
3
|
2508
|
POST
|
I have recently published a geoprocessing service and there is a path it replaces with the correct location on the server. I use a registered folder for my data and the publisher and server locations of that folder are different; this the path the g_ESRI_variable is attempting to replace. This is what the registered folder is set up as: In my script, I have hardcoded the path needed to access files, this is the publisher folder path: workspace = r'E:\ArcGIS_RegisteredFolders_DO_NOT_DELETE\HabitatMapPrint' The g_ESRI_variable being created and used to replace the above value for the workspace variable is this: g_ESRI_variable_4 = 'D:\\RegisteredFolders_DO_NOT_DELETE\\HabitatMapPrint't' Note that it is adding t' to the end. I have no clue why, but it is causing an invalid syntax error if I try to run the geoprocessing tool from the server: These are the settings when I overwrite the service: I have also deleted the service and attempted to publish brand new, it doesn't make a difference.
... View more
10-11-2022
01:51 PM
|
1
|
0
|
669
|
POST
|
ESRI doesn't make it obvious in their documentation (yet) but there are special characters that ArcGIS picks up on and interprets as "data"... in this case it is the '<' character and I also used a placeholder for the '/' character just in case in the end FNT tag ('</FNT>'). Once I used placeholders for these characters, I was able to publish my script successfully. The ASCII character code for '<' is 60, so in the script you replace '<' with chr(60). Python has a built-in function called chr() that can interpret this to the correct symbol. I then also used the replace() function to use a placeholder character instead of '/' in my terminating FNT tag. The final code looks like this: titleItem.text = chr(60) + 'FNT name="Arial" size="' + str(fontSize) + '">' + newTitle + chr(60) + 'xFNT>'.replace('x','/')
... View more
10-11-2022
01:23 PM
|
0
|
0
|
1604
|
POST
|
I have an older script where I set the font of some text on my map layout: titleItem.text = '<FNT name="Arial" size="' + str(fontSize) + '">' + newTitle + '</FNT>' The code runs fine, all looks good. Now I want to publish it to my server to use as a geoprocessing tool for printing semi-customized maps. I get an error when publishing saying " Data: <FNT name="Arial" size=", used by Script PrintHabitatMap cannot be copied to the server" I don't know how to circumvent this error and my searches have revealed nothing about changing the font of dynamic text in a map document. I was able to publish this service back when I was using an earlier version of Server (10.7 I think) and publishing with ArcMap, but now we're on 10.9.1 and using Pro. I do not allow copying of data to my server (and I'm not going to), but that shouldn't really be the issue here considering that what it is considering to be data isn't actually data.
... View more
10-11-2022
08:25 AM
|
0
|
1
|
1619
|
POST
|
Turns out it was a VPN/IP address issue. I work remotely and when I was logging into my work account to access my server, I have to go through our VPN. This makes the IP address moot, so when I was using the IP address as the "Publisher Folder Hostname", ArcGIS couldn't really resolve that. When I switched to using the device name (aka computer name) as the publisher folder hostname, I was able to publish my service successfully. In this case, my device name was something like "DEKSTOP-XX1234" but it could be pretty much anything. I found it by going to Settings > System > About in Windows 10. I also switched the server folder path to a local path on the server since I didn't end up using a shared network path.
... View more
09-22-2022
12:18 PM
|
1
|
0
|
1091
|
Title | Kudos | Posted |
---|---|---|
1 | 3 weeks ago | |
2 | 4 weeks ago | |
1 | 08-16-2023 05:11 PM | |
1 | 02-27-2024 06:48 AM | |
1 | 04-15-2019 09:38 AM |
Online Status |
Offline
|
Date Last Visited |
3 weeks ago
|