|
POST
|
To All AGS Administrators and Users: I had a bat file that remotely stopped AGS geocode services before the associated Address Locators were rebuilt on a weekly basis. I was using psexec to call AGSSOM.exe from a remote server. This worked without any issues when I was using Windows Server 2003. I have upgraded my server environment to Windows Server 2008 and now the geocode services do not always get remotely stopped so I cannot rebuild the Address Locators due to AGS locks on the Address Locator. Has anyone experienced any issues similar to this? Is there another method that can be employed (possibly through python) to remotely stop the geocode services in place of the psexec software and AGSSOM.exe? Any help or hints are greatly appreciated. Thank you.
... View more
03-22-2013
06:51 AM
|
0
|
7
|
3098
|
|
POST
|
Here's the Help for 10.0 for the Point Distance Tool http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00080000001r000000 Sample from this page # Description: Finds distance of each near point from each input point and outputs to a table. # import system modules import arcpy - You would need to reference gp object in 9.3 instead of newer arcpy object (same thing goes for all other references to arcpy in this sample script) # set workspace environment arcpy.env.workspace = "C:/data/pointdistance.gdb" # set variables in_features = "police_stations" near_features = "crime_location" out_table = "crime_distance4" search_radius = "22000 Feet" try: # find crime locations within the search radius arcpy.PointDistance_analysis(in_features, near_features, out_table, search_radius) print arcpy.GetMessages(0) except arcpy.ExecuteError: print arcpy.GetMessages(2) except Exception as ex: print ex.args[0]
... View more
03-22-2013
05:58 AM
|
0
|
0
|
2206
|
|
POST
|
I do not see fine as an option (unless this is new to 10.1). Would this be equivalent to Normal in 10.0?
... View more
03-21-2013
12:28 PM
|
0
|
0
|
1619
|
|
POST
|
Is it possible for you to upgrade to 10.0 or 10.1? Python has more functionality than in 9.3.
... View more
03-21-2013
11:26 AM
|
0
|
0
|
2206
|
|
POST
|
Why is this even necessary? You can put your code outside your loop and carry over the values from the last iteration. Thanks mzcoyle. With this hint I can cleanup some of my extraneous coding.
... View more
03-21-2013
05:21 AM
|
0
|
0
|
18077
|
|
POST
|
What are the chances that you can upgrade your users to 10 or 10.1 so you could use a compact cache instead of an exploded cache? If possible, you might want to perform this task instead of trying to find the problem with the exploded cache not creating tiles.
... View more
03-21-2013
05:00 AM
|
0
|
0
|
2804
|
|
POST
|
Are you sure if index ==len(fclist)-1: does not work? This is syntax that I use in my own python script and it captures the last iteration of a loop. Maybe it is other code that is the problem.
... View more
03-21-2013
04:56 AM
|
0
|
0
|
18077
|
|
POST
|
GIS Dev: I have my logging set to verbose. Could you at least share the size of your log file and the logging level that you are employing, just so I have another AGS environment to compare mine to (at least at the log size level)?
... View more
03-20-2013
10:15 AM
|
0
|
0
|
1619
|
|
POST
|
Bumped up again I was able to get log file sizes from a private organization that has semi-public secured services (Somewhat different environment from more public local government). This organization's log files average about 10MB/day which is less than half of my organization's average log file size. Again, all I am looking for are log file sizes for ArcGIS Server along with a brief description of ArcGIS Server architecture (e.g. multiple SOC machines), so I can compare the load on my ArcGIS Server environment with other organizations to gauge how close I am to overloading the current system.
... View more
03-20-2013
07:15 AM
|
0
|
0
|
1619
|
|
POST
|
Thanks Robert. I copied the widget to another clean flex app and it worked as expected. Do you think it would be possible to modify the Route Widget so a user could choose from the old routing service (no AGOL account required) and the new routing service (AGOL account required) from a drop-down list that is populated from the config file? In this way, a user could still use an outdated routing service if they did not have an AGOL for Organizations account.
... View more
03-19-2013
11:32 AM
|
0
|
0
|
962
|
|
POST
|
Robert: I am using the 3 urls without https and I am still getting the FlexViewer hang on the initiation of the Route widget. When I remove the Route widget, the application loads as expected. Could it be the crossdomain.xml file that could be causing problems loading the route and geocode services? This is my crossdomain.xml which seems pretty wide open to me. <?xml version="1.0"?> <!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd"> <cross-domain-policy> <site-control permitted-cross-domain-policies="all"/> <allow-access-from domain="*" secure="false"/> <allow-http-request-headers-from domain="*" headers="*" secure="false"/> </cross-domain-policy>
... View more
03-19-2013
10:38 AM
|
0
|
0
|
962
|
|
POST
|
Robert: Are these the 3 lines of code in the xml that I should be using? <routetasksolver>http://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World</routetasksolver> <reversegeocode>http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer</reversegeocode> <singlelinegeocode>http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer</singlelinegeocode> I do not need to use https in the URL? I thought these were secured AGOL for Organizations services.
... View more
03-19-2013
09:29 AM
|
0
|
0
|
962
|
|
POST
|
Thanks for the update Robert. I have replaced Route Widget Build 3.1 with your new Build 3.1.1 version. Unfortunately, now I can the progress clock to appear when the Flex App is loading and it is not going away. Any idea why this would be occurring? I cleared the local browser cache and I analyzed traffic with Fiddler, but nothing jumps out as a problem.
... View more
03-19-2013
07:29 AM
|
0
|
0
|
1076
|
|
POST
|
Brett: What kind of logging do you have in place to trap the error? Are you sending e.Message via an E-mail alert or printing out e.Message to a log file? I am using an E-mail alert that conatins e.Message in the BODY of the E-mail alert.
... View more
03-19-2013
07:07 AM
|
0
|
0
|
961
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-19-2024 10:38 AM | |
| 1 | 2 weeks ago | |
| 1 | 02-23-2026 05:32 PM | |
| 2 | 02-11-2026 10:42 AM | |
| 1 | 12-22-2025 10:08 AM |
| Online Status |
Offline
|
| Date Last Visited |
yesterday
|