|
POST
|
There's map service cache and then local display cache in ArcMap, which is only relevant for cached map services. I would check the service properties it it's cached, as Rebecca Strauch, GISP mentioned and clear the ArcMap local display cache if need be following instructions at the end of the documentation page.
... View more
04-28-2017
02:49 PM
|
1
|
4
|
2156
|
|
POST
|
Do you have any settings within the load balancer to keep sessions alive? Perhaps it's retaining a connection to the service, preventing the process from fully being destroyed.
... View more
04-28-2017
11:51 AM
|
0
|
3
|
1622
|
|
POST
|
What URL did you use to access the web adaptor when registering it with your Server? Have you tried to set a web context URL that points to https://test-fortress.wa.gov/agr/gis? I've never tried to set with with two "contexts", (agr and gis), but it may work. You basically need to tell Server that there's a URL that it should use to return responses with.
... View more
04-28-2017
09:18 AM
|
0
|
0
|
1164
|
|
POST
|
This is a good idea to submit as an enhancement, as there isn't as easy way to do this outside of python. If you were familiar with Python, you can get the properties for the service prior to publishing, publish the new service, and apply the original settings. You can also modify the SD draft file as it's XML and update whatever settings you need to.
... View more
04-28-2017
09:15 AM
|
0
|
0
|
843
|
|
POST
|
I would run Fiddler when you try to make a connection and see what specific request fails. ArcMap uses the trusted certificate store that IE and Chrome use, (even though Chrome is a bit more picky about certificates), so if you don't see any certificate errors when using IE, then ArcMap should have no problem. Anyway, Fiddler will be a good tool to use for the Unable to connect error. We may get to a point where contacting Technical Support will get you a quicker resolution to the problem, as this may require a bit of troubleshooting.
... View more
04-27-2017
11:23 AM
|
0
|
1
|
2223
|
|
POST
|
Do you see certificate errors when reaching the portal through https in a browser? If so, what are they? The example below is from Chrome and it's a certificate mismatch error:
... View more
04-27-2017
09:19 AM
|
0
|
3
|
2223
|
|
POST
|
This is a client side problem, so on the machine running ArcMap. What specific URL does it redirect to? Did you use Cloud Builder to create the portal or did you install Portal yourself on an Azure machine?
... View more
04-26-2017
05:05 PM
|
0
|
0
|
2223
|
|
POST
|
Is IE Enhanced Security Configuration turned on? Go to Server Manager > Local Server and on the right side, you'll see the option. If it's On, turn it Off and try again.
... View more
04-26-2017
03:24 PM
|
0
|
2
|
2223
|
|
POST
|
What about using Summarize Statistics? The first example appears to summarize the SHAPE_LENGTH field into an output table.
... View more
04-25-2017
02:19 PM
|
2
|
1
|
3254
|
|
POST
|
Is that geocoder set as your geocode utility service?
... View more
04-25-2017
01:15 PM
|
0
|
0
|
1368
|
|
POST
|
Unfortunately, there's no way to retrieve the valid tokens. Your best bet is to increase the logging level, which should give you information about which users are requesting services.
... View more
04-25-2017
10:55 AM
|
0
|
0
|
932
|
|
POST
|
So if you were to go to each rest endpoint through 6443 or 6080, one machine would show one thing and the other would show something different? If you restart the Server that isn't showing the right information, then it's likely it's a cache related issue that will be fixed at 10.5.1.
... View more
04-25-2017
10:46 AM
|
0
|
0
|
1277
|
|
POST
|
It's possible by creating a token, getting the list of services, looping through each service, grabbing the min/max instances, adding them to a counter, and getting the list of folders, getting the list of services in each folder, looping through each service, and grabbing the min/max instances, and adding them to a counter as well: import urllib2, urllib, json, ssl
#Avoids self signed certificate errors
ssl._create_default_https_context = ssl._create_unverified_context
baseURL = 'https://<machine>.<domain>.com:6443/arcgis'
psaUsername = '<username>'
psaPassword = '<password>'
#Function to open URLS
def openURL(url,params):
encodedParams = urllib.urlencode(params)
response = urllib2.urlopen(url,encodedParams).read()
jsonResponse = json.loads(response)
return jsonResponse
serverAdminURL = "{0}/admin".format(baseURL)
tokenURL = '{0}/tokens/generateToken'.format(baseURL)
#Generates an admin token
tokenParams = dict(username=psaUsername,password=psaPassword,client='requestip',f='json')
token = openURL(tokenURL,tokenParams)['token']
rootServicesURL = "{0}/services".format(serverAdminURL)
adminParams = dict(token=token,f='json')
#Starts the min/max counters
totalMinInstances = 0
totalMaxInstances = 0
#Gets services in the root directory
rootServices = openURL(rootServicesURL,adminParams)['services']
#Loops through services
for service in rootServices:
serviceName = service['serviceName']
serviceType = service['type']
serviceURL = "{0}/{1}.{2}".format(rootServicesURL,serviceName,serviceType)
#Gets service information
serviceInfo = openURL(serviceURL,adminParams)
minInstances = serviceInfo['minInstancesPerNode']
maxInstances = serviceInfo['maxInstancesPerNode']
#Adds min/max instances to counters
totalMinInstances += minInstances
totalMaxInstances += maxInstances
print("Service {0} is configured with {1} min instances and {2} max instances.".format(serviceName,minInstances, maxInstances))
#Gets folders
rootFolders = openURL(rootServicesURL,adminParams)['folders']
for folder in rootFolders:
#Optionally go through System and Utilities folders, (you'll need to uncomment the line and fix the indentation)
#if not folder in ['System','Utilities']:
folderURL = "{0}/{1}".format(rootServicesURL,folder)
#Gets services in folders
servicesInFolders = openURL(folderURL,adminParams)['services']
#Loops through services in folders
for service in servicesInFolders:
serviceName = service['serviceName']
serviceType = service['type']
serviceURL = "{0}/{1}/{2}.{3}".format(rootServicesURL,folder,serviceName,serviceType)
#Gets service information
serviceInfo = openURL(serviceURL,adminParams)
minInstances = serviceInfo['minInstancesPerNode']
maxInstances = serviceInfo['maxInstancesPerNode']
#Adds min/max instances to counters
totalMinInstances += minInstances
totalMaxInstances += maxInstances
print("Service {0}/{1} is configured with {2} min instances and {3} max instances.".format(folder, serviceName,minInstances, maxInstances))
#Returns min/max instances.
print("Total minimum instances: {0}".format(totalMinInstances))
print("Total maximum instances: {0}".format(totalMaxInstances))
... View more
04-25-2017
10:42 AM
|
2
|
2
|
2203
|
|
POST
|
I'm surprised that this would be a Portal HA problem, as the failure is being returned from Server and the Publishing Tools GP service. Can you take a look at the dev tools or Fiddler and see what the JSON response of the request is? I assume you don't have a field called "old_mxu" already in the hosted feature service?
... View more
04-24-2017
01:51 PM
|
0
|
2
|
1277
|
|
POST
|
That's written in Python. It sounds like there's some variability in the value, which will make your logic a bit complex. It's too bad the SURVEYNUMBER values aren't spread across three separate fields, which would make it easy to concatenate into one label expression. Anyway, here's something that has worked for a few of the examples you provided: def label(string):
firstLine = string.split("-")[0]
intVals = []
for x in range(2,len(string)):
if string[x] in ["0","1","2","3","4","5","6","7","8","9"]:
intVals.append(x)
start = min(intVals)
end = max(intVals) + 1
secondLine = string[start:end]
if len(string.split("-")) > 2:
thirdLine = string.split("-")[2]
elif len(string.split("-")) == 2:
thirdLine = string.split(secondLine)[1]
else:
thirdLine = ""
returnLabel = "{0}\n{1}\n{2}".format(firstLine,secondLine,thirdLine).rstrip("\n")
print(returnLabel)
return returnLabel I tried the following labels: myString1 = "G-1320Ab" myString2 = "G-1320" myString3 = "G-132" myString4 = "A-3035-I" myString5 = "A-3035-II" All came back as I think you'd like. The function is the equivalent of the FindLabel function in the examples. You won't need the print statement on line 17, I was just doing that to verify what was returned.
... View more
04-20-2017
12:56 PM
|
0
|
0
|
1982
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-28-2026 06:05 AM | |
| 1 | 08-26-2016 10:10 AM | |
| 2 | 02-22-2024 07:22 AM | |
| 1 | 06-07-2024 07:11 AM | |
| 4 | 12-12-2024 08:52 AM |
| Online Status |
Offline
|
| Date Last Visited |
06-08-2026
07:43 AM
|